diff --git a/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_de.properties b/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_de.properties index 8fbca389c24..289ac4305aa 100644 --- a/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_de.properties +++ b/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_de.properties @@ -37,7 +37,7 @@ # only if the new code is made subject to such option by the copyright # holder. # -# Portions Copyright [2016-2018] [Payara Foundation and/or its affiliates] +# Portions Copyright [2016-2026] [Payara Foundation and/or its affiliates] tree.clusters=Cluster tree.dgs=Deployment Groups @@ -249,7 +249,7 @@ node.nodeTypeCol=Typ node.NewPageTitle=Neuer Knoten node.NewPageTitleHelp=Erstellen Sie einen Knoten, auf dem sich Payara Server-Instanzen befinden k\u00f6nnen. node.NodeHost=Knotenhost: -node.NodeHostHelp=Name des Hosts, den der Knoten darstellt. Wenn der Typ DCOM oder SSH lautet, ist der Knotenhost erforderlich. +node.NodeHostHelp=Name des Hosts, den der Knoten darstellt. Wenn der Typ SSH lautet, ist der Knotenhost erforderlich. node.NodeDir=Knotenverzeichnis: node.NodeDirHelp=Pfad zum Verzeichnis, das Dateien f\u00fcr Instanzen enth\u00e4lt, die auf diesem Knoten erstellt werden. Der Standardwert ist "${com.sun.aas.productRoot}/glassfish/nodes". node.sshConnectorSection=SSH @@ -268,8 +268,8 @@ node.force=Erzwingen: node.forceHelp=Gibt an, ob der Knoten auch dann erstellt wird, wenn die Validierung der Knotenparameter nicht erfolgreich ist. node.type=Typ: -## do not translate the word CONFIG, DCOM and SSH below. -node.typeHelp=Wenn der Typ CONFIG lautet, wird der Knoten nicht f\u00fcr die Remote-Kommunikation aktiviert, und die DCOM- oder SSH-Informationen werden von der Seite entfernt. Zum Erstellen von Instanzen auf einem Remote-Knoten des Typs CONFIG verwenden Sie den Unterbefehl "create-local-instance". Die Administrationskonsole kann hierzu nicht verwendet werden. +## do not translate the word CONFIG and SSH below. +node.typeHelp=Wenn der Typ CONFIG lautet, wird der Knoten nicht f\u00fcr die Remote-Kommunikation aktiviert, und die SSH-Informationen werden von der Seite entfernt. Zum Erstellen von Instanzen auf einem Remote-Knoten des Typs CONFIG verwenden Sie den Unterbefehl "create-local-instance". Die Administrationskonsole kann hierzu nicht verwendet werden. node.error.delete=Fehler beim L\u00f6schen der Knoten: {0} nodes.instanceExistError=Knoten "{0}" in Payara Server-Instanzen referenziert: {1}. Entfernen Sie die Instanzen, bevor Sie den Knoten l\u00f6schen. @@ -289,21 +289,6 @@ node.textPassword=Kennwort node.usePasswordAlias=Kennwortalias node.runSetupSSH=SSH einrichten: node.runSetupSSHHelp=Wenn dies aktiviert ist, wird ein SSH-Schl\u00fcssel f\u00fcr den SSH-Benutzer eingerichtet, wenn der Knoten erstellt wird. -node.DcomSection=DCOM -node.selectWinPasswordSelect=Windows-Benutzerauthentifizierung -node.selectWinPasswordSelectHelp=Legen Sie fest, wie der Windows-Benutzer authentifiziert wird, wenn er sich beim Host dieses Knotens anmeldet. -node.windowDomain=Windows-Domain: -node.windowDomainHelp=Die Windows-Domain, zu der der Windows-Benutzer geh\u00f6rt. -node.windowUser=Windows-Benutzername: -node.windowUserHelp=Der Benutzer, der den Prozess zur Verbindung zum Host dieses Knotens \u00fcber DCOM durchf\u00fchrt. Der Standardwert ist der Benutzer, der den DAS-Prozess ausf\u00fchrt. -node.winUserPassword=Windows-Benutzerkennwort: -node.winUserPasswordHelp=Geben Sie das Kennwort ein, mit dem sich der Windows-Benutzer bei dem Host anmeldet, den dieser Knoten darstellt. -node.confirmWinUserPassword=Kennwort best\u00e4tigen: -node.confirmWinUserPasswordHelp=Best\u00e4tigen Sie das Kennwort, das Sie in das Feld "Windows-Benutzerkennwort" eingegeben haben. -node.validateDcom=DCOM validieren: -node.validateDcomHelp=Testen Sie die Verbindung \u00fcber DCOM zum Host des Knotens, bevor Sie den Knoten erstellen oder aktualisieren. -node.remotetestdir=Remote-Testverzeichnis: -node.remotetestdirHelp=Ordner auf dem Host des Knotens, mit dem die Verbindung zum Host getestet wird. node.generateKey=Schl\u00fcssel generieren: diff --git a/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_es.properties b/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_es.properties index e77a8cd1001..57fec0ca720 100644 --- a/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_es.properties +++ b/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_es.properties @@ -250,7 +250,7 @@ node.nodeTypeCol=Tipo node.NewPageTitle=Nuevo nodo node.NewPageTitleHelp=Crear un nodo en el que puedan residir las instancias de Payara Server. node.NodeHost=Máquina nodo: -node.NodeHostHelp=Nombre de la máquina que el nodo representa. Si el tipo es DCOM o SSH, la máquina nodo es requerida. +node.NodeHostHelp=Nombre de la máquina que el nodo representa. Si el tipo es SSH, la máquina nodo es requerida. node.NodeDir=Directorio del nodo: node.NodeDirHelp=Ruta del directorio que contendrá los ficheros para las instancias creadas en este nodo. El valor por defecto es "${com.sun.aas.productRoot}/glassfish/nodes". node.sshConnectorSection=SSH @@ -269,8 +269,8 @@ node.force=Forzar: node.forceHelp=Especifica que el nodo es creado incluso si la validación de los parámetros del nodo falla. node.type=Tipo: -## do not translate the word CONFIG, DCOM and SSH below. -node.typeHelp=Si el tipo es CONFIG, el nodo no estará habilitado para comunicación remota y la información de DCOM o SSH será borrada de la página. Para crear instancias en un nodo remoto tipo CONFIG, deberás utilizar el subcomando create-local-instance. No puedes utilizar la consola de administración para este propósito. +## do not translate the word CONFIG and SSH below. +node.typeHelp=Si el tipo es CONFIG, el nodo no estará habilitado para comunicación remota y la información de SSH será borrada de la página. Para crear instancias en un nodo remoto tipo CONFIG, deberás utilizar el subcomando create-local-instance. No puedes utilizar la consola de administración para este propósito. node.error.delete=Error en el borrado de nodos: {0} nodes.instanceExistError=Nodo "{0}" referenciado en las instancias de Payara Server: {1}. Borra las instancias antes de borrar el nodo. @@ -290,21 +290,6 @@ node.textPassword=Password node.usePasswordAlias=Alias de password node.runSetupSSH=Configuración SSH: node.runSetupSSHHelp=Si está seleccionado, una clave SSH se configura para el usuario SSH cuando el nodo es creado. -node.DcomSection=DCOM -node.selectWinPasswordSelect=Autenticación de usuario de Windows -node.selectWinPasswordSelectHelp=Selecciona como es autenticado el usuario de Windows cuando se conecta a la máquina del nodo. -node.windowDomain=Dominio de Windows: -node.windowDomainHelp=El dominio de Windows al que el usuario de Windows pertenece. -node.windowUser=Nombre de usuario de Windows: -node.windowUserHelp=El usuario que ejecuta el proceso para conectar a la máquina de este nodo a través de DCOM. Por defecto es el usuario que está ejecutando el proceso del DAS. -node.winUserPassword=Password del usuario de Windows: -node.winUserPasswordHelp=Escribe la password que Windows utilizará para conectar a la máquina que este nodo representa. -node.confirmWinUserPassword=Confirmar Password: -node.confirmWinUserPasswordHelp=Confirma la password que has escrito en el campo Password del usuario de Windows. -node.validateDcom=Validar DCOM: -node.validateDcomHelp=Prueba la conexión DCOM a la máquina del nodo antes de crear o actualizar el nodo. -node.remotetestdir=Directorio romoto de test: -node.remotetestdirHelp=Directorio en la máquina del nodo para probar la conexión a la máquina. node.generateKey=Generar clave: diff --git a/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_fr.properties b/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_fr.properties index 351fb99ff6c..1771611fbae 100644 --- a/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_fr.properties +++ b/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_fr.properties @@ -37,7 +37,7 @@ # only if the new code is made subject to such option by the copyright # holder. # -# Portions Copyright [2016-2018] [Payara Foundation and/or its affiliates] +# Portions Copyright [2016-2026] [Payara Foundation and/or its affiliates] tree.clusters=Clusters tree.nodes=Noeuds @@ -200,7 +200,7 @@ node.nodeTypeCol=Type node.NewPageTitle=Nouveau noeud node.NewPageTitleHelp=Cr\u00e9ez un noeud sur lequel r\u00e9sident les instances de Payara Server. node.NodeHost=H\u00f4te du noeud : -node.NodeHostHelp=Nom de l'h\u00f4te repr\u00e9sent\u00e9 par le noeud. Si le type est DCOM ou SSH, l'h\u00f4te du noeud est obligatoire. +node.NodeHostHelp=Nom de l'h\u00f4te repr\u00e9sent\u00e9 par le noeud. Si le type est SSH, l'h\u00f4te du noeud est obligatoire. node.NodeDir=R\u00e9pertoire du noeud : node.NodeDirHelp=Chemin du r\u00e9pertoire qui contiendra les fichiers des instances cr\u00e9\u00e9es sur ce noeud. La valeur par d\u00e9faut est "${com.sun.aas.productRoot}/glassfish/nodes". node.sshConnectorSection=SSH @@ -219,8 +219,8 @@ node.force=Forcer : node.forceHelp=Indique si le noeud est cr\u00e9\u00e9 m\u00eame lorsque la validation des param\u00e8tres du noeud \u00e9choue. node.type=Type : -## do not translate the word CONFIG, DCOM and SSH below. -node.typeHelp=Si le type est CONFIG, le noeud n'est pas activ\u00e9 pour les communications \u00e0 distance et les informations DCOM ou SSH sont enlev\u00e9es de la page. Pour cr\u00e9er des instances sur un noeud distant de type CONFIG, vous devez utiliser la sous-commande create-local-instance. Vous ne pouvez pas utiliser la console d'administration \u00e0 cette fin. +## do not translate the word CONFIG SSH below. +node.typeHelp=Si le type est CONFIG, le noeud n'est pas activ\u00e9 pour les communications \u00e0 distance et les informations SSH sont enlev\u00e9es de la page. Pour cr\u00e9er des instances sur un noeud distant de type CONFIG, vous devez utiliser la sous-commande create-local-instance. Vous ne pouvez pas utiliser la console d'administration \u00e0 cette fin. node.error.delete=Erreur lors de la suppression des noeuds : {0} nodes.instanceExistError=Le noeud {0} est r\u00e9f\u00e9renc\u00e9 dans les instances de Payara Server : {1}. Enlevez les instances avant de supprimer le noeud. @@ -240,21 +240,6 @@ node.textPassword=Mot de passe node.usePasswordAlias=Alias de mot de passe node.runSetupSSH=Configurer SSH : node.runSetupSSHHelp=Si cette option est s\u00e9lectionn\u00e9e, une cl\u00e9 SSH est configur\u00e9e pour l'utilisateur SSH lors de la cr\u00e9ation du noeud. -node.DcomSection=DCOM -node.selectWinPasswordSelect=Authentification de l'utilisateur Windows -node.selectWinPasswordSelectHelp=S\u00e9lectionner la fa\u00e7on dont l'utilisateur Windows est authentifi\u00e9 lors de sa connexion \u00e0 l'h\u00f4te de ce noeud. -node.windowDomain=Domaine Windows : -node.windowDomainHelp=Domaine Windows auquel appartient l'utilisateur Windows. -node.windowUser=Nom utilisateur Windows : -node.windowUserHelp=Utilisateur qui va ex\u00e9cuter le processus de connexion \u00e0 l'h\u00f4te de ce noeud via DCOM. La valeur par d\u00e9faut est l'utilisateur qui ex\u00e9cute le processus DAS. -node.winUserPassword=Mot de passe utilisateur Windows : -node.winUserPasswordHelp=Saisissez le mot de passe que l'utilisateur DCOM va employer pour se connecter \u00e0 l'h\u00f4te repr\u00e9sent\u00e9 par ce noeud. -node.confirmWinUserPassword=Confirmer le mot de passe : -node.confirmWinUserPasswordHelp=Confirmez le mot de passe saisi dans le champ Mot de passe utilisateur Windows. -node.validateDcom=Valider DCOM : -node.validateDcomHelp=Avant de cr\u00e9er ou de mettre \u00e0 jour le noeud, testez la connexion sur DCOM \u00e0 l'h\u00f4te du noeud. -node.remotetestdir=R\u00e9pertoire de test distant : -node.remotetestdirHelp=Dossier sur l'h\u00f4te du noeud \u00e0 utiliser pour tester la connexion \u00e0 l'h\u00f4te. node.generateKey=G\u00e9n\u00e9rer une cl\u00e9 : diff --git a/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_it.properties b/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_it.properties index 2708c28963e..ef890444657 100644 --- a/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_it.properties +++ b/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_it.properties @@ -37,7 +37,7 @@ # only if the new code is made subject to such option by the copyright # holder. # -# Portions Copyright [2016-2018] [Payara Foundation and/or its affiliates] +# Portions Copyright [2016-2026] [Payara Foundation and/or its affiliates] tree.clusters=Cluster tree.nodes=Nodi @@ -200,7 +200,7 @@ node.nodeTypeCol=Tipo node.NewPageTitle=Nuovo nodo node.NewPageTitleHelp=Crea un nodo in cui possono risiedere istanze Payara Server. node.NodeHost=Host nodo: -node.NodeHostHelp=Nome dell'host che il nodo rappresenta. Se il tipo \u00e8 DCOM o SSH, \u00e8 richiesto l'host nodo. +node.NodeHostHelp=Nome dell'host che il nodo rappresenta. Se il tipo \u00e8 SSH, \u00e8 richiesto l'host nodo. node.NodeDir=Directory nodo: node.NodeDirHelp=Percorso della directory che contiene i file delle istanze create nel nodo. Valore predefinito: "${com.sun.aas.productRoot}/glassfish/nodes". node.sshConnectorSection=SSH @@ -219,8 +219,8 @@ node.force=Imponi: node.forceHelp=Specifica se il nodo deve essere creato anche se la convalida dei relativi parametri non riesce. node.type=Tipo: -## do not translate the word CONFIG, DCOM and SSH below. -node.typeHelp=Se il tipo \u00e8 CONFIG, il nodo non \u00e8 abilitato per la comunicazione remota e le informazioni DCOM o SSH vengono rimosse dalla pagina. Per creare istanze su un nodo remoto di tipo CONFIG, utilizzare il comando secondario create-local-instance. Non \u00e8 possibile utilizzare la console di amministrazione per questo scopo. +## do not translate the word CONFIG and SSH below. +node.typeHelp=Se il tipo \u00e8 CONFIG, il nodo non \u00e8 abilitato per la comunicazione remota e le informazioni SSH vengono rimosse dalla pagina. Per creare istanze su un nodo remoto di tipo CONFIG, utilizzare il comando secondario create-local-instance. Non \u00e8 possibile utilizzare la console di amministrazione per questo scopo. node.error.delete=Errore durante l''eliminazione dei nodi: {0} nodes.instanceExistError=Nodo "{0}" a cui viene fatto riferimento nelle istanze Payara Server: {1}. Rimuovere le istanze prima di eliminare il nodo. @@ -240,21 +240,6 @@ node.textPassword=Password node.usePasswordAlias=Alias password node.runSetupSSH=Imposta SSH: node.runSetupSSHHelp=Se questa opzione \u00e8 selezionata, viene impostata una chiave SSH per l'utente SSH alla creazione del nodo. -node.DcomSection=DCOM -node.selectWinPasswordSelect=Autenticazione utente Windows -node.selectWinPasswordSelectHelp=Selezionare la modalit\u00e0 di autenticazione dell'utente Windows quando viene eseguito il login all'host del nodo. -node.windowDomain=Dominio Windows: -node.windowDomainHelp=Il dominio Windows a cui appartiene l'utente Windows. -node.windowUser=Nome utente Windows: -node.windowUserHelp=Utente che deve eseguire il processo per la connessione all'host del nodo tramite DCOM. Il valore predefinito \u00e8 l'utente che esegue il processo DAS. -node.winUserPassword=Password utente Windows: -node.winUserPasswordHelp=Digitare la password che l'utente Windows utilizzer\u00e0 per effettuare il login all'host che il nodo rappresenta. -node.confirmWinUserPassword=Conferma password: -node.confirmWinUserPasswordHelp=Confermare la password digitata nel campo Password utente Windows. -node.validateDcom=Convalida DCOM: -node.validateDcomHelp=Esegue il test della connessione tramite DCOM all'host del nodo prima della creazione o dell'aggiornamento del nodo. -node.remotetestdir=Directory di test remota: -node.remotetestdirHelp=Cartella sull'host del nodo da utilizzare per il test della connessione all'host. node.generateKey=Genera chiave: diff --git a/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_ja.properties b/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_ja.properties index 4380cc58c78..f4e118ec0f8 100644 --- a/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_ja.properties +++ b/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_ja.properties @@ -247,7 +247,7 @@ node.nodeTypeCol=\u30bf\u30a4\u30d7 node.NewPageTitle=\u65b0\u898f\u30ce\u30fc\u30c9 node.NewPageTitleHelp=Payara Server\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u5e38\u99d0\u3067\u304d\u308b\u30ce\u30fc\u30c9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002 node.NodeHost=\u30ce\u30fc\u30c9\u30fb\u30db\u30b9\u30c8: -node.NodeHostHelp=\u30ce\u30fc\u30c9\u304c\u8868\u3059\u30db\u30b9\u30c8\u306e\u540d\u524d\u3002\u30bf\u30a4\u30d7\u304cDCOM\u307e\u305f\u306fSSH\u3067\u3042\u308b\u5834\u5408\u3001\u30ce\u30fc\u30c9\u30fb\u30db\u30b9\u30c8\u306f\u5fc5\u9808\u3067\u3059\u3002 +node.NodeHostHelp=\u30ce\u30fc\u30c9\u304c\u8868\u3059\u30db\u30b9\u30c8\u306e\u540d\u524d\u3002\u30bf\u30a4\u30d7\u304cSSH\u3067\u3042\u308b\u5834\u5408\u3001\u30ce\u30fc\u30c9\u30fb\u30db\u30b9\u30c8\u306f\u5fc5\u9808\u3067\u3059\u3002 node.NodeDir=\u30ce\u30fc\u30c9\u30fb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea: node.NodeDirHelp=\u3053\u306e\u30ce\u30fc\u30c9\u306b\u4f5c\u6210\u3055\u308c\u305f\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u542b\u307e\u308c\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30d1\u30b9\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f\u300c"${com.sun.aas.productRoot}/glassfish/nodes\u300d\u3067\u3059\u3002 node.sshConnectorSection=SSH @@ -266,8 +266,8 @@ node.force=\u5f37\u5236: node.forceHelp=\u30ce\u30fc\u30c9\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u691c\u8a3c\u306b\u5931\u6557\u3057\u305f\u5834\u5408\u3067\u3082\u30ce\u30fc\u30c9\u3092\u4f5c\u6210\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002 node.type=\u30bf\u30a4\u30d7: -## do not translate the word CONFIG, DCOM and SSH below. -node.typeHelp=\u30bf\u30a4\u30d7\u304cCONFIG\u3067\u3042\u308b\u5834\u5408\u3001\u305d\u306e\u30ce\u30fc\u30c9\u306f\u30ea\u30e2\u30fc\u30c8\u901a\u4fe1\u306b\u5bfe\u3057\u3066\u7121\u52b9\u3067\u3042\u308a\u3001DCOM\u307e\u305f\u306fSSH\u60c5\u5831\u304c\u30da\u30fc\u30b8\u304b\u3089\u9664\u53bb\u3055\u308c\u307e\u3059\u3002CONFIG\u30bf\u30a4\u30d7\u306e\u30ea\u30e2\u30fc\u30c8\u30fb\u30ce\u30fc\u30c9\u306b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u3059\u308b\u306b\u306f\u3001create-local-instance\u30b5\u30d6\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u76ee\u7684\u3067\u7ba1\u7406\u30b3\u30f3\u30bd\u30fc\u30eb\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002 +## do not translate the word CONFIG and SSH below. +node.typeHelp=\u30bf\u30a4\u30d7\u304cCONFIG\u3067\u3042\u308b\u5834\u5408\u3001\u305d\u306e\u30ce\u30fc\u30c9\u306f\u30ea\u30e2\u30fc\u30c8\u901a\u4fe1\u306b\u5bfe\u3057\u3066\u7121\u52b9\u3067\u3042\u308a\u3001SSH\u60c5\u5831\u304c\u30da\u30fc\u30b8\u304b\u3089\u9664\u53bb\u3055\u308c\u307e\u3059\u3002CONFIG\u30bf\u30a4\u30d7\u306e\u30ea\u30e2\u30fc\u30c8\u30fb\u30ce\u30fc\u30c9\u306b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u3059\u308b\u306b\u306f\u3001create-local-instance\u30b5\u30d6\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u76ee\u7684\u3067\u7ba1\u7406\u30b3\u30f3\u30bd\u30fc\u30eb\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002 node.error.delete=\u30ce\u30fc\u30c9\u306e\u524a\u9664\u4e2d\u306b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f: {0} nodes.instanceExistError=\u30ce\u30fc\u30c9"{0}"\u306fPayara Server\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3067\u53c2\u7167\u3055\u308c\u3066\u3044\u307e\u3059: {1}\u3002\u30ce\u30fc\u30c9\u3092\u524a\u9664\u3059\u308b\u524d\u306b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u9664\u53bb\u3057\u3066\u304f\u3060\u3055\u3044\u3002 @@ -287,21 +287,6 @@ node.textPassword=\u30d1\u30b9\u30ef\u30fc\u30c9 node.usePasswordAlias=\u30d1\u30b9\u30ef\u30fc\u30c9\u30fb\u30a8\u30a4\u30ea\u30a2\u30b9 node.runSetupSSH=SSH\u306e\u8a2d\u5b9a: node.runSetupSSHHelp=\u9078\u629e\u3059\u308b\u3068\u3001\u30ce\u30fc\u30c9\u306e\u4f5c\u6210\u6642\u306b\u3001SSH\u30e6\u30fc\u30b6\u30fc\u306b\u5bfe\u3057\u3066SSH\u9375\u304c\u8a2d\u5b9a\u3055\u308c\u307e\u3059\u3002 -node.DcomSection=DCOM -node.selectWinPasswordSelect=Windows\u30e6\u30fc\u30b6\u30fc\u8a8d\u8a3c -node.selectWinPasswordSelectHelp=\u3053\u306e\u30ce\u30fc\u30c9\u306e\u30db\u30b9\u30c8\u3078\u306e\u30ed\u30b0\u30a4\u30f3\u6642\u306bWindows\u30e6\u30fc\u30b6\u30fc\u3092\u8a8d\u8a3c\u3059\u308b\u65b9\u6cd5\u3092\u9078\u629e\u3057\u307e\u3059\u3002 -node.windowDomain=Windows\u30c9\u30e1\u30a4\u30f3: -node.windowDomainHelp=Windows\u30e6\u30fc\u30b6\u30fc\u304c\u6240\u5c5e\u3059\u308bWindows\u30c9\u30e1\u30a4\u30f3\u3002 -node.windowUser=Windows\u30e6\u30fc\u30b6\u30fc\u540d: -node.windowUserHelp=\u3053\u306e\u30ce\u30fc\u30c9\u306e\u30db\u30b9\u30c8\u306bDCOM\u3092\u4ecb\u3057\u3066\u63a5\u7d9a\u3059\u308b\u30d7\u30ed\u30bb\u30b9\u3092\u5b9f\u884c\u3059\u308b\u30e6\u30fc\u30b6\u30fc\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306fDAS\u30d7\u30ed\u30bb\u30b9\u3092\u5b9f\u884c\u3059\u308b\u30e6\u30fc\u30b6\u30fc\u3067\u3059\u3002 -node.winUserPassword=Windows\u30e6\u30fc\u30b6\u30fc\u30fb\u30d1\u30b9\u30ef\u30fc\u30c9: -node.winUserPasswordHelp=\u3053\u306e\u30ce\u30fc\u30c9\u304c\u8868\u3059\u30db\u30b9\u30c8\u306bWindows\u30e6\u30fc\u30b6\u30fc\u304c\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u969b\u306b\u4f7f\u7528\u3059\u308b\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002 -node.confirmWinUserPassword=\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u78ba\u8a8d: -node.confirmWinUserPasswordHelp=\u300cWindows\u30e6\u30fc\u30b6\u30fc\u30fb\u30d1\u30b9\u30ef\u30fc\u30c9\u300d\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u5165\u529b\u3057\u305f\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u518d\u5165\u529b\u3057\u307e\u3059\u3002 -node.validateDcom=DCOM\u306e\u691c\u8a3c: -node.validateDcomHelp=\u30ce\u30fc\u30c9\u3092\u4f5c\u6210\u307e\u305f\u306f\u66f4\u65b0\u3059\u308b\u524d\u306b\u3001\u30ce\u30fc\u30c9\u306e\u30db\u30b9\u30c8\u306b\u5bfe\u3059\u308bDCOM\u7d4c\u7531\u306e\u63a5\u7d9a\u3092\u30c6\u30b9\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\u3002 -node.remotetestdir=\u30ea\u30e2\u30fc\u30c8\u30fb\u30c6\u30b9\u30c8\u30fb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea: -node.remotetestdirHelp=\u30db\u30b9\u30c8\u3078\u306e\u63a5\u7d9a\u3092\u30c6\u30b9\u30c8\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3059\u308b\u30ce\u30fc\u30c9\u306e\u30db\u30b9\u30c8\u306b\u3042\u308b\u30d5\u30a9\u30eb\u30c0\u3002 node.generateKey=\u9375\u306e\u751f\u6210: diff --git a/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_ko.properties b/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_ko.properties index d7078df6ace..e41e1c4dddb 100644 --- a/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_ko.properties +++ b/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_ko.properties @@ -37,7 +37,7 @@ # only if the new code is made subject to such option by the copyright # holder. # -# Portions Copyright [2016-2018] [Payara Foundation and/or its affiliates] +# Portions Copyright [2016-2026] [Payara Foundation and/or its affiliates] tree.clusters=\ud074\ub7ec\uc2a4\ud130 tree.nodes=\ub178\ub4dc @@ -200,7 +200,7 @@ node.nodeTypeCol=\uc720\ud615 node.NewPageTitle=\uc0c8 \ub178\ub4dc node.NewPageTitleHelp=Payara Server \uc778\uc2a4\ud134\uc2a4\uac00 \uc0c1\uc8fc\ud560 \uc218 \uc788\ub294 \ub178\ub4dc\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4. node.NodeHost=\ub178\ub4dc \ud638\uc2a4\ud2b8: -node.NodeHostHelp=\ub178\ub4dc\uac00 \ub098\ud0c0\ub0b4\ub294 \ud638\uc2a4\ud2b8\uc758 \uc774\ub984\uc785\ub2c8\ub2e4. \uc720\ud615\uc774 DCOM \ub610\ub294 SSH\uc778 \uacbd\uc6b0 \ub178\ub4dc \ud638\uc2a4\ud2b8\uac00 \ud544\uc694\ud569\ub2c8\ub2e4. +node.NodeHostHelp=\ub178\ub4dc\uac00 \ub098\ud0c0\ub0b4\ub294 \ud638\uc2a4\ud2b8\uc758 \uc774\ub984\uc785\ub2c8\ub2e4. \uc720\ud615\uc774 SSH\uc778 \uacbd\uc6b0 \ub178\ub4dc \ud638\uc2a4\ud2b8\uac00 \ud544\uc694\ud569\ub2c8\ub2e4. node.NodeDir=\ub178\ub4dc \ub514\ub809\ud1a0\ub9ac: node.NodeDirHelp=\uc774 \ub178\ub4dc\uc5d0\uc11c \uc0dd\uc131\ub41c \uc778\uc2a4\ud134\uc2a4\uc5d0 \ub300\ud55c \ud30c\uc77c\uc744 \ud3ec\ud568\ud560 \ub514\ub809\ud1a0\ub9ac \uacbd\ub85c\uc785\ub2c8\ub2e4. \uae30\ubcf8\uac12\uc740 "${com.sun.aas.productRoot}/glassfish/nodes"\uc785\ub2c8\ub2e4. node.sshConnectorSection=SSH @@ -219,8 +219,8 @@ node.force=\uac15\uc81c \uc801\uc6a9: node.forceHelp=\ub178\ub4dc\uc758 \ub9e4\uac1c\ubcc0\uc218 \uac80\uc99d\uc744 \uc2e4\ud328\ud558\ub354\ub77c\ub3c4 \ub178\ub4dc\ub97c \uc0dd\uc131\ud560\uc9c0\ub97c \uc9c0\uc815\ud569\ub2c8\ub2e4. node.type=\uc720\ud615: -## do not translate the word CONFIG, DCOM and SSH below. -node.typeHelp=\uc720\ud615\uc774 \uad6c\uc131\uc778 \uacbd\uc6b0 \ub178\ub4dc\uac00 \uc6d0\uaca9 \ud1b5\uc2e0\uc5d0 \ub300\ud574 \uc0ac\uc6a9\uc73c\ub85c \uc124\uc815\ub418\uc9c0 \uc54a\uace0 \ud398\uc774\uc9c0\uc5d0\uc11c DCOM \ub610\ub294 SSH \uc815\ubcf4\uac00 \uc81c\uac70\ub429\ub2c8\ub2e4. \uad6c\uc131 \uc720\ud615\uc758 \uc6d0\uaca9 \ub178\ub4dc\uc5d0\uc11c \uc778\uc2a4\ud134\uc2a4\ub97c \uc0dd\uc131\ud558\ub824\uba74 create-local-instance \ud558\uc704 \uba85\ub839\uc744 \uc0ac\uc6a9\ud574\uc57c \ud569\ub2c8\ub2e4. \uc774 \uc6a9\ub3c4\ub85c\ub294 \uad00\ub9ac \ucf58\uc194\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. +## do not translate the word CONFIG and SSH below. +node.typeHelp=\uc720\ud615\uc774 \uad6c\uc131\uc778 \uacbd\uc6b0 \ub178\ub4dc\uac00 \uc6d0\uaca9 \ud1b5\uc2e0\uc5d0 \ub300\ud574 \uc0ac\uc6a9\uc73c\ub85c \uc124\uc815\ub418\uc9c0 \uc54a\uace0 \ud398\uc774\uc9c0\uc5d0\uc11c SSH \uc815\ubcf4\uac00 \uc81c\uac70\ub429\ub2c8\ub2e4. \uad6c\uc131 \uc720\ud615\uc758 \uc6d0\uaca9 \ub178\ub4dc\uc5d0\uc11c \uc778\uc2a4\ud134\uc2a4\ub97c \uc0dd\uc131\ud558\ub824\uba74 create-local-instance \ud558\uc704 \uba85\ub839\uc744 \uc0ac\uc6a9\ud574\uc57c \ud569\ub2c8\ub2e4. \uc774 \uc6a9\ub3c4\ub85c\ub294 \uad00\ub9ac \ucf58\uc194\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. node.error.delete=\ub178\ub4dc \uc0ad\uc81c \uc2dc \uc624\ub958 \ubc1c\uc0dd: {0} nodes.instanceExistError="{0}" \ub178\ub4dc\uac00 Payara Server \uc778\uc2a4\ud134\uc2a4\uc5d0\uc11c \ucc38\uc870\ub428: {1}. \ub178\ub4dc\ub97c \uc0ad\uc81c\ud558\uae30 \uc804\uc5d0 \uc778\uc2a4\ud134\uc2a4\ub97c \uc81c\uac70\ud569\ub2c8\ub2e4. @@ -240,21 +240,6 @@ node.textPassword=\ube44\ubc00\ubc88\ud638 node.usePasswordAlias=\ube44\ubc00\ubc88\ud638 \ubcc4\uce6d node.runSetupSSH=SSH \uc124\uc815: node.runSetupSSHHelp=\uc120\ud0dd\ub41c \uacbd\uc6b0, \ub178\ub4dc\ub97c \uc0dd\uc131\ud560 \ub54c SSH \uc0ac\uc6a9\uc790\uc5d0 \ub300\ud574 SSH \ud0a4\uac00 \uc124\uc815\ub429\ub2c8\ub2e4. -node.DcomSection=DCOM -node.selectWinPasswordSelect=Windows \uc0ac\uc6a9\uc790 \uc778\uc99d -node.selectWinPasswordSelectHelp=\uc774 \ub178\ub4dc\uc758 \ud638\uc2a4\ud2b8\uc5d0 \ub85c\uadf8\uc778\ud560 \ub54c Windows \uc0ac\uc6a9\uc790\uac00 \uc778\uc99d\ub418\ub294 \ubc29\uc2dd\uc744 \uc120\ud0dd\ud569\ub2c8\ub2e4. -node.windowDomain=Windows \ub3c4\uba54\uc778: -node.windowDomainHelp=Windows \uc0ac\uc6a9\uc790\uac00 \uc18d\ud55c Windows \ub3c4\uba54\uc778\uc785\ub2c8\ub2e4. -node.windowUser=Windows \uc0ac\uc6a9\uc790 \uc774\ub984: -node.windowUserHelp=DCOM\uc744 \ud1b5\ud574 \uc774 \ub178\ub4dc\uc758 \ud638\uc2a4\ud2b8\uc5d0 \uc811\uc18d\ud558\uae30 \uc704\ud55c \ud504\ub85c\uc138\uc2a4\ub97c \uc2e4\ud589\ud560 \uc0ac\uc6a9\uc790\uc785\ub2c8\ub2e4. \uae30\ubcf8\uac12\uc740 DAS \ud504\ub85c\uc138\uc2a4\ub97c \uc2e4\ud589\ud560 \uc0ac\uc6a9\uc790\uc785\ub2c8\ub2e4. -node.winUserPassword=Windows \uc0ac\uc6a9\uc790 \ube44\ubc00\ubc88\ud638: -node.winUserPasswordHelp=Windows \uc0ac\uc6a9\uc790\uac00 \uc774 \ub178\ub4dc\uac00 \ub098\ud0c0\ub0b4\ub294 \ud638\uc2a4\ud2b8\uc5d0 \ub85c\uadf8\uc778\ud558\ub294 \ub370 \uc0ac\uc6a9\ud560 \ube44\ubc00\ubc88\ud638\ub97c \uc785\ub825\ud569\ub2c8\ub2e4. -node.confirmWinUserPassword=\ube44\ubc00\ubc88\ud638 \ud655\uc778: -node.confirmWinUserPasswordHelp=Windows \uc0ac\uc6a9\uc790 \ube44\ubc00\ubc88\ud638 \ud544\ub4dc\uc5d0 \uc785\ub825\ud55c \ube44\ubc00\ubc88\ud638\ub97c \ud655\uc778\ud569\ub2c8\ub2e4. -node.validateDcom=DCOM \uac80\uc99d: -node.validateDcomHelp=\ub178\ub4dc\ub97c \uc0dd\uc131 \ub610\ub294 \uc5c5\ub370\uc774\ud2b8\ud558\uae30 \uc804\uc5d0 DCOM\uc744 \ud1b5\ud574 \ub178\ub4dc\uc758 \ud638\uc2a4\ud2b8\uc5d0 \ub300\ud55c \uc811\uc18d\uc744 \ud14c\uc2a4\ud2b8\ud569\ub2c8\ub2e4. -node.remotetestdir=\uc6d0\uaca9 \ud14c\uc2a4\ud2b8 \ub514\ub809\ud1a0\ub9ac: -node.remotetestdirHelp=\ud638\uc2a4\ud2b8\uc5d0 \ub300\ud55c \uc811\uc18d\uc744 \ud14c\uc2a4\ud2b8\ud558\uae30 \uc704\ud574 \uc0ac\uc6a9\ud560 \ub178\ub4dc \ud638\uc2a4\ud2b8\uc758 \ud3f4\ub354\uc785\ub2c8\ub2e4. node.generateKey=\ud0a4 \uc0dd\uc131: diff --git a/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_pt_BR.properties b/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_pt_BR.properties index 79a794af242..f20133fb0c2 100644 --- a/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_pt_BR.properties +++ b/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_pt_BR.properties @@ -37,7 +37,7 @@ # only if the new code is made subject to such option by the copyright # holder. # -# Portions Copyright [2016-2018] [Payara Foundation and/or its affiliates] +# Portions Copyright [2016-2026] [Payara Foundation and/or its affiliates] tree.clusters=Clusters tree.nodes=N\u00f3s @@ -219,8 +219,8 @@ node.force=For\u00e7ar: node.forceHelp=Especifica se o n\u00f3 ser\u00e1 criado mesmo que a valida\u00e7\u00e3o dos par\u00e2metros do n\u00f3 falhe. node.type=Tipo: -## do not translate the word CONFIG, DCOM and SSH below. -node.typeHelp=Se o tipo for CONFIG, o n\u00f3 n\u00e3o est\u00e1 ativado para a comunica\u00e7\u00e3o remota e as informa\u00e7\u00f5es de DCOM ou SSH s\u00e3o removidas da p\u00e1gina. Para criar as inst\u00e2ncias em um n\u00f3 remoto de tipo CONFIG, \u00e9 necess\u00e1rio utilizar o subcomando create-local-instance. Voc\u00ea n\u00e3o pode utilizar a Console de Administra\u00e7\u00e3o para esse fim. +## do not translate the word CONFIG and SSH below. +node.typeHelp=Se o tipo for CONFIG, o n\u00f3 n\u00e3o est\u00e1 ativado para a comunica\u00e7\u00e3o remota e as informa\u00e7\u00f5es de SSH s\u00e3o removidas da p\u00e1gina. Para criar as inst\u00e2ncias em um n\u00f3 remoto de tipo CONFIG, \u00e9 necess\u00e1rio utilizar o subcomando create-local-instance. Voc\u00ea n\u00e3o pode utilizar a Console de Administra\u00e7\u00e3o para esse fim. node.error.delete=Erro na dele\u00e7\u00e3o de n\u00f3s: {0} nodes.instanceExistError=O n\u00f3 "{0}" referenciando nas inst\u00e2ncias do Payara Server: {1}. Remova a inst\u00e2ncia antes de deletar o n\u00f3. @@ -240,21 +240,6 @@ node.textPassword=Senha node.usePasswordAlias=Alias de Senha node.runSetupSSH=Configura\u00e7\u00e3o do SSH: node.runSetupSSHHelp=Se selecionada, uma chave SSH \u00e9 configurada para o usu\u00e1rio SSH quando o n\u00f3 \u00e9 criado. -node.DcomSection=DCOM -node.selectWinPasswordSelect=Autentica\u00e7\u00e3o de Usu\u00e1rio Windows: -node.selectWinPasswordSelectHelp=Selecione como o usu\u00e1rio do Windows ser\u00e1 autenticado ao efetuar log-in no host deste n\u00f3. -node.windowDomain=Reiniciando o Dom\u00ednio: -node.windowDomainHelp=O dom\u00ednio do Windows ao qual pertence o usu\u00e1rio do Windows. -node.windowUser=Nome de Usu\u00e1rio Windows: -node.windowUserHelp=O usu\u00e1rio que deve executar o processo para conex\u00e3o com este host do n\u00f3 atrav\u00e9s do DCOM. O default \u00e9 o usu\u00e1rio que est\u00e1 executando o processo DAS. -node.winUserPassword=Nome de Usu\u00e1rio Windows: -node.winUserPasswordHelp=Insira a senha que o usu\u00e1rio do Windows utilizar\u00e1 para efetuar log-in no host que este n\u00f3 representa. -node.confirmWinUserPassword=Confirmar Senha: -node.confirmWinUserPasswordHelp=Confirme a senha que voc\u00ea inseriu no campo Senha de Usu\u00e1rio Windows. -node.validateDcom=Validar DCOM: -node.validateDcomHelp=Teste a conex\u00e3o DCOM para host do n\u00f3 antes de criar ou atualizar o n\u00f3. -node.remotetestdir=Diret\u00f3rio de Teste Remoto: -node.remotetestdirHelp=Pasta no host do n\u00f3 a ser usada para testar a conex\u00e3o para o host. node.generateKey=Gerar Chave: diff --git a/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_zh_CN.properties b/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_zh_CN.properties index 1183268881a..3c8ab5c808e 100644 --- a/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_zh_CN.properties +++ b/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_zh_CN.properties @@ -37,7 +37,7 @@ # only if the new code is made subject to such option by the copyright # holder. # -# Portions Copyright [2016-2018] [Payara Foundation and/or its affiliates] +# Portions Copyright [2016-2026] [Payara Foundation and/or its affiliates] tree.clusters=\u96c6\u7fa4 tree.nodes=\u8282\u70b9 @@ -200,7 +200,7 @@ node.nodeTypeCol=\u7c7b\u578b node.NewPageTitle=\u65b0\u8282\u70b9 node.NewPageTitleHelp=\u521b\u5efa\u4e00\u4e2a\u53ef\u7528\u4e8e\u9a7b\u7559 Payara Server \u5b9e\u4f8b\u7684\u8282\u70b9\u3002 node.NodeHost=\u8282\u70b9\u4e3b\u673a: -node.NodeHostHelp=\u8be5\u8282\u70b9\u4ee3\u8868\u7684\u4e3b\u673a\u7684\u540d\u79f0\u3002\u5982\u679c\u7c7b\u578b\u4e3a DCOM \u6216 SSH, \u5219\u9700\u8981\u8282\u70b9\u4e3b\u673a\u3002 +node.NodeHostHelp=\u8be5\u8282\u70b9\u4ee3\u8868\u7684\u4e3b\u673a\u7684\u540d\u79f0\u3002\u5982\u679c\u7c7b\u578b\u4e3a SSH, \u5219\u9700\u8981\u8282\u70b9\u4e3b\u673a\u3002 node.NodeDir=\u8282\u70b9\u76ee\u5f55: node.NodeDirHelp=\u7528\u4e8e\u5b58\u653e\u8be5\u8282\u70b9\u4e0a\u6240\u521b\u5efa\u5b9e\u4f8b\u7684\u6587\u4ef6\u7684\u76ee\u5f55\u8def\u5f84\u3002\u9ed8\u8ba4\u503c\u4e3a "${com.sun.aas.productRoot}/glassfish/nodes"\u3002 node.sshConnectorSection=SSH @@ -219,8 +219,8 @@ node.force=\u5f3a\u5236: node.forceHelp=\u6307\u5b9a\u662f\u5426\u521b\u5efa\u8282\u70b9 (\u5373\u4f7f\u8282\u70b9\u7684\u53c2\u6570\u9a8c\u8bc1\u5931\u8d25\u4e5f\u8981\u521b\u5efa)\u3002 node.type=\u7c7b\u578b: -## do not translate the word CONFIG, DCOM and SSH below. -node.typeHelp=\u5982\u679c\u7c7b\u578b\u4e3a CONFIG, \u5219\u4e0d\u4f1a\u4e3a\u8282\u70b9\u542f\u7528\u8fdc\u7a0b\u901a\u4fe1, \u5e76\u4e14\u5c06\u4ece\u9875\u9762\u4e2d\u5220\u9664 DCOM \u6216 SSH \u4fe1\u606f\u3002\u8981\u5728\u7c7b\u578b\u4e3a CONFIG \u7684\u8fdc\u7a0b\u8282\u70b9\u4e0a\u521b\u5efa\u5b9e\u4f8b, \u5fc5\u987b\u4f7f\u7528 create-local-instance \u5b50\u547d\u4ee4\u3002\u4e0d\u80fd\u5c06\u7ba1\u7406\u63a7\u5236\u53f0\u7528\u4e8e\u6b64\u76ee\u7684\u3002 +## do not translate the word CONFIG and SSH below. +node.typeHelp=\u5982\u679c\u7c7b\u578b\u4e3a CONFIG, \u5219\u4e0d\u4f1a\u4e3a\u8282\u70b9\u542f\u7528\u8fdc\u7a0b\u901a\u4fe1, \u5e76\u4e14\u5c06\u4ece\u9875\u9762\u4e2d\u5220\u9664 SSH \u4fe1\u606f\u3002\u8981\u5728\u7c7b\u578b\u4e3a CONFIG \u7684\u8fdc\u7a0b\u8282\u70b9\u4e0a\u521b\u5efa\u5b9e\u4f8b, \u5fc5\u987b\u4f7f\u7528 create-local-instance \u5b50\u547d\u4ee4\u3002\u4e0d\u80fd\u5c06\u7ba1\u7406\u63a7\u5236\u53f0\u7528\u4e8e\u6b64\u76ee\u7684\u3002 node.error.delete=\u5220\u9664\u8282\u70b9\u65f6\u51fa\u9519: {0} nodes.instanceExistError=\u8282\u70b9 "{0}" \u5df2\u5728\u4e0b\u5217 Payara Server \u5b9e\u4f8b\u4e2d\u5f15\u7528: {1}\u3002\u8bf7\u5148\u5220\u9664\u8fd9\u4e9b\u5b9e\u4f8b, \u518d\u5220\u9664\u8be5\u8282\u70b9\u3002 @@ -240,21 +240,6 @@ node.textPassword=\u53e3\u4ee4 node.usePasswordAlias=\u53e3\u4ee4\u522b\u540d node.runSetupSSH=\u8bbe\u7f6e SSH: node.runSetupSSHHelp=\u5982\u679c\u9009\u4e2d\u6b64\u9879, \u5219\u5728\u521b\u5efa\u8282\u70b9\u65f6, \u5c06\u4e3a SSH \u7528\u6237\u8bbe\u7f6e SSH \u5bc6\u94a5\u3002 -node.DcomSection=DCOM -node.selectWinPasswordSelect=Windows \u7528\u6237\u9a8c\u8bc1 -node.selectWinPasswordSelectHelp=\u9009\u62e9\u5f53 Windows \u7528\u6237\u767b\u5f55\u5230\u8be5\u8282\u70b9\u7684\u4e3b\u673a\u65f6\u5982\u4f55\u5bf9\u5176\u8fdb\u884c\u9a8c\u8bc1\u3002 -node.windowDomain=Windows \u57df: -node.windowDomainHelp=Windows \u7528\u6237\u6240\u5c5e\u7684 Windows \u57df\u3002 -node.windowUser=Windows \u7528\u6237\u540d: -node.windowUserHelp=\u8fd0\u884c\u8fdb\u7a0b\u4ee5\u901a\u8fc7 DCOM \u8fde\u63a5\u5230\u6b64\u8282\u70b9\u7684\u4e3b\u673a\u7684\u7528\u6237\u3002\u9ed8\u8ba4\u503c\u4e3a\u6b63\u5728\u8fd0\u884c DAS \u8fdb\u7a0b\u7684\u7528\u6237\u3002 -node.winUserPassword=Windows \u7528\u6237\u53e3\u4ee4: -node.winUserPasswordHelp=\u952e\u5165 Windows \u7528\u6237\u767b\u5f55\u5230\u8be5\u8282\u70b9\u4ee3\u8868\u7684\u4e3b\u673a\u65f6\u4f7f\u7528\u7684\u53e3\u4ee4\u3002 -node.confirmWinUserPassword=\u786e\u8ba4\u53e3\u4ee4: -node.confirmWinUserPasswordHelp=\u786e\u8ba4\u5728\u201cWindows \u7528\u6237\u53e3\u4ee4\u201d\u5b57\u6bb5\u4e2d\u952e\u5165\u7684\u53e3\u4ee4\u3002 -node.validateDcom=\u9a8c\u8bc1 DCOM: -node.validateDcomHelp=\u5728\u521b\u5efa\u6216\u66f4\u65b0\u8282\u70b9\u4e4b\u524d, \u6d4b\u8bd5 DCOM \u4e0e\u8282\u70b9\u4e3b\u673a\u7684\u8fde\u63a5\u3002 -node.remotetestdir=\u8fdc\u7a0b\u6d4b\u8bd5\u76ee\u5f55: -node.remotetestdirHelp=\u8282\u70b9\u4e3b\u673a\u4e0a\u7528\u4e8e\u6d4b\u8bd5\u4e3b\u673a\u8fde\u63a5\u7684\u6587\u4ef6\u5939\u3002 node.generateKey=\u751f\u6210\u5bc6\u94a5: diff --git a/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_zh_TW.properties b/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_zh_TW.properties index 0603d16359f..922b002d2e1 100644 --- a/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_zh_TW.properties +++ b/appserver/admingui/cluster-l10n/src/main/resources/org/glassfish/cluster/admingui/Strings_zh_TW.properties @@ -37,7 +37,7 @@ # only if the new code is made subject to such option by the copyright # holder. # -# Portions Copyright [2016-2018] [Payara Foundation and/or its affiliates] +# Portions Copyright [2016-2026] [Payara Foundation and/or its affiliates] tree.clusters=\u53e2\u96c6 tree.nodes=\u7bc0\u9ede @@ -200,7 +200,7 @@ node.nodeTypeCol=\u985e\u578b node.NewPageTitle=\u65b0\u7bc0\u9ede node.NewPageTitleHelp=\u5efa\u7acb\u80fd\u5920\u5b58\u653e Payara Server \u57f7\u884c\u8655\u7406\u7684\u7bc0\u9ede\u3002 node.NodeHost=\u7bc0\u9ede\u4e3b\u6a5f\uff1a -node.NodeHostHelp=\u7bc0\u9ede\u4ee3\u8868\u7684\u4e3b\u6a5f\u540d\u7a31\u3002\u5982\u679c\u985e\u578b\u70ba DCOM \u6216 SSH\uff0c\u5247\u9700\u8981\u7bc0\u9ede\u4e3b\u6a5f\u3002 +node.NodeHostHelp=\u7bc0\u9ede\u4ee3\u8868\u7684\u4e3b\u6a5f\u540d\u7a31\u3002\u5982\u679c\u985e\u578b\u70ba SSH\uff0c\u5247\u9700\u8981\u7bc0\u9ede\u4e3b\u6a5f\u3002 node.NodeDir=\u7bc0\u9ede\u76ee\u9304\uff1a node.NodeDirHelp=\u6b64\u7bc0\u9ede\u4e0a\u6240\u5efa\u57f7\u884c\u8655\u7406\u4e4b\u6a94\u6848\u6240\u5728\u76ee\u9304\u7684\u8def\u5f91\u3002\u9810\u8a2d\u503c\u70ba "${com.sun.aas.productRoot}/glassfish/nodes"\u3002 node.sshConnectorSection=SSH @@ -219,8 +219,8 @@ node.force=\u5f37\u5236\uff1a node.forceHelp=\u6307\u5b9a\u662f\u5426\u5373\u4f7f\u7bc0\u9ede\u7684\u53c3\u6578\u9a57\u8b49\u5931\u6557\u4ecd\u8981\u5efa\u7acb\u7bc0\u9ede\u3002 node.type=\u985e\u578b\uff1a -## do not translate the word CONFIG, DCOM and SSH below. -node.typeHelp=\u5982\u679c\u985e\u578b\u70ba CONFIG\uff0c\u5247\u4e0d\u6703\u70ba\u9060\u7aef\u901a\u8a0a\u555f\u7528\u7bc0\u9ede\uff0c\u4e26\u5f9e\u9801\u9762\u79fb\u9664 DCOM \u6216 SSH \u8cc7\u8a0a\u3002\u82e5\u8981\u5728\u985e\u578b\u70ba CONFIG \u7684\u9060\u7aef\u7bc0\u9ede\u4e0a\u5efa\u7acb\u57f7\u884c\u8655\u7406\uff0c\u5247\u5fc5\u9808\u4f7f\u7528 create-local-instance \u5b50\u547d\u4ee4\u3002\u60a8\u7121\u6cd5\u4f7f\u7528\u7ba1\u7406\u4e3b\u63a7\u53f0\u4f86\u9054\u6b64\u76ee\u7684\u3002 +## do not translate the word CONFIG and SSH below. +node.typeHelp=\u5982\u679c\u985e\u578b\u70ba CONFIG\uff0c\u5247\u4e0d\u6703\u70ba\u9060\u7aef\u901a\u8a0a\u555f\u7528\u7bc0\u9ede\uff0c\u4e26\u5f9e\u9801\u9762\u79fb\u9664 SSH \u8cc7\u8a0a\u3002\u82e5\u8981\u5728\u985e\u578b\u70ba CONFIG \u7684\u9060\u7aef\u7bc0\u9ede\u4e0a\u5efa\u7acb\u57f7\u884c\u8655\u7406\uff0c\u5247\u5fc5\u9808\u4f7f\u7528 create-local-instance \u5b50\u547d\u4ee4\u3002\u60a8\u7121\u6cd5\u4f7f\u7528\u7ba1\u7406\u4e3b\u63a7\u53f0\u4f86\u9054\u6b64\u76ee\u7684\u3002 node.error.delete=\u522a\u9664\u7bc0\u9ede\u6642\u767c\u751f\u932f\u8aa4\uff1a{0} nodes.instanceExistError=Payara Server \u57f7\u884c\u8655\u7406\u53c3\u7167\u7684\u7bc0\u9ede "{0}"\uff1a {1}\u3002\u8acb\u5148\u79fb\u9664\u57f7\u884c\u8655\u7406\uff0c\u518d\u522a\u9664\u7bc0\u9ede\u3002 @@ -240,21 +240,6 @@ node.textPassword=\u5bc6\u78bc node.usePasswordAlias=\u5bc6\u78bc\u5225\u540d node.runSetupSSH=\u8a2d\u5b9a SSH\uff1a node.runSetupSSHHelp=\u5982\u679c\u9078\u53d6\uff0c\u5247\u5efa\u7acb\u7bc0\u9ede\u6642\u6703\u70ba SSH \u4f7f\u7528\u8005\u8a2d\u5b9a SSH \u91d1\u9470\u3002 -node.DcomSection=DCOM -node.selectWinPasswordSelect=Windows \u4f7f\u7528\u8005\u9a57\u8b49 -node.selectWinPasswordSelectHelp=\u9078\u53d6 Windows \u4f7f\u7528\u8005\u767b\u5165\u6b64\u7bc0\u9ede\u4e4b\u4e3b\u6a5f\u6642\u7684\u9a57\u8b49\u65b9\u5f0f\u3002 -node.windowDomain=Windows \u7db2\u57df\uff1a -node.windowDomainHelp=Windows \u4f7f\u7528\u8005\u6240\u5c6c\u7684 Windows \u7db2\u57df\u3002 -node.windowUser=Windows \u4f7f\u7528\u8005\u540d\u7a31\uff1a -node.windowUserHelp=\u8981\u57f7\u884c\u8655\u7406\u4f5c\u696d\u4ee5\u900f\u904e DCOM \u8207\u6b64\u7bc0\u9ede\u4e4b\u4e3b\u6a5f\u9023\u7dda\u7684\u4f7f\u7528\u8005\u3002\u9810\u8a2d\u503c\u662f\u57f7\u884c DAS \u8655\u7406\u4f5c\u696d\u7684\u4f7f\u7528\u8005\u3002 -node.winUserPassword=Windows \u4f7f\u7528\u8005\u5bc6\u78bc\uff1a -node.winUserPasswordHelp=\u9375\u5165 Windows \u4f7f\u7528\u8005\u6703\u7528\u4f86\u767b\u5165\u6b64\u7bc0\u9ede\u6240\u4ee3\u8868\u4e4b\u4e3b\u6a5f\u7684\u5bc6\u78bc\u3002 -node.confirmWinUserPassword=\u78ba\u8a8d\u5bc6\u78bc\uff1a -node.confirmWinUserPasswordHelp=\u78ba\u8a8d\u60a8\u5728\u300cWindows \u4f7f\u7528\u8005\u5bc6\u78bc\u300d\u6b04\u4f4d\u4e2d\u9375\u5165\u7684\u5bc6\u78bc\u3002 -node.validateDcom=\u9a57\u8b49 DCOM\uff1a -node.validateDcomHelp=\u5728\u5efa\u7acb\u6216\u66f4\u65b0\u7bc0\u9ede\u4e4b\u524d\uff0c\u8acb\u5148\u6e2c\u8a66\u900f\u904e DCOM \u8207\u7bc0\u9ede\u4e3b\u6a5f\u7684\u9023\u7dda\u3002 -node.remotetestdir=\u9060\u7aef\u6e2c\u8a66\u76ee\u9304\uff1a -node.remotetestdirHelp=\u7bc0\u9ede\u4e3b\u6a5f\u4e0a\u7528\u65bc\u6e2c\u8a66\u4e3b\u6a5f\u9023\u7dda\u7684\u8cc7\u6599\u593e\u3002 node.generateKey=\u7522\u751f\u91d1\u9470\uff1a diff --git a/appserver/admingui/cluster/src/main/resources/node/nodeAttr.inc b/appserver/admingui/cluster/src/main/resources/node/nodeAttr.inc index 769c996af86..c6407ecf406 100644 --- a/appserver/admingui/cluster/src/main/resources/node/nodeAttr.inc +++ b/appserver/admingui/cluster/src/main/resources/node/nodeAttr.inc @@ -38,7 +38,7 @@ only if the new code is made subject to such option by the copyright holder. - Portions Copyright [2020] [Payara Foundation and/or its affiliates] + Portions Copyright [2020-2026] [Payara Foundation and/or its affiliates] --> #include "/cluster/shared/handlers.inc" @@ -88,7 +88,6 @@ setPageSessionAttribute(key="showSSH" value="#{false}"); if ("#{pageSession.valueMap['type']}=SSH"){ setPageSessionAttribute(key="showSSH" value="#{true}") - setPageSessionAttribute(key="showDCOM" value="#{false}") setPageSessionAttribute(key="showCONFIG" value="#{false}") setPageSessionAttribute(key="showInstalldirSSH" value="#{true}"); setPageSessionAttribute(key="showInstalldirConfig" value="#{false}"); @@ -108,7 +107,6 @@ } if ("#{pageSession.valueMap['type']}=CONFIG"){ setPageSessionAttribute(key="showSSH" value="#{false}") - setPageSessionAttribute(key="showDCOM" value="#{false}") setPageSessionAttribute(key="showCONFIG" value="#{true}") setPageSessionAttribute(key="showInstalldirSSH" value="#{false}"); setPageSessionAttribute(key="showInstalldirConfig" value="#{true}"); @@ -116,22 +114,8 @@ setPageSessionAttribute(key="showInstallOp" value="#{false}"); setPageSessionAttribute(key="isTemp" value="#{false}"); } - if ("#{pageSession.valueMap['type']}=DCOM"){ - setPageSessionAttribute(key="showSSH" value="#{false}") - setPageSessionAttribute(key="showDCOM" value="#{true}") - setPageSessionAttribute(key="showCONFIG" value="#{false}") - setPageSessionAttribute(key="showInstalldirSSH" value="#{true}"); - setPageSessionAttribute(key="showInstalldirConfig" value="#{false}"); - setPageSessionAttribute(key="showInstalldirDocker" value="#{false}"); - setPageSessionAttribute(key="showInstallOp" value="#{true}"); - if ("#{pageSession.valueMap['validateDcom']}"){ - setPageSessionAttribute(key="showTestdir" value="#{true}"); - } - setPageSessionAttribute(key="isTemp" value="#{false}"); - } if ("#{pageSession.valueMap['type']}=DOCKER"){ setPageSessionAttribute(key="showSSH" value="#{false}") - setPageSessionAttribute(key="showDCOM" value="#{false}") setPageSessionAttribute(key="showCONFIG" value="#{false}") setPageSessionAttribute(key="showDOCKER" value="#{true}") setPageSessionAttribute(key="showInstalldirSSH" value="#{false}"); @@ -142,7 +126,6 @@ } if ("#{pageSession.valueMap['type']}=TEMP"){ setPageSessionAttribute(key="showSSH" value="#{false}") - setPageSessionAttribute(key="showDCOM" value="#{false}") setPageSessionAttribute(key="showCONFIG" value="#{false}") setPageSessionAttribute(key="showDOCKER" value="#{false}") setPageSessionAttribute(key="showInstalldirSSH" value="#{false}"); @@ -169,8 +152,8 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/appserver/admingui/cluster/src/main/resources/node/nodeEdit.jsf b/appserver/admingui/cluster/src/main/resources/node/nodeEdit.jsf index 306566e3586..34a92af0fcb 100644 --- a/appserver/admingui/cluster/src/main/resources/node/nodeEdit.jsf +++ b/appserver/admingui/cluster/src/main/resources/node/nodeEdit.jsf @@ -38,7 +38,7 @@ only if the new code is made subject to such option by the copyright holder. - Portions Copyright [2020] [Payara Foundation and/or its affiliates] + Portions Copyright [2020-2026] [Payara Foundation and/or its affiliates] --> - - - - - - -
- create-node-dcom
-
-
- - - - - - - - - - - - - - -
- - - Previous - - - - - Next - - - - - Contents - -
- - -
-
-
-

-
-
-
-
-

create-node-dcom

-
-
-

creates a node that is enabled for communication over DCOM

-
-
-

Synopsis

-
-
-
-
asadmin [asadmin-options] create-node-dcom [--help]
---nodehost node-host
-[--installdir as-install-parent] [--nodedir node-dir]
-[--windowsuser windows-user] [--windowsdomain windows-domain]
-[--force={false|true}]
-[--install={false|true}] [--archive archive]
-node-name
-
-
-
-

Description

-
-
-

The create-node-dcom subcommand creates a node that is enabled for -communication over the Distributed Component Object Model (DCOM) remote -protocol. The DCOM protocol is available only on Windows systems.

-
-
-

A node represents a host on which the \{product---name} software is -installed. A node must exist for every host on which \{product---name} -instances reside.

-
-
-

In a DCOM-enabled network, the domain administration server (DAS) -contacts a node’s host through the DCOM connector to manage -\{product---name} instances that reside on the node. DCOM is used only -for communications between hosts. DCOM is never used for communications -within a single host.

-
-
-

By default, the subcommand fails and the node is not created if the DAS -cannot contact the node’s host through DCOM. To force the node to be -created in the DAS configuration even if the host cannot be contacted -through DCOM, set the --force option to true.

-
-
-

The create-node-dcom subcommand cannot create a node that represents -the local host, that is, the host on which the subcommand is run. The -subcommand fails regardless of how the local host is specified, for -example, by using the keyword localhost, the Internet Protocol (IP) -address of the host, or the host name.

-
-
-

This subcommand is supported in remote mode only.

-
-
-

Options

-
-
-
-
asadmin-options
-
-

Options for the asadmin utility. For information about these -options, see the asadmin(1M) help page.

-
-
--help
-
-?
-
-

Displays the help text for the subcommand.

-
-
--nodehost
-
-

The name of the host that the node represents. The name of the host -must be specified. Otherwise, an error occurs.

-
-
--installdir
-
-

The full path to the parent of the base installation directory of the -\{product---name} software on the host, for example, C:\glassfish3. -The default is the parent of the default base installation directory -of the \{product---name} software for the DAS. This default is useful -only if \{product---name} is installed in the same location on all -hosts.

-
-
--nodedir
-
-

The path to the directory that is to contain \{product---name} -instances that are created on the node. The default is -as-install`\nodes`, where as-install is the base installation -directory of the \{product---name} software on the host. If a relative -path is specified, the path is relative to the as-install directory.

-
-
--windowsuser
-
-w
-
-

The user on this node’s host that is to run the process for connecting -to the host through DCOM. The default is the user that is running the -DAS process. If the --nodehost option is set to localhost-`domain, -the `--windowsuser option is ignored

-
-
--windowsdomain
-
-d
-
-

The name of the Windows domain that contains the user that the ---windowsuser option specifies. The default is the name of the host -on which the subcommand is run.

-
-
--force
-
-

Specifies whether the node is created in the DAS configuration even if -validation of the node’s parameters fails. To validate a node’s -parameters, the DAS must be able to contact the node’s host through -DCOM. Possible values are as follows:

-
-
-
false
-
-

The node is not created if validation of the node’s parameters fails -(default).

-
-
true
-
-

The node is created even if validation of the node’s parameters -fails.

-
-
-
-
-
--install
-
-

Specifies whether the subcommand shall install the \{product---name} -software on the host that the node represents.
-Possible values are as follows:

-
-
-
false
-
-

The subcommand shall not install the \{product---name} software on -the host (default).

-
-
true
-
-

The subcommand shall install the \{product---name} software on the -host.

-
-
-
-
-
--archive
-
-

The absolute path to the archive file of the \{product---name} -software that is to be installed. If this option is omitted and the ---install is true, the subcommand creates a ZIP archive of the -\{product---name} software from the installation where this subcommand -is run. The archive does not contain the domains directory or the -nodes directory.

-
-
-
-
-

Operands

-
-
-
-
node-name
-
-

The name of the node.
-The name must meet the following requirements:

-
-
    -
  • -

    The name may contain only ASCII characters.

    -
  • -
  • -

    The name must start with a letter, a number, or an underscore.

    -
  • -
  • -

    The name may contain only the following characters:

    -
    -
      -
    • -

      Lowercase letters

      -
    • -
    • -

      Uppercase letters

      -
    • -
    • -

      Numbers

      -
    • -
    • -

      Hyphen

      -
    • -
    • -

      Period

      -
    • -
    • -

      Underscore

      -
    • -
    -
    -
  • -
  • -

    The name must be unique in the domain and must not be the name of -another node, a cluster, a named configuration, or a \{product---name} -instance.

    -
  • -
  • -

    The name must not be domain, server, or any other keyword that -is reserved by \{product---name}.

    -
  • -
-
-
-
-
-
-

Examples

-
-
-

-
-
-

Example 1   Creating a Node

-
-
-

This example creates the node wpmdl1 for the host -wpmdl1.example.com. By default, the parent of the base installation -directory of the \{product---name} software is C:\glassfish3.

-
-
-
-
asadmin> create-node-dcom
---nodehost wpmdl1.example.com wpmdl1
-Command create-node-dcom executed successfully.
-
-
-
-

-
-
-

Example 2   Creating a Node With a Specific Installation Directory

-
-
-

This example creates the node wyml1 for the host wyml1.example.com. -The parent of the base installation directory of the \{product---name} -software on this host is C:\middleware\glassfish3.

-
-
-
-
asadmin> create-node-dcom --installdir C:\middleware\glassfish3
---nodehost wyml1.example.com wyml1
-Command create-node-dcom executed successfully.
-
-
-
-

-
-
-

Example 3   Forcing the Creation of a Node

-
-
-

This example forces the creation of node xkyd for the host -xkyd.example.com. The node is created despite the failure of the DAS -to contact the host xkyd.example.com to validate the node’s -parameters.

-
-
-
-
asadmin> create-node-dcom --force --nodehost xkyd.example.com xkyd
-Warning: some parameters appear to be invalid.
-com.sun.enterprise.universal.process.WindowsException: Connection in error
-Continuing with node creation due to use of --force.
-Command create-node-dcom executed successfully.
-
-
-
-

Exit Status

-
-
-
-
0
-
-

command executed successfully

-
-
1
-
-

error in executing the command

-
-
-
-
-

See Also

-
- - -
-
- -
- - - - - - - - - - - - - - -
- - - Previous - - - - - Next - - - - - Contents - -
- - - Eclipse Foundation Logo  - Copyright © 2019, Oracle and/or its affiliates. All rights reserved. - - - - diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/create-node-ssh.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/create-node-ssh.html index 2cc6e865e6c..93b96b0f0e4 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/create-node-ssh.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/create-node-ssh.html @@ -17,7 +17,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + @@ -44,7 +44,7 @@ - + Previous @@ -369,7 +369,6 @@

create-node-ssh

create-node-config(1), -create-node-dcom(1), delete-node-ssh(1), install-node(1), install-node-ssh(1), @@ -393,7 +392,7 @@

create-node-ssh

- + Previous diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-instance.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-instance.html index 3e4a42be12c..c4a29af54e5 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-instance.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-instance.html @@ -17,7 +17,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + @@ -94,8 +94,7 @@

delete-instance

The delete-instance subcommand deletes a \{product---name} instance. -This subcommand requires the Distributed Component Object Model (DCOM) -remote protocol or secure shell (SSH) to be configured on the host where +This subcommand requires the secure shell (SSH) to be configured on the host where the domain administration server (DAS) is running and on the host that is represented by the node where the instance resides.

@@ -107,9 +106,9 @@

delete-instance

-

DCOM or SSH is not required if the instance resides on a node of type +

SSH is not required if the instance resides on a node of type CONFIG that represents the local host. A node of type CONFIG is not -enabled for remote communication over DCOM or SSH.

+enabled for remote communication over SSH.

@@ -232,8 +231,7 @@

delete-instance

start-instance(1), start-local-instance(1), stop-instance(1), -stop-local-instance(1), -validate-dcom(1)

+stop-local-instance(1)

diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-local-instance.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-local-instance.html index ccb0392aaaf..101e461c4bf 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-local-instance.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-local-instance.html @@ -92,8 +92,7 @@

delete-local-instance

The delete-local-instance subcommand deletes a \{product---name} instance on the machine where the subcommand is run. This subcommand -does not require the Distributed Component Object Model (DCOM) remote -protocol or secure shell (SSH) to be configured. You must run this +does not require the secure shell (SSH) to be configured. You must run this command from the machine where the instance resides.

diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-node-config.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-node-config.html index 8db7a48dccc..024de1d9c59 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-node-config.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-node-config.html @@ -17,7 +17,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + @@ -51,7 +51,7 @@ - + Next @@ -95,8 +95,7 @@

delete-node-config

The delete-node-config subcommand deletes a node that is not enabled for remote communication from the domain. This subcommand does not -require the Distributed Component Object Model (DCOM) remote protocol or -secure shell (SSH) to be configured.

+require the secure shell (SSH) to be configured.

This subcommand can delete only a node that is not enabled for remote @@ -106,12 +105,6 @@

delete-node-config

  • -

    A node that is enabled for remote communication over DCOM must be -deleted by using the -delete-node-dcom(1) -subcommand.

    -
  • -
  • A node that is enabled for remote communication over SSH must be deleted by using the delete-node-ssh(1) @@ -175,7 +168,7 @@

    delete-node-config

    node-name

    The name of the node to delete. The node must not be enabled for -communication over DCOM or SSH. Otherwise, an error occurs.

    +communication over SSH. Otherwise, an error occurs.

@@ -222,19 +215,15 @@

delete-node-config

@@ -257,7 +246,7 @@

delete-node-config

- + Next diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-node-dcom.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-node-dcom.html deleted file mode 100644 index 6b529c824e6..00000000000 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-node-dcom.html +++ /dev/null @@ -1,313 +0,0 @@ - - - - - - - - delete-node-dcom - - - - - - - - - -
- delete-node-dcom
-
-
- - - - - - - - - - - - - - -
- - - Previous - - - - - Next - - - - - Contents - -
- - -
-
-
-

-
-
-
-
-

delete-node-dcom

-
-
-

deletes a node that is enabled for communication over DCOM

-
-
-

Synopsis

-
-
-
-
asadmin [asadmin-options] delete-node-dcom [--help]
-[--uninstall={false|true}] [--force={false|true}]
-node-name
-
-
-
-

Description

-
-
-

The delete-node-dcom subcommand deletes a node that is enabled for -communication over the Distributed Component Object Model (DCOM) remote -protocol from the domain. The DCOM protocol is available only on Windows -systems. This subcommand does not require DCOM to be configured.

-
-
-

This subcommand can delete only a node that is enabled for communication -over DCOM. The subcommand for deleting other types of nodes depends on -the type of the node:

-
-
-
    -
  • -

    A node that is enabled for communication over secure shell (SSH) must -be deleted by using the -delete-node-ssh(1) -subcommand.

    -
  • -
  • -

    A node that is not enabled for communication must be deleted by using -the -delete-node-config(1) -subcommand.

    -
  • -
-
-
-

To determine whether a node is enabled for communication over DCOM, use -the list-nodes(1) subcommand.

-
-
-

No \{product---name} instances must reside on the node that is being -deleted. Otherwise, the subcommand fails. Before running this -subcommand, delete any instances that reside on the node by using, for -example, the -delete-instance(1) -subcommand or the -delete-local-instance(1) -subcommand.

-
-
-

This subcommand is supported in remote mode only.

-
-
-

Options

-
-
-
-
asadmin-options
-
-

Options for the asadmin utility. For information about these -options, see the asadmin(1M) help page.

-
-
--help
-
-?
-
-

Displays the help text for the subcommand.

-
-
--uninstall
-
-

Specifies whether the \{product---name} software is uninstalled from -host that the node represents.
-Possible values are as follows:

-
-
-
false
-
-

The \{product---name} software is not uninstalled from the host -(default).

-
-
true
-
-

The \{product---name} software is uninstalled from the host. By -default, if any node except the predefined node localhost-`domain -resides on any host from which \{product---name} software is being -uninstalled, the subcommand fails. To uninstall the -\{product---name} software from a host on which user-defined nodes -reside, set the `--force option to true. If the --force option -is true, the subcommand removes the entire content of the parent -of the base installation directory.

-
-
-
-
-
--force
-
-

If --uninstall is true, specifies whether the subcommand uninstalls -the \{product---name} software from a host even if a user-defined node -resides on the host. Possible values are as follows:

-
-
-
false
-
-

If a user-defined node resides on a host, the software is not -uninstalled and the subcommand fails (default).
-If the --force option is false, the subcommand removes only the -\{product---name} software files. Other content if the parent of the -base installation directory, such as configuration files, are not -removed.

-
-
true
-
-

The subcommand uninstalls the \{product---name} software from the -host even if a user-defined node resides on the host.
-If the --force option is true, the subcommand removes the entire -content of the parent of the base installation directory.

-
-
-
-
-
-
-
-

Operands

-
-
-
-
node-name
-
-

The name of the node to delete. The node must enabled for -communication over DCOM. Otherwise, an error occurs.

-
-
-
-
-

Examples

-
-
-

-
-
-

Example 1   Deleting a Node That Is Enabled for Communication Over DCOM

-
-
-

This example deletes the node xkyd, which is enabled for communication -over DCOM.

-
-
-
-
asadmin> delete-node-dcom xkyd
-Command delete-node-dcom executed successfully.
-
-
-
-

Exit Status

-
-
-
-
0
-
-

command executed successfully

-
-
1
-
-

error in executing the command

-
-
-
-
-

See Also

-
- - -
-
- -
- - - - - - - - - - - - - - -
- - - Previous - - - - - Next - - - - - Contents - -
- - - Eclipse Foundation Logo  - Copyright © 2019, Oracle and/or its affiliates. All rights reserved. - - - - diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-node-ssh.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-node-ssh.html index 48e7d09f7b5..4a63fae8bfd 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-node-ssh.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-node-ssh.html @@ -17,7 +17,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + @@ -44,7 +44,7 @@ - + Previous @@ -106,12 +106,6 @@

delete-node-ssh

  • -

    A node that is enabled for communication over the Distributed -Component Object Model (DCOM) remote protocol must be deleted by using -the delete-node-dcom(1) -subcommand.

    -
  • -
  • A node that is not enabled for remote communication must be deleted by using the delete-node-config(1) @@ -258,20 +252,15 @@

    delete-node-ssh

    asadmin(1M)

@@ -287,7 +276,7 @@

delete-node-ssh

- + Previous diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/install-node-dcom.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/install-node-dcom.html deleted file mode 100644 index f21a62e8ce8..00000000000 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/install-node-dcom.html +++ /dev/null @@ -1,413 +0,0 @@ - - - - - - - - install-node-dcom - - - - - - - - - -
- install-node-dcom
-
-
- - - - - - - - - - - - - - -
- - - Previous - - - - - Next - - - - - Contents - -
- - -
-
-
-

-
-
-
-
-

install-node-dcom

-
-
-

installs \{product---name} software on specified DCOM-enabled hosts

-
-
-

Synopsis

-
-
-
-
asadmin [asadmin-options] install-node-dcom [--help]
-[--archive archive]
-[--create={false|true}] [--save[={false|true}]
-[--installdir as-install-parent]
-[--windowsuser windows-user] [--windowsdomain windows-domain]
-[--force={false|true}]
-host-list
-
-
-
-

Description

-
-
-

The install-node-dcom subcommand installs \{product---name} software -on the hosts that are specified as the operand of the subcommand. This -subcommand requires the Distributed Component Object Model (DCOM) remote -protocol to be configured on the host where the subcommand is run and on -each host where the \{product---name} software is being installed. The -DCOM protocol is available only on Windows systems.

-
-
- - - - - -
-
Note
-
-
-

To install \{product---name} software on hosts that use secure shell -(SSH), use the -install-node-ssh(1) -subcommand.

-
-
-
-
-

If necessary, the subcommand creates a ZIP archive of the -\{product---name} software from the installation where this subcommand -is run. The archive does not contain the domains directory or the -nodes directory. These directories are synchronized from the domain -administration server (DAS) when instances on nodes that represent the -hosts are created and started. The subcommand does not delete the -archive after installing the \{product---name} software from the archive -on the specified hosts.

-
-
-

If multiple hosts are specified, the configuration of the following -items is the same on all hosts:

-
-
-
    -
  • -

    Base installation directory

    -
  • -
  • -

    Windows user

    -
  • -
  • -

    Windows domain

    -
  • -
-
-
-

By default, the subcommand runs interactively and prompts for a password -to authenticate the Windows user on each host where the -\{product---name} software is being installed. To enable the subcommand -to run noninteractively, the following conditions must be met:

-
-
-
    -
  • -

    The --interactive option of the -asadmin(1M) utility must be false.

    -
  • -
  • -

    The --passwordfile option of the asadmin utility must specify a -password file.

    -
  • -
  • -

    The password file must contain the AS_ADMIN_WINDOWSPASSWORD entry.

    -
  • -
-
-
-

The subcommand does not modify the configuration of the DAS.

-
-
-

This subcommand is supported in local mode only.

-
-
-

Options

-
-
-
-
asadmin-options
-
-

Options for the asadmin utility. For information about these -options, see the asadmin(1M) help page.

-
-
--help
-
-?
-
-

Displays the help text for the subcommand.

-
-
--archive
-
-

The absolute path to the archive file of the \{product---name} -software that is to be installed. If no archive file is specified, the -subcommand creates an archive from the installation of -\{product---name} software from which the subcommand is run. This -archive is created in the home directory of the user that is running -the command.

-
-
--create
-
-

Specifies whether the subcommand should create an archive file of the -\{product---name} software to install.

-
-
-
false
-
-

No archive file is created. The subcommand installs the software -from the existing archive file that the --archive option specifies -(default).

-
-
true
-
-

The subcommand creates an archive file from the installation of -\{product---name} software from which the subcommand is run.

-
-
-
-
-
--save
-
-

Specifies whether the archive file from which the software is -installed is saved after installation.

-
-
-
false
-
-

The archive file is not saved. The subcommand deletes the file after -installing the software (default).

-
-
true
-
-

The archive file is saved.

-
-
-
-
-
--installdir
-
-

The absolute path to the parent of the base installation directory -where the \{product---name} software is to be installed on each host, -for example, C:\glassfish3. If the directory does not exist, the -subcommand creates the directory.
-The user that is running this subcommand must have write access to the -specified directory. Otherwise, an error occurs.
-To overwrite an existing an installation of the \{product---name} -software, set the --force option to true. If the directory already -contains an installation and the --force option is false, an error -occurs.
-The default is the parent of the base installation directory of the -\{product---name} software on the host where this subcommand is run.

-
-
--windowsuser
-
-w
-
-

The user on the host where the \{product---name} software is to be -installed that is to run the process for connecting through DCOM to -the host. The default is the user that is running this subcommand.

-
-
--windowsdomain
-
-d
-
-

The name of the Windows domain that contains the user that the ---windowsuser option specifies. The default is the name of the host -on which the subcommand is run.

-
-
--force
-
-

Specifies whether the subcommand overwrites an existing installation -of the \{product---name} software in the directory that the ---installdir option specifies. Possible values are as follows:

-
-
-
false
-
-

The existing installation is not overwritten (default).

-
-
true
-
-

The existing installation is overwritten.

-
-
-
-
-
-
-
-

Operands

-
-
-
-
host-list
-
-

A space-separated list of the names of the hosts where the -\{product---name} software is to be installed.

-
-
-
-
-

Examples

-
-
-

-
-
-

Example 1   Installing \{product---name} Software at the Default -Location

-
-
-

This example installs \{product---name} software on the hosts -wpmdl1.example.com and wpmdl2.example.com at the default location.

-
-
-

Some lines of output are omitted from this example for readability.

-
-
-
-
asadmin> install-node-dcom wpmdl1.example.com wpmdl2.example.com
-Created installation zip C:\glassfish8107276692860773166.zip
-Copying 85760199 bytes..........................................................
-....................................
-WROTE FILE TO REMOTE SYSTEM: C:/glassfish3/glassfish_install.zip and C:/glassfish3/unpack.bat
-Output from Windows Unpacker:
-
-C:\Windows\system32>C:
-
-C:\Windows\system32>cd "C:\glassfish3"
-
-C:\glassfish3>jar xvf glassfish_install.zip
- inflated: bin/asadmin
- inflated: bin/asadmin.bat
- inflated: glassfish/bin/appclient
- inflated: glassfish/bin/appclient.bat
- inflated: glassfish/bin/appclient.js
- inflated: glassfish/bin/asadmin
- inflated: glassfish/bin/asadmin.bat
-...
- inflated: mq/lib/props/broker/default.properties
- inflated: mq/lib/props/broker/install.properties
-
-Command install-node-dcom executed successfully.
-
-
-
-

Exit Status

-
-
-
-
0
-
-

command executed successfully

-
-
1
-
-

error in executing the command

-
-
-
-
-

See Also

-
- - -
-
- -
- - - - - - - - - - - - - - -
- - - Previous - - - - - Next - - - - - Contents - -
- - - Eclipse Foundation Logo  - Copyright © 2019, Oracle and/or its affiliates. All rights reserved. - - - - diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/install-node-ssh.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/install-node-ssh.html index eac2467dbde..2b825057837 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/install-node-ssh.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/install-node-ssh.html @@ -17,7 +17,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + @@ -44,7 +44,7 @@ - + Previous @@ -114,11 +114,7 @@

install-node-ssh

This subcommand is equivalent to the -install-node(1) subcommand. To -install \{product---name} software on hosts that use the Distributed -Component Object Model (DCOM) remote protocol, use the -install-node-dcom(1) -subcommand.

+install-node(1) subcommand.

@@ -385,7 +381,6 @@

install-node-ssh

@@ -402,7 +397,7 @@

install-node-ssh

- + Previous diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/install-node.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/install-node.html index f1a71b07fef..b45f674e5de 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/install-node.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/install-node.html @@ -17,7 +17,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + @@ -51,7 +51,7 @@ - + Next @@ -115,9 +115,6 @@

install-node

This subcommand is equivalent to the install-node-ssh(1) -subcommand. To install \{product---name} software on hosts that use the -Distributed Component Object Model (DCOM) remote protocol, use the -install-node-dcom(1) subcommand.

@@ -384,10 +381,8 @@

install-node

asadmin(1M)

@@ -410,7 +405,7 @@

install-node

- + Next diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-nodes-config.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-nodes-config.html index 4eb88c17d42..18a1318537e 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-nodes-config.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-nodes-config.html @@ -17,7 +17,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + @@ -51,7 +51,7 @@ - + Next @@ -271,13 +271,10 @@

list-nodes-config

@@ -300,7 +297,7 @@

list-nodes-config

- + Next diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-nodes-dcom.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-nodes-dcom.html deleted file mode 100644 index 3fc7372ffee..00000000000 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-nodes-dcom.html +++ /dev/null @@ -1,328 +0,0 @@ - - - - - - - - list-nodes-dcom - - - - - - - - - -
- list-nodes-dcom
-
-
- - - - - - - - - - - - - - -
- - - Previous - - - - - Next - - - - - Contents - -
- - -
-
-
-

-
-
-
-
-

list-nodes-dcom

-
-
-

lists all \{product---name} nodes that support communication over DCOM -in a domain

-
-
-

Synopsis

-
-
-
-
asadmin [asadmin-options] list-nodes-dcom [--help]
-[--long={false|true}]
-
-
-
-

Description

-
-
-

The list-nodes-dcom subcommand lists all \{product---name} nodes that -support communication over the Distributed Component Object Model (DCOM) -remote protocol. The DCOM protocol is available only on Windows systems.

-
-
- - - - - -
-
Note
-
-
-

To list all nodes in a domain regardless of the type of the node, run -the list-nodes(1) subcommand.

-
-
-
-
-

By default, the subcommand displays the following information for each -node that is listed:

-
-
-
    -
  • -

    The name of the node

    -
  • -
  • -

    The type of the node, which is DCOM

    -
  • -
  • -

    The name of the host that the node represents

    -
  • -
-
-
-

The --long option of the subcommand specifies whether the nodes are -listed in long format. In long format, the following additional -information about each node is displayed:

-
-
-
    -
  • -

    The path to the parent of the base installation directory of -\{product---name} on the host that the node represents

    -
  • -
  • -

    A comma-separated list of the names of the \{product---name} instances -that reside on the node

    -
  • -
-
-
-

If the --terse option of the -asadmin(1M) utility is true and the ---long option of the subcommand is false, the subcommand lists only -the name of each node.

-
-
-

This subcommand is supported in remote mode only.

-
-
-

Options

-
-
-
-
asadmin-options
-
-

Options for the asadmin utility. For information about these -options, see the asadmin(1M) help page.

-
-
--help
-
-?
-
-

Displays the help text for the subcommand.

-
-
--long
-
-l
-
-

Specifies whether the nodes are listed in long format.
-Possible values are as follows:

-
-
-
true
-
-

The nodes are listed in long format.

-
-
false
-
-

The nodes are listed in short format (default).

-
-
-
-
-
-
-
-

Examples

-
-
-

-
-
-

Example 1   Listing \{product---name} Nodes

-
-
-

This example displays the name, type, and host for all \{product---name} -nodes that support communication over DCOM in a domain.

-
-
-
-
asadmin> list-nodes-dcom
-xkyd  DCOM  xkyd.example.com
-wpmdl2  DCOM  wpmdl2.example.com
-wpmdl1  DCOM  wpmdl1.example.com
-Command list-nodes-dcom executed successfully.
-
-
-
-

-
-
-

Example 2   Listing Only the Names of \{product---name} Nodes

-
-
-

This example uses the --terse option of the asadmin utility to list -only the names of the \{product---name} nodes that support communication -over DCOM in a domain.

-
-
-
-
asadmin> list-nodes-dcom --terse=true
-xkyd
-wpmdl2
-wpmdl1
-
-
-
-

-
-
-

Example 3   Listing \{product---name} Nodes in Long Format

-
-
-

This example lists the \{product---name} nodes that support -communication over DCOM in a domain in long format.

-
-
-
-
asadmin> list-nodes-dcom --long=true
-NODE NAME    TYPE   NODE HOST            INSTALL DIRECTORY   REFERENCED BY
-xkyd         DCOM   xkyd.example.com     C:\glassfish3
-wpmdl2       DCOM   wpmdl2.example.com   C:\glassfish3       wdi2
-wpmdl1       DCOM   wpmdl1.example.com   C:\glassfish3       wdi1
-Command list-nodes-dcom executed successfully.
-
-
-
-

Exit Status

-
-
-
-
0
-
-

command executed successfully

-
-
1
-
-

error in executing the command

-
-
-
-
-

See Also

-
- - -
-
- -
- - - - - - - - - - - - - - -
- - - Previous - - - - - Next - - - - - Contents - -
- - - Eclipse Foundation Logo  - Copyright © 2019, Oracle and/or its affiliates. All rights reserved. - - - - diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-nodes-ssh.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-nodes-ssh.html index 67b6a49a898..b594efdc219 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-nodes-ssh.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-nodes-ssh.html @@ -17,7 +17,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + @@ -44,7 +44,7 @@ - + Previous @@ -270,15 +270,12 @@

list-nodes-ssh

asadmin(1M)

@@ -293,7 +290,7 @@

list-nodes-ssh

- + Previous diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-nodes.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-nodes.html index 9fa1fca9d0c..2205650e2a1 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-nodes.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-nodes.html @@ -17,7 +17,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + @@ -113,11 +113,6 @@

list-nodes

The node does not support remote communication.

-
DCOM
-
-

The node supports communication over the Distributed Component Object -Model (DCOM) remote protocol.

-
SSH

The node supports communication over secure shell (SSH).

@@ -277,13 +272,10 @@

list-nodes

diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/ping-connection-pool.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/ping-connection-pool.html index 52ec1e67cec..58e0e3b2e92 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/ping-connection-pool.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/ping-connection-pool.html @@ -17,7 +17,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + @@ -51,7 +51,7 @@ - + Next @@ -240,7 +240,7 @@

ping-connection-pool

- + Next diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/ping-node-dcom.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/ping-node-dcom.html deleted file mode 100644 index 64184d8967f..00000000000 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/ping-node-dcom.html +++ /dev/null @@ -1,299 +0,0 @@ - - - - - - - - ping-node-dcom - - - - - - - - - -
- ping-node-dcom
-
-
- - - - - - - - - - - - - - -
- - - Previous - - - - - Next - - - - - Contents - -
- - -
-
-
-

-
-
-
-
-

ping-node-dcom

-
-
-

tests if a node that is enabled for communication over DCOM is usable

-
-
-

Synopsis

-
-
-
-
asadmin [asadmin-options] ping-node-dcom [--help]
-[--validate={false|true}] node-name
-
-
-
-

Description

-
-
-

The ping-node-dcom subcommand tests if a node that is enabled for -communication over the Distributed Component Object Model (DCOM) remote -protocol is usable. The DCOM protocol is available only on Windows -systems. This subcommand requires DCOM to be configured on the machine -where the domain administration server (DAS) is running and on the -machine where the node resides. You may run this command from any -machine that can contact the DAS.

-
-
-

If the node is usable, the subcommand displays a confirmation that the -subcommand could connect to the node through DCOM. This confirmation -includes the name of the host that the node represents.

-
-
-

Optionally, the subcommand can also validate the node to determine if -the asadmin(1M) utility can run on the -host that the node represents. To validate a node, the subcommand runs -the version(1) subcommand. If the node is -valid, the subcommand displays the version that the version subcommand -returns.

-
-
-

The node that is specified as the operand of this subcommand must be -enabled for communication over DCOM. If the node is not enabled for -communication over DCOM, an error occurs. To determine whether a node is -enabled for communication over DCOM, use the -list-nodes(1) subcommand.

-
-
- - - - - -
-
Note
-
-
-

To test whether a node that is enabled for communication over secure -shell (SSH) is usable, use the -ping-node-ssh(1) subcommand.

-
-
-
-
-

This subcommand is supported in remote mode only.

-
-
-

Options

-
-
-
-
asadmin-options
-
-

Options for the asadmin utility. For information about these -options, see the asadmin(1M) help page.

-
-
--help
-
-?
-
-

Displays the help text for the subcommand.

-
-
--validate
-
-

Specifies whether the subcommand validates the node.
-Possible values are as follows:

-
-
-
true
-
-

The node is validated.

-
-
false
-
-

The node is not validated (default).

-
-
-
-
-
-
-
-

Operands

-
-
-
-
node-name
-
-

The name of the node to test. The node must be enabled for -communication over DCOM. Otherwise, an error occurs.

-
-
-
-
-

Examples

-
-
-

-
-
-

Example 1   Testing if a DCOM-Enabled Node Is Usable

-
-
-

This example tests if the DCOM-enabled node wpmd2 is usable.

-
-
-
-
asadmin> ping-node-dcom wpmdl2
-Successfully made DCOM connection to node wpmdl2 (wpmdl2.example.com)
-Command ping-node-dcom executed successfully.
-
-
-
-

-
-
-

Example 2   Validating a DCOM-Enabled Node

-
-
-

This example validates the DCOM-enabled node adc-node.

-
-
-
-
asadmin> ping-node-dcom --validate=true adc-node
-Successfully made DCOM connection to node adc-node (adc-node.example.com)
-GlassFish version found at C:\glassfish3:
-Using locally retrieved version string from version class.
-Version = Payara Server Open Source Edition 3.1.2 (build 18)
-Command version executed successfully.
-Command ping-node-dcom executed successfully.
-
-
-
-

Exit Status

-
-
-
-
0
-
-

command executed successfully

-
-
1
-
-

error in executing the command

-
-
-
-
-

See Also

-
- - -
-
- -
- - - - - - - - - - - - - - -
- - - Previous - - - - - Next - - - - - Contents - -
- - - Eclipse Foundation Logo  - Copyright © 2019, Oracle and/or its affiliates. All rights reserved. - - - - diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/ping-node-ssh.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/ping-node-ssh.html index 6f378c8404d..f41ffe6037e 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/ping-node-ssh.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/ping-node-ssh.html @@ -17,7 +17,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + @@ -44,7 +44,7 @@ - + Previous @@ -120,22 +120,6 @@

ping-node-ssh

enabled for communication over SSH, use the list-nodes(1) subcommand.

-
- - - - - -
-
Note
-
-
-

To test whether a node that is enabled for communication over the -Distributed Component Object Model (DCOM) remote protocol is usable, use -the ping-node-dcom(1) -subcommand.

-
-

This subcommand is supported in remote mode only.

@@ -250,7 +234,6 @@

ping-node-ssh

create-node-ssh(1), delete-node-ssh(1), list-nodes(1), -ping-node-dcom(1), setup-ssh(1), update-node-ssh(1), version(1)

@@ -268,7 +251,7 @@

ping-node-ssh

- + Previous diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/set-log-levels.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/set-log-levels.html index ee38a1b508b..962b983bb89 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/set-log-levels.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/set-log-levels.html @@ -17,7 +17,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + @@ -51,7 +51,7 @@ - + Next @@ -239,7 +239,7 @@

set-log-levels

- + Next diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/setup-local-dcom.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/setup-local-dcom.html deleted file mode 100644 index 10109d30840..00000000000 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/setup-local-dcom.html +++ /dev/null @@ -1,301 +0,0 @@ - - - - - - - - setup-local-dcom - - - - - - - - - -
- setup-local-dcom
-
-
- - - - - - - - - - - - - - -
- - - Previous - - - - - Next - - - - - Contents - -
- - -
-
-
-

-
-
-
-
-

setup-local-dcom

-
-
-

sets up DCOM on a host

-
-
-

Synopsis

-
-
-
-
asadmin [asadmin-options] setup-local-dcom [--help]
-[--verbose={false|true}]
---force={false|true}
-
-
-
-

Description

-
-
-

The setup-local-dcom subcommand sets up the Distributed Component -Object Model (DCOM) remote protocol on the host where the subcommand is -run. The DCOM remote protocol is available only on Windows systems.

-
-
-

This subcommand must be run by the operating-system-level administrator -user on the host where DCOM is being set up.

-
-
-

Setting up DCOM on a host ensures that scripts can be run on the host -from a remote host. To run scripts on the host from a remote host, the -Windows user must be allowed full control over some Windows registry -keys.

-
-
-

In some versions of Windows, only the user NT SERVICE\TrustedInstaller -has full control over these Windows registry keys. If the version of -Windows on a host is configured in this way, this subcommand modifies -these keys to allow full control over them for the Windows user.

-
-
- - - - - -
-
Caution
-
-
-

This subcommand might modify the permissions of some keys in the Windows -registry. Before running this command, back up the Windows registry.

-
-
-
-
-

By default, the subcommand prompts you to confirm that you want to -update the Windows registry. To run the subcommand without being -prompted, set the --force option to true.

-
-
-

This subcommand is supported in local mode only.

-
-
-

Options

-
-
-
-
asadmin-options
-
-

Options for the asadmin utility. For information about these -options, see the asadmin(1M) help page.

-
-
--help
-
-?
-
-

Displays the help text for the subcommand.

-
-
--verbose
-
-v
-
-

Specifies whether the subcommand displays information about the -operations that are performed to set up DCOM on the host.
-Possible values are as follows:

-
-
-
false
-
-

No information about the operations that are performed to set up -DCOM is displayed (default).

-
-
true
-
-

The subcommand displays information about the operations that are -performed to set up DCOM on the host.

-
-
-
-
-
--force
-
-f
-
-

Specifies whether the subcommand prompts you to confirm that you want -to update the Windows registry.
-Possible values are as follows:

-
-
-
false
-
-

You are prompted to confirm that you want to update the Windows -registry (default).

-
-
true
-
-

The subcommand forcibly updates the Windows registry without -prompting you.

-
-
-
-
-
-
-
-

Examples

-
-
-

-
-
-

Example 1   Setting Up DCOM on a Host

-
-
-

This example sets up DCOM on the host where the subcommand is run.

-
-
-
-
asadmin> setup-local-dcom
-Caution: This command might modify the permissions of some keys in the Windows
-registry.
-Before running this command, back up the Windows registry.
-The modification allows the Windows user full control over these keys.
-
-Are you sure that you want to edit the Windows registry? If so, type yes in full: yes
-Command setup-local-dcom executed successfully.
-
-
-
-

-
-
-

Example 2   Forcibly Setting Up DCOM on a Host

-
-
-

This example sets up DCOM without prompting for confirmation that the -user wants to update the Windows registry.

-
-
-
-
asadmin> setup-local-dcom --force=true
-Command setup-local-dcom executed successfully.
-
-
-
-

Exit Status

-
-
-
-
0
-
-

command executed successfully

-
-
1
-
-

error in executing the command

-
-
-
-
-

See Also

-
- -
-
- -
- - - - - - - - - - - - - - -
- - - Previous - - - - - Next - - - - - Contents - -
- - - Eclipse Foundation Logo  - Copyright © 2019, Oracle and/or its affiliates. All rights reserved. - - - - diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/setup-ssh.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/setup-ssh.html index 1b8ab3d6ea7..ca0fab6cd0f 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/setup-ssh.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/setup-ssh.html @@ -17,7 +17,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + @@ -44,7 +44,7 @@ - + Previous @@ -447,7 +447,7 @@

setup-ssh

- + Previous diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/start-cluster.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/start-cluster.html index 4b817215461..c75534ad97f 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/start-cluster.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/start-cluster.html @@ -17,7 +17,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + @@ -96,8 +96,7 @@

start-cluster

The start-cluster subcommand starts a cluster by starting all \{product---name} instances in the cluster that are not already running. -This subcommand requires the Distributed Component Object Model (DCOM) -remote protocol or secure shell (SSH) to be configured on the host where +This subcommand requires the secure shell (SSH) to be configured on the host where the domain administration server (DAS) is running and on all hosts where instances in the cluster reside.

@@ -109,9 +108,9 @@

start-cluster

-

If all instances reside on the same host as the DAS, DCOM or SSH is not +

If all instances reside on the same host as the DAS or SSH is not required. You might require to start a cluster in which instances reside -on hosts where DCOM or SSH is not configured that are remote from the +on hosts where SSH is not configured that are remote from the DAS. In this situation, run the start-local-instance(1) subcommand for each instance from the host where the instance resides.

@@ -232,8 +231,7 @@

start-cluster

list-clusters(1), setup-ssh(1), start-local-instance(1), -stop-cluster(1), -validate-dcom(1)

+stop-cluster(1)

diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/start-instance.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/start-instance.html index b6c33d0eb77..e7e6a6a723c 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/start-instance.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/start-instance.html @@ -17,7 +17,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + @@ -95,8 +95,7 @@

start-instance

The start-instance subcommand starts a \{product---name} instance. -This subcommand requires the Distributed Component Object Model (DCOM) -remote protocol or secure shell (SSH) to be configured on the machine +This subcommand requires the secure shell (SSH) to be configured on the machine where the domain administration server (DAS) is running and on the machine where the instance resides.

@@ -108,9 +107,9 @@

start-instance

-

DCOM or SSH is not required if the instance resides on a node of type +

SSH is not required if the instance resides on a node of type CONFIG that represents the local host. A node of type CONFIG is not -enabled for remote communication over DCOM or SSH.

+enabled for remote communication over SSH.

@@ -309,8 +308,7 @@

start-instance

start-local-instance(1), stop-domain(1), stop-instance(1), -stop-local-instance(1), -validate-dcom(1)

+stop-local-instance(1)

diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/start-local-instance.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/start-local-instance.html index ef822a37233..940a80207a5 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/start-local-instance.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/start-local-instance.html @@ -17,7 +17,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + @@ -100,8 +100,7 @@

start-local-instance

The start-local-instance subcommand starts a \{product---name} instance on the host where the subcommand is run. This subcommand does -not require the Distributed Component Object Model (DCOM) remote -protocol or secure shell (SSH) to be configured. You must run this +not require the secure shell (SSH) to be configured. You must run this command from the host where the instance resides.

diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/toc.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/toc.html index 80a5cbf1f2d..3e2f803d6c5 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/toc.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/toc.html @@ -228,9 +228,6 @@

create-node-config

  • -

    create-node-dcom

    -
  • -
  • create-node-ssh

  • @@ -384,9 +381,6 @@

    delete-node-config

  • -

    delete-node-dcom

    -
  • -
  • delete-node-ssh

  • @@ -498,9 +492,6 @@

    install-node

  • -

    install-node-dcom

    -
  • -
  • install-node-ssh

  • @@ -660,9 +651,6 @@

    list-nodes-config

  • -

    list-nodes-dcom

    -
  • -
  • list-nodes-ssh

  • @@ -741,9 +729,6 @@

    ping-connection-pool

  • -

    ping-node-dcom

    -
  • -
  • ping-node-ssh

  • @@ -789,9 +774,6 @@

    set-log-levels

  • -

    setup-local-dcom

    -
  • -
  • setup-ssh

  • @@ -843,9 +825,6 @@

    uninstall-node

  • -

    uninstall-node-dcom

    -
  • -
  • uninstall-node-ssh

  • @@ -870,9 +849,6 @@

    update-node-config

  • -

    update-node-dcom

    -
  • -
  • update-node-ssh

  • @@ -882,9 +858,6 @@

    uptime

  • -

    validate-dcom

    -
  • -
  • validate-multicast

  • diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/uninstall-node-dcom.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/uninstall-node-dcom.html deleted file mode 100644 index c95b8e89e21..00000000000 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/uninstall-node-dcom.html +++ /dev/null @@ -1,348 +0,0 @@ - - - - - - - - uninstall-node-dcom - - - - - - - - - -
    - uninstall-node-dcom
    -
    -
    - - - - - - - - - - - - - - -
    - - - Previous - - - - - Next - - - - - Contents - -
    - - -
    -
    -
    -

    -
    -
    -
    -
    -

    uninstall-node-dcom

    -
    -
    -

    uninstalls \{product---name} software from specified DCOM-enabled hosts

    -
    -
    -

    Synopsis

    -
    -
    -
    -
    asadmin [asadmin-options] uninstall-node-dcom [--help]
    -[--installdir as-install-parent]
    -[--windowsuser windows-user] [--windowsdomain windows-domain]
    -[--force={false|true}]
    -host-list
    -
    -
    -
    -

    Description

    -
    -
    -

    The uninstall-node-dcom subcommand uninstalls \{product---name} -software from the hosts that are specified as the operand of the -subcommand. This subcommand requires the Distributed Component Object -Model (DCOM) remote protocol to be configured on the host where the -subcommand is run and on each host where the \{product---name} software -is being uninstalled.

    -
    -
    - - - - - -
    -
    Note
    -
    -
    -

    To uninstall \{product---name} software on hosts that use secure shell -(SSH), use the -uninstall-node-ssh(1) -subcommand.

    -
    -
    -
    -
    -

    By default, if any node except the predefined node localhost-`domain -resides on any host from which \{product---name} software is being -uninstalled, the subcommand fails. To uninstall the \{product---name} -software from a host on which user-defined nodes reside, set the -`--force option to true. If the --force option is true, the -subcommand removes the entire content of the parent of the base -installation directory.

    -
    -
    -

    If a file under the parent of the base installation directory is open, -the subcommand fails.

    -
    -
    -

    If multiple hosts are specified, the configuration of the following -items must be the same on all hosts:

    -
    -
    -
      -
    • -

      Parent of the base installation directory for the \{product---name} -software

      -
    • -
    • -

      Windows user

      -
    • -
    • -

      Windows domain

      -
    • -
    -
    -
    -

    The subcommand does not modify the configuration of the domain -administration server (DAS).

    -
    -
    -

    This subcommand is supported in local mode only.

    -
    -
    -

    Options

    -
    -
    -
    -
    asadmin-options
    -
    -

    Options for the asadmin utility. For information about these -options, see the asadmin(1M) help page.

    -
    -
    --help
    -
    -?
    -
    -

    Displays the help text for the subcommand.

    -
    -
    --installdir
    -
    -

    The absolute path to the parent of the base installation directory -where the \{product---name} software is installed on each host, for -example, C:\glassfish3.
    -The user that is running this subcommand must have write access to the -specified directory. Otherwise, an error occurs.
    -The specified directory must contain the installation of the -\{product---name} software on the host. Otherwise, an error occurs.
    -The default is the parent of the base installation directory of the -\{product---name} software on the host where this subcommand is run.

    -
    -
    --windowsuser
    -
    -w
    -
    -

    The user on this node’s host that is to run the process for connecting -to the host through DCOM. The default is the user that is running the -DAS process.

    -
    -
    --windowsdomain
    -
    -d
    -
    -

    The name of the Windows domain that contains the user that the ---windowsuser option specifies. The default is the name of the host -on which the subcommand is run.

    -
    -
    --force
    -
    -

    Specifies whether the subcommand uninstalls the \{product---name} -software from a host even if a user-defined node resides on the host. -Possible values are as follows:

    -
    -
    -
    false
    -
    -

    If a user-defined node resides on a host, the software is not -uninstalled and the subcommand fails (default).
    -If the --force option is false, the subcommand removes only the -\{product---name} software files. Other content if the parent of the -base installation directory, such as configuration files, are not -removed.

    -
    -
    true
    -
    -

    The subcommand uninstalls the \{product---name} software from the -host even if a user-defined node resides on the host.
    -If the --force option is true, the subcommand removes the entire -content of the parent of the base installation directory.

    -
    -
    -
    -
    -
    -
    -
    -

    Operands

    -
    -
    -
    -
    host-list
    -
    -

    A space-separated list of the names of the hosts from which the -\{product---name} software is to be uninstalled.

    -
    -
    -
    -
    -

    Examples

    -
    -
    -

    -
    -
    -

    Example 1   Uninstalling \{product---name} Software From the Default -Location

    -
    -
    -

    This example uninstalls \{product---name} software on the hosts -wpmdl1.example.com and wpmdl2.example.com from the default location.

    -
    -
    -
    -
    asadmin> uninstall-node-dcom wpmdl1 wpmdl2
    -Command uninstall-node-dcom executed successfully.
    -
    -
    -
    -

    -
    -
    -

    Example 2   Forcibly Uninstalling \{product---name} Software

    -
    -
    -

    This example uninstalls \{product---name} software on the host -xkyd.example.com.

    -
    -
    -

    The software is uninstalled even if a user-defined node resides on the -host. The entire content of the C:\glassfish3 directory is removed.

    -
    -
    -
    -
    asadmin> uninstall-node-dcom --force --installdir C:\glassfish3 xkyd.example.com
    -Command uninstall-node-dcom executed successfully.
    -
    -
    -
    -

    Exit Status

    -
    -
    -
    -
    0
    -
    -

    command executed successfully

    -
    -
    1
    -
    -

    error in executing the command

    -
    -
    -
    -
    -

    See Also

    -
    - - -
    -
    - -
    - - - - - - - - - - - - - - -
    - - - Previous - - - - - Next - - - - - Contents - -
    - - - Eclipse Foundation Logo  - Copyright © 2019, Oracle and/or its affiliates. All rights reserved. - - - - diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/uninstall-node-ssh.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/uninstall-node-ssh.html index 565f990201d..350f3e0e728 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/uninstall-node-ssh.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/uninstall-node-ssh.html @@ -17,7 +17,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + @@ -44,7 +44,7 @@ - + Previous @@ -113,9 +113,6 @@

    uninstall-node-ssh

    This subcommand is equivalent to the uninstall-node(1) -subcommand. To uninstall \{product---name} software from hosts that use -the Distributed Component Object Model (DCOM) remote protocol, use the -uninstall-node-dcom(1) subcommand.

    @@ -347,8 +344,7 @@

    uninstall-node-ssh

  • @@ -363,7 +359,7 @@

    uninstall-node-ssh

    - + Previous diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/uninstall-node.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/uninstall-node.html index dc052c1c73b..4082b1d4814 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/uninstall-node.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/uninstall-node.html @@ -17,7 +17,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + @@ -51,7 +51,7 @@ - + Next @@ -113,9 +113,6 @@

    uninstall-node

    This subcommand is equivalent to the uninstall-node-ssh(1) -subcommand. To uninstall \{product---name} software on hosts that use -the Distributed Component Object Model (DCOM) remote protocol, use the -uninstall-node-dcom(1) subcommand.

    @@ -346,9 +343,7 @@

    uninstall-node

    @@ -371,7 +366,7 @@

    uninstall-node

    - + Next diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/update-node-config.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/update-node-config.html index b4e60b1b884..5d542a80916 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/update-node-config.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/update-node-config.html @@ -17,7 +17,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + @@ -51,7 +51,7 @@ - + Next @@ -110,8 +110,7 @@

    update-node-config

    existing value unchanged.

    -

    This subcommand does not require the Distributed Component Object Model -(DCOM) remote protocol or secure shell (SSH) to be configured to update +

    This subcommand does not require the secure shell (SSH) to be configured to update the node. You may run this subcommand from any host that can contact the DAS.

    @@ -208,19 +207,14 @@

    update-node-config

    @@ -243,7 +237,7 @@

    update-node-config

    - + Next diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/update-node-ssh.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/update-node-ssh.html deleted file mode 100644 index aafe3e61f8b..00000000000 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/update-node-ssh.html +++ /dev/null @@ -1,366 +0,0 @@ - - - - - - - - update-node-dcom - - - - - - - - - -
    - update-node-dcom
    -
    -
    - - - - - - - - - - - - - - -
    - - - Previous - - - - - Next - - - - - Contents - -
    - - -
    -
    -
    -

    -
    -
    -
    -
    -

    update-node-dcom

    -
    -
    -

    updates the configuration data of a node

    -
    -
    -

    Synopsis

    -
    -
    -
    -
    asadmin [asadmin-options] update-node-dcom [--help]
    -[--nodehost node-host]
    -[--installdir as-install-parent] [--nodedir node-dir]
    -[--windowsuser windows-user] [--windowsdomain windows-domain]
    -[--force={false|true}]
    -node-name
    -
    -
    -
    -

    Description

    -
    -
    -

    The update-node-dcom subcommand updates the configuration data of a -node. This subcommand requires the Distributed Component Object Model -(DCOM) remote protocol to be configured on the host where the domain -administration server (DAS) is running and on the host where the node -resides. The DCOM protocol is available only on Windows systems.You may -run this subcommand from any host that can contact the DAS.

    -
    -
    -

    This subcommand can update any node, regardless of whether the node is -enabled for remote communication. If the node is not enabled for remote -communication, the subcommand enables DCOM communication for the node -and updates any other specified configuration data.

    -
    -
    -

    Options of this subcommand specify the new values of the node’s -configuration data. The default for most options is to leave the -existing value unchanged. However, if this subcommand is run to enable -DCOM communication for a node, default values are applied if any of the -following options is omitted:

    -
    -
    -
      -
    • -

      --windowsuser

      -
    • -
    • -

      --windowsdomain

      -
    • -
    -
    -
    -

    By default, the subcommand fails and the node is not updated if the DAS -cannot contact the node’s host through DCOM. To force the node to be -updated even if the host cannot be contacted through DCOM, set the ---force option to true.

    -
    -
    -

    This subcommand is supported in remote mode only.

    -
    -
    -

    Options

    -
    -
    -
    -
    asadmin-options
    -
    -

    Options for the asadmin utility. For information about these -options, see the asadmin(1M) help page.

    -
    -
    --help
    -
    -?
    -
    -

    Displays the help text for the subcommand.

    -
    -
    --nodehost
    -
    -

    The name of the host that the node is to represent after the node is -updated.

    -
    -
    --installdir
    -
    -

    The full path to the parent of the base installation directory of the -\{product---name} software on the host, for example, -/export/glassfish3/.

    -
    -
    --nodedir
    -
    -

    The path to the directory that is to contain \{product---name} -instances that are created on the node. If a relative path is -specified, the path is relative to the as-install directory, where -as-install is the base installation directory of the \{product---name} -software on the host.

    -
    -
    --windowsuser
    -
    -w
    -
    -

    The user on this node’s host that is to run the process for connecting -to the host through DCOM. The default depends on whether this -subcommand is run to enable DCOM communication for the node:

    -
    -
      -
    • -

      If the node is already enabled for communication over DCOM, the -default is to leave the user unchanged.

      -
    • -
    • -

      If this subcommand is run to enable DCOM communication for the node, -the default is the user that is running the DAS process.
      -If the --nodehost option is set to localhost, the --windowsuser -option is ignored.

      -
    • -
    -
    -
    -
    --windowsdomain
    -
    -d
    -
    -

    The name of the Windows domain that contains the user that the ---windowsuser option specifies. The default depends on whether this -subcommand is run to enable DCOM communication for the node:

    -
    -
      -
    • -

      If the node is already enabled for communication over DCOM, the -default is to leave the domain unchanged.

      -
    • -
    • -

      If this subcommand is run to enable DCOM communication for the node, -the default is the name of the host on which the subcommand is run.

      -
    • -
    -
    -
    -
    --force
    -
    -

    Specifies whether the node is updated even if validation of the node’s -parameters fails. To validate a node’s parameters, the DAS must be -able to contact the node’s host through DCOM. Possible values are as -follows:

    -
    -
    -
    false
    -
    -

    The node is not updated if validation of the node’s parameters fails -(default).

    -
    -
    true
    -
    -

    The node is updated even if validation of the node’s parameters -fails.

    -
    -
    -
    -
    -
    -
    -
    -

    Operands

    -
    -
    -
    -
    node-name
    -
    -

    The name of the node to update. The node must exist. Otherwise, an -error occurs.

    -
    -
    -
    -
    -

    Examples

    -
    -
    -

    -
    -
    -

    Example 1   Updating the Host That a Node Represents

    -
    -
    -

    This example updates the host that the node wpmdl1 represents to -wj01.

    -
    -
    -
    -
    asadmin> update-node-dcom --nodehost wj01 wpmdl1
    -Command update-node-dcom executed successfully.
    -
    -
    -
    -

    -
    -
    -

    Example 2   Forcing the Update of a Node

    -
    -
    -

    This example forces the update of the node xkyd to enable the node to -communicate over DCOM.

    -
    -
    -
    -
    asadmin> update-node-dcom --force xkyd
    -Warning: some parameters appear to be invalid.
    -Could not find a remote Glassfish installation on host: xkyd.example.com at
    -C:\glassfish3\glassfish
    -Continuing with node update due to use of --force.
    -Command update-node-dcom executed successfully.
    -
    -
    -
    -

    Exit Status

    -
    -
    -
    -
    0
    -
    -

    command executed successfully

    -
    -
    1
    -
    -

    error in executing the command

    -
    -
    -
    -
    -

    See Also

    -
    - - -
    -
    - -
    - - - - - - - - - - - - - - -
    - - - Previous - - - - - Next - - - - - Contents - -
    - - - Eclipse Foundation Logo  - Copyright © 2019, Oracle and/or its affiliates. All rights reserved. - - - - diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/update-node-ssh001.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/update-node-ssh001.html index 27c97abda22..a5e16338c56 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/update-node-ssh001.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/update-node-ssh001.html @@ -17,7 +17,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + @@ -44,7 +44,7 @@ - + Previous @@ -342,21 +342,16 @@

    update-node-ssh

    asadmin(1M)

    @@ -371,7 +366,7 @@

    update-node-ssh

    - + Previous diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/uptime.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/uptime.html index 4561e053c49..a558c7cf19e 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/uptime.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/uptime.html @@ -17,7 +17,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + @@ -51,7 +51,7 @@ - + Next @@ -181,7 +181,7 @@

    uptime

    - + Next diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/validate-dcom.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/validate-dcom.html deleted file mode 100644 index 77c546dae79..00000000000 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/validate-dcom.html +++ /dev/null @@ -1,376 +0,0 @@ - - - - - - - - validate-dcom - - - - - - - - - -
    - validate-dcom
    -
    -
    - - - - - - - - - - - - - - -
    - - - Previous - - - - - Next - - - - - Contents - -
    - - -
    -
    -
    -

    -
    -
    -
    -
    -

    validate-dcom

    -
    -
    -

    tests the connection over DCOM to a remote host

    -
    -
    -

    Synopsis

    -
    -
    -
    -
    asadmin [asadmin-options] validate-dcom [--help]
    -[--windowsuser windows-user] [--windowsdomain windows-domain]
    -[--remotetestdir remote-test-directory]
    -[--verbose={false|true}] host-name
    -
    -
    -
    -

    Description

    -
    -
    -

    The validate-dcom subcommand tests the connection over the Distributed -Component Object Model (DCOM) remote protocol to the remote host that is -specified as the operand of the subcommand. The DCOM protocol is -available only on Windows systems.

    -
    -
    -

    The prerequisites for running this subcommand are as follows:

    -
    -
    -
      -
    • -

      DCOM must be configured on the host where the domain administration -server (DAS) is running and on the remote host that is specified as the -operand of the subcommand.

      -
    • -
    • -

      The following ports must be open on the remote host:

      -
      -
        -
      • -

        DCOM port 135 or 139

        -
      • -
      • -

        Windows Shares port 445

        -
      • -
      -
      -
    • -
    • -

      The Server Windows Service is enabled on the remote host.

      -
    • -
    -
    -
    -

    This subcommand verifies whether the prerequisites for creating a DCOM -node or creating a \{product---name} instance on a DCOM node are met. If -this subcommand fails, any attempt to create a DCOM node or create an -instance on a DCOM node will also fail.

    -
    -
    -

    You may run this command from any machine that can contact the DAS.

    -
    -
    -

    The subcommand tests the connection over DCOM to the remote host by -performing the following operations on the remote host:

    -
    -
    -
      -
    • -

      Resolving the host name

      -
    • -
    • -

      Connecting to DCOM through port 135 or 139

      -
    • -
    • -

      Connecting to Windows Shares through port 445

      -
    • -
    • -

      Copying a script that is named delete_me.bat in the folder that is -specified by the --remotetestdir option

      -
    • -
    • -

      Running the script to obtain a listing of the folder in which the -delete_me.bat was written

      -
    • -
    -
    -
    -

    By default, the subcommand displays no information about the operations -that are performed to test the connection to the remote host. To display -information about these operations, set the --verbose option to -true.

    -
    -
    -

    This subcommand is supported in remote mode only.

    -
    -
    -

    Options

    -
    -
    -
    -
    asadmin-options
    -
    -

    Options for the asadmin utility. For information about these -options, see the asadmin(1M) help page.

    -
    -
    --help
    -
    -?
    -
    -

    Displays the help text for the subcommand.

    -
    -
    --windowsuser
    -
    -w
    -
    -

    The user on the remote host that is to run the process for connecting -to that host through DCOM. The default is the user that is running the -DAS process.

    -
    -
    --windowsdomain
    -
    -d
    -
    -

    The name of the Windows domain that contains the user that the ---windowsuser option specifies. The default is the name of the host -on which the subcommand is run.

    -
    -
    --remotetestdir
    -
    -

    Specifies the folder on the remote host in which the subcommand -creates the delete_me.bat file. The user that the --windowsuser -option specifies must have write access to this folder. Otherwise an -error occurs. The default is C:\

    -
    -
    --verbose
    -
    -v
    -
    -

    Specifies whether the subcommand displays information about the -operations that are performed to test the connection to the remote -host.
    -Possible values are as follows:

    -
    -
    -
    false
    -
    -

    No information about the operations that are performed to test the -connection is displayed (default).

    -
    -
    true
    -
    -

    The subcommand displays information about the operations that are -performed to test the connection.
    -If the --verbose option is true and the AS_DEBUG environment -variable is set, the subcommand also displays the command line for -each process that is running on the remote host.

    -
    -
    -
    -
    -
    -
    -
    -

    Operands

    -
    -
    -
    -
    host-name
    -
    -

    The name of the host to which to test the connection over DCOM.

    -
    -
    -
    -
    -

    Examples

    -
    -
    -

    -
    -
    -

    Example 1   Testing the Connection Over DCOM to a Remote Host

    -
    -
    -

    This example tests the connection over DCOM to the host wpmdl2.

    -
    -
    -
    -
    asadmin> validate-dcom --wpmdl2
    -Command validate-dcom executed successfully.
    -
    -
    -
    -

    -
    -
    -

    Example 2   Verbosely Testing the Connection Over DCOM to a Remote Host

    -
    -
    -

    This example tests the connection over DCOM to the host wpmdl2 and -displays information about the operations that are performed to test the -connection to the remote host.

    -
    -
    -
    -
    asadmin> validate-dcom --verbose wpmdl2
    -
    -Successfully resolved host name to: wpmdl2/192.168.122.106
    -Successfully connected to DCOM Port at port 135 on host wpmdl2.
    -Successfully connected to NetBIOS Session Service at port 139 on host wpmdl2.
    -Successfully connected to Windows Shares at port 445 on host wpmdl2.
    -Successfully accessed C: on wpmdl2 using DCOM.
    -Successfully wrote delete_me.bat to C: on wpmdl2 using DCOM.
    -Successfully accessed WMI (Windows Management Interface) on wpmdl2. There are 40
    -processes running on wpmdl2.
    -Successfully ran the test script on wpmdl2 using DCOM.
    -The script simply ran the DIR command. Here are the first few lines from the
    -output of the dir command on the remote machine:
    -
    -C:\Windows\system32>dir C:\
    - Volume in drive C has no label.
    - Volume Serial Number is XXXX-XXX
    -
    - Directory of C:\
    -
    -12/05/2011  10:21 AM                63 .asadminpass
    -02/15/2011  01:08 PM    <DIR>          aroot
    -12/05/2011  04:43 PM                 8 delete_me.bat
    -03/03/2011  10:36 AM    <DIR>          export
    -
    -Command validate-dcom executed successfully.
    -
    -
    -
    -

    Exit Status

    -
    -
    -
    -
    0
    -
    -

    command executed successfully

    -
    -
    1
    -
    -

    error in executing the command

    -
    -
    -
    -
    -

    See Also

    -
    - - -
    -
    - -
    - - - - - - - - - - - - - - -
    - - - Previous - - - - - Next - - - - - Contents - -
    - - - Eclipse Foundation Logo  - Copyright © 2019, Oracle and/or its affiliates. All rights reserved. - - - - diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/validate-multicast.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/validate-multicast.html index ba9124477e2..4589acf2402 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/validate-multicast.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/validate-multicast.html @@ -17,7 +17,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + @@ -44,7 +44,7 @@ - + Previous @@ -282,7 +282,7 @@

    validate-multicast

    - + Previous diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/toc.xml b/appserver/admingui/reference-manual/src/main/help/en/help/toc.xml index aef747aa8ca..4c14425028b 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/toc.xml +++ b/appserver/admingui/reference-manual/src/main/help/en/help/toc.xml @@ -97,7 +97,6 @@ - @@ -152,7 +151,6 @@ - @@ -196,7 +194,6 @@ - @@ -253,7 +250,6 @@ - @@ -288,7 +284,6 @@ - @@ -307,7 +302,6 @@ - @@ -324,7 +318,6 @@ - @@ -338,7 +331,6 @@ - diff --git a/nucleus/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Node.java b/nucleus/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Node.java index 98a92fefceb..2cbf7e1d811 100644 --- a/nucleus/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Node.java +++ b/nucleus/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Node.java @@ -37,7 +37,7 @@ * only if the new code is made subject to such option by the copyright * holder. */ -// Portions Copyright [2018-2021] Payara Foundation and/or affiiates +// Portions Copyright 2018-2026 Payara Foundation and/or its affiliates package com.sun.enterprise.config.serverbeans; @@ -371,15 +371,15 @@ class Decorator implements CreationDecorator { String installdir = null; @Param(name = "type") String type = null; - @Param(name = "sshport", optional = true, alias = "dcomport") + @Param(name = "sshport", optional = true) String sshPort = null; - @Param(name = "sshnodehost", optional = true, alias = "dcomnodehost") + @Param(name = "sshnodehost", optional = true) String sshHost = null; - @Param(name = "sshuser", optional = true, alias = "dcomuser") + @Param(name = "sshuser", optional = true) String sshuser = null; @Param(name = "sshkeyfile", optional = true) String sshkeyfile; - @Param(name = "sshpassword", optional = true, alias = "dcompassword") + @Param(name = "sshpassword", optional = true) String sshpassword; @Param(name = "sshkeypassphrase", optional = true) String sshkeypassphrase; @@ -484,15 +484,7 @@ public void decorate(AdminCommandContext context, final Node instance) throws Tr if (StringUtils.ok(sshHost)) sshC.setSshHost(sshHost); - - if ("DCOM".equals(type)) { - if (StringUtils.ok(windowsdomain)) - instance.setWindowsDomain(windowsdomain); - else if(StringUtils.ok(nodehost)) - instance.setWindowsDomain(nodehost); - else if(StringUtils.ok(sshHost)) - instance.setWindowsDomain(sshHost); - } + instance.setSshConnector(sshC); } } diff --git a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_de.properties b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_de.properties index 7edac5c4140..c3d6c107601 100644 --- a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_de.properties +++ b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_de.properties @@ -37,6 +37,7 @@ # only if the new code is made subject to such option by the copyright # holder. # +# Portions Copyright 2026 Payara Foundation and/or affiliates #####restart-instance restart.instance.notInstance="-_restart-instance" funktioniert nur bei Instanzen. In diesem Fall liegt Folgendes vor: {0} @@ -127,7 +128,7 @@ mustRunLocal=Auf Host {0} f\u00FCr Knoten {1} konnte nicht zugegriffen werden. S noSuchNode=Es ist kein Knoten namens {0} in dieser Domain vorhanden. notConfigNodeType=Knoten {0} entspricht nicht dem Typ CONFIG -notRemoteNodeType=Knoten {0} ist kein Remote-Typ (SSH oder DCOM). +notRemoteNodeType=Knoten {0} ist kein Remote-Typ (SSH). lbenabledNotForStandaloneInstance=Die Option "lbenabled" wird f\u00FCr Standalone-Instanzen nicht unterst\u00FCtzt. notAllowed=Dieser Befehl kann nur auf DAS ausgef\u00FChrt werden. @@ -190,7 +191,7 @@ node.command.failed.local.details=Lokaler Befehl "{1}" konnte nicht ausgef\u00FC node.command.failed.ssh.details=Fehler beim Ausf\u00FChren von "{2}" auf Knoten {0} ({1}): {3}. SSH-Einstellungen: {4} create.node.ssh.continue.force=Aufgrund der Verwendung von "--force" wird mit der Knotenerstellung fortgefahren. -create.node.ssh.or.dcom.not.created={0}-Knoten wurde nicht erstellt. Um die Erstellung des Knotens mit diesen Parametern zu erzwingen, f\u00FChren Sie den Befehl mithilfe der Option "--force" erneut aus. +create.node.ssh.not.created={0}-Knoten wurde nicht erstellt. Um die Erstellung des Knotens mit diesen Parametern zu erzwingen, f\u00FChren Sie den Befehl mithilfe der Option "--force" erneut aus. create.node.ssh.install.success=GlassFish wurde erfolgreich auf {0} installiert. delete.node.ssh.uninstall.failed=Knoten {0} erfolgreich gel\u00F6scht. Jedoch konnte GlassFish nicht auf {1} deinstalliert werden. F\u00FChren Sie "uninstall-node" manuell aus. delete.node.ssh.uninstall.success=GlassFish wurde erfolgreich auf {0} deinstalliert. @@ -241,29 +242,5 @@ get.health.instance.state.since={0} {1} seit {2} secure.admin.boot.errCreDir=Verzeichnisse f\u00FCr {0} konnten nicht erstellt werden. Es sind keine weiteren Informationen verf\u00FCgbar. secure.admin.boot.errSetLastMod=lastModified-Datum f\u00FCr {0} konnten nicht festgelegt werden. Es sind keine weiteren Informationen verf\u00FCgbar. -bad.dcom.ping=Fehler bei Remote-Verbindung mit DCOM: {0} -dcom.no.remote.install=Es konnte keine Remote-Glassfish-Installation auf Host: {0} bei {1} gefunden werden -dcom.no.connection=Es konnte keine Verbindung \u00FCber DCOM zu Remote-Host: {0} hergestellt werden internal.error=Interner Fehler: {0} no.mkdir=Das Verzeichnis auf Remote-Host {0} konnte nicht erstellt werden -dcom.connect.ok=Erfolgreiche Verbindung zu {0} \u00FCber DCOM hergestellt. Au\u00DFerdem wurde der \n\\Versionsbefehl erfolgreich auf der Remote-GlassFish-Installation ausgef\u00FChrt. -dcom.no.remote.access=Auf die Dateien {0} auf Host {1} konnte nicht \u00FCber DCOM zugegriffen werden. -dcom.no.remote.file=Die Remote-Datei {0} ist nicht auf {1} vorhanden -dcom.no.remote.file.access=Zugriff auf das Remote-Dateisystem ist nicht m\u00F6glich. Ist UAC aktiviert? -dcom.access.ok=Zugriff auf {0} auf {1} mit DCOM war erfolgreich. -dcom.no.write={0} konnte nicht in {1} auf {2} mit DCOM geschrieben werden. -dcom.write.ok={0} wurde erfolgreich in {1} auf {2} mit DCOM geschrieben. -dcom.run.ok=Das Testskript wurde erfolgreich auf {0} mit DCOM ausgef\u00FChrt.\nDas Skript hat einfach den DIR-Befehl ausgef\u00FChrt. Hier finden Sie die ersten Zeilen aus der Ausgabe des dir-Befehls auf dem Remote-Rechner:\n\\{1} -dcom.no.run=Das Testskript konnte nicht auf {0} mit DCOM ausgef\u00FChrt werden. -validate.dcom.getbyname=\nHostname erfolgreich aufgel\u00F6st als: {0} -validate.dcom.connect=Erfolgreiche Verbindung zu {0} bei Port {1} auf Host {2} hergestellt. -validate.dcom.no.connect=Verbindung zu {0} bei Port {1} auf Host {2} nicht m\u00F6glich.\nDies liegt normalerweise daran, dass eine Firewall den Port blockiert oder der Serverservice gestoppt wird. -dcom.no.wmi=Verbindung zu WMI (Windows Management Interface) auf {0} konnte nicht hergestellt werden. -dcom.wmi.ok=Zugriff auf WMI (Windows Management Interface) auf {0} erfolgreich. Es werden {1} Prozesse auf {0} ausgef\u00FChrt. -dcom.wmi.procinfolegend=Weiter unten finden Sie die Befehlszeilen f\u00FCr alle Remote-Prozesse, die \u00FCber solche verf\u00FCgen: \n -dcom.nopassword=Windows-Kennwort fehlt. Wenn Sie asadmin verwenden, geben Sie das Remote-Windows-Kennwort wie folgt in einer Datei an:\nAS_ADMIN_WINDOWSPASSWORD=windows-password\nGeben Sie den Pfad der Kennwortdatei f\u00FCr asadmin mit der Option "--passwordfile" (oder "-W") an. -dcom.no.installdir=Die Konfiguration f\u00FCr den Knoten ist ung\u00FCltig. Es ist kein Wert f\u00FCr das installdir vorhanden. F\u00FChren Sie "update-node-dcom" aus, und geben Sie das Installationsverzeichnis f\u00FCr GlassFish an. -dcom.no.jdk=javac konnte nicht im Pfad auf {0] gefunden werden. Ein JDK muss im Pfad konfiguriert sein. -dcom.yes.jdk=Es wurde \u00FCberpr\u00FCft, ob ein JDK im Pfad auf {0} installiert und verf\u00FCgbar ist. Folgendes wurde von javac -version zur\u00FCckgegeben: {1} -dcom.no.local=Es wurde erfolgreich sichergestellt, dass der Host {0} nicht der lokale Rechner ist (wie angefordert). -dcom.yes.local=Der Host {0} ist der lokale Rechner. DCOM kann nur auf verteilten Systemen verwendet werden. diff --git a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_es.properties b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_es.properties index b12cc4c2426..1b54048a1a5 100644 --- a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_es.properties +++ b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_es.properties @@ -37,6 +37,7 @@ # only if the new code is made subject to such option by the copyright # holder. # +# Portions Copyright 2026 Payara Foundation and/or affiliates #####restart-instance restart.instance.notInstance=-_restart-instance solamente funciona en instancias. Este elemento es {0} @@ -127,7 +128,7 @@ mustRunLocal=No se ha podido acceder al host {0} para el nodo {1}. Debe ejecutar noSuchNode=No hay ning\u00FAn nodo denominado {0} en este dominio. notConfigNodeType=El nodo {0} no es de tipo CONFIG -notRemoteNodeType=El nodo {0} no es de tipo remoto (SSH o DCOM). +notRemoteNodeType=El nodo {0} no es de tipo remoto (SSH). lbenabledNotForStandaloneInstance=La opci\u00F3n lbenabled no est\u00E1 soportada con instancias independientes. notAllowed=Este comando solamente se puede ejecutar en DAS. @@ -190,7 +191,7 @@ node.command.failed.local.details=Fallo al ejecutar el comando local ''{1}'': {0 node.command.failed.ssh.details=Fallo al ejecutar ''{2}'' en el nodo {0} ({1}): {3}. Configuraci\u00F3n de SSH: {4} create.node.ssh.continue.force=Continuando con la creaci\u00F3n del nodo debido al uso de --force. -create.node.ssh.or.dcom.not.created=El nodo {0} no se ha creado. Para forzar la creaci\u00F3n del nodo con estos par\u00E1metros, vuelva a ejecutar el comando utilizando la opci\u00F3n --force. +create.node.ssh.not.created=El nodo {0} no se ha creado. Para forzar la creaci\u00F3n del nodo con estos par\u00E1metros, vuelva a ejecutar el comando utilizando la opci\u00F3n --force. create.node.ssh.install.success=Se ha instalado correctamente GlassFish en {0}. delete.node.ssh.uninstall.failed=Se ha suprimido el nodo {0} correctamente, pero se ha producido un fallo al desinstalar GlassFish de {1}. Ejecute uninstall-node manualmente. delete.node.ssh.uninstall.success=Se ha desinstalado correctamente GlassFish en {0}. @@ -241,29 +242,5 @@ get.health.instance.state.since={0} {1} desde el {2} secure.admin.boot.errCreDir=No se han podido crear directorios para {0}. No hay m\u00E1s informaci\u00F3n disponible. secure.admin.boot.errSetLastMod=No se ha podido definir la fecha de lastModified para {0}. No hay m\u00E1s informaci\u00F3n disponible. -bad.dcom.ping=Error al conectar de forma remota con DCOM: {0} -dcom.no.remote.install=No se ha encontrado una instalaci\u00F3n remota de GlassFish en el host: {0} en {1} -dcom.no.connection=No se ha podido conectar mediante DCOM al host remoto: {0} internal.error=Error interno: {0}. no.mkdir=No se ha podido crear el directorio en el host remoto: {0} -dcom.connect.ok=Se ha conectado correctamente a {0} con DCOM. Tambi\u00E9n se ha ejecutado \n\\correctamente el comando de versi\u00F3n en la instalaci\u00F3n remota de GlassFish. -dcom.no.remote.access=No se ha podido acceder a los archivos, {0} en el host {1} con DCOM. -dcom.no.remote.file=El archivo remoto {0} no existe en {1} -dcom.no.remote.file.access=No se puede acceder al sistema de archivos remoto. \u00BFUAC est\u00E1 activado? -dcom.access.ok=Se ha accedido correctamente a {0} en {1} con DCOM. -dcom.no.write=No se ha podido escribir {0} en {1} en {2} con DCOM. -dcom.write.ok=Se ha escrito correctamente {0} en {1} en {2} con DCOM. -dcom.run.ok=Se ha ejecutado correctamente el script de prueba en {0} con DCOM.\nEl script simplemente ha ejecutado el comando DIR. Aqu\u00ED se muestran unas l\u00EDneas de la salida del comando dir en la m\u00E1quina remota:\n\\{1} -dcom.no.run=No se ha podido ejecutar el script de prueba en {0} con DCOM. -validate.dcom.getbyname=\nSe ha resuelto correctamente el nombre del host en: {0} -validate.dcom.connect=Se ha conectado correctamente con {0} en el puerto {1} en el host {2}. -validate.dcom.no.connect=No se puede conectar con {0} en el puerto {1} en el host {2}.\nEsto normalmente lo provoca un firewall que bloquea el puerto o la parada del servicio de servidor. -dcom.no.wmi=No se ha podido conectar con WMI (interfaz de administraci\u00F3n de Windows) en {0}. -dcom.wmi.ok=Se ha accedido correctamente a WMI (interfaz de administraci\u00F3n de Windows) en {0}. Hay {1} procesos en ejecuci\u00F3n en {0}. -dcom.wmi.procinfolegend=A continuaci\u00F3n se muestran las l\u00EDneas de comandos para todos los procesos remotos que tienen una: \n -dcom.nopassword=Falta la contrase\u00F1a de Windows. Si utiliza asadmin, especifique la contrase\u00F1a remota de Windows en un archivo de la forma siguiente:\nAS_ADMIN_WINDOWSPASSWORD=contrase\u00F1a_windows\nEspecifique la ruta de acceso del archivo de contrase\u00F1as para asadmin con la opci\u00F3n --passwordfile (o -W). -dcom.no.installdir=La configuraci\u00F3n del nodo no es v\u00E1lida. No hay ning\u00FAn valor para installdir. Intente ejecutar update-node-dcom y especifique el directorio de instalaci\u00F3n para GlassFish. -dcom.no.jdk=No se ha encontrado javac en la ruta de acceso de {0]. Se tiene que configurar un JDK en la ruta de acceso. -dcom.yes.jdk=Se ha verificado que hay un JDK instalado y disponible en la ruta de acceso en {0}. javac -version ha devuelto esto: {1} -dcom.no.local=Se ha verificado correctamente que el host, {0}, no es la m\u00E1quina local, como es necesario. -dcom.yes.local=El host, {0}, es la m\u00E1quina local. DCOM s\u00F3lo es para uso en sistemas distribuidos. diff --git a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_fr.properties b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_fr.properties index bd3bcaebc21..4374909600a 100644 --- a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_fr.properties +++ b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_fr.properties @@ -37,6 +37,7 @@ # only if the new code is made subject to such option by the copyright # holder. # +# Portions Copyright 2026 Payara Foundation and/or affiliates #####restart-instance restart.instance.notInstance=-_restart-instance ne fonctionne que sur les instances. Cet \u00E9l\u00E9ment est de type {0} @@ -127,7 +128,7 @@ mustRunLocal=Impossible d''acc\u00E9der \u00E0 l''h\u00F4te {0} pour le noeud {1 noSuchNode=Il n''existe aucun noeud nomm\u00E9 {0} dans ce domaine. notConfigNodeType=Le noeud {0} n''est pas de type CONFIG -notRemoteNodeType=Le noeud {0} n''est pas de type distant (SSH ou DCOM). +notRemoteNodeType=Le noeud {0} n''est pas de type distant (SSH). lbenabledNotForStandaloneInstance=L'option lbenabled n'est pas prise en charge pour les instances autonomes. notAllowed=Cette commande ne peut \u00EAtre ex\u00E9cut\u00E9e que sur le DAS. @@ -190,7 +191,7 @@ node.command.failed.local.details=Echec de l''ex\u00E9cution de la commande loca node.command.failed.ssh.details=Echec de l''ex\u00E9cution de "{2}" sur le noeud {0} ({1}) : {3}. Param\u00E8tres SSH : {4} create.node.ssh.continue.force=Poursuite de la cr\u00E9ation du noeud du fait de l'utilisation de --force. -create.node.ssh.or.dcom.not.created=Le noeud {0} n''a pas \u00E9t\u00E9 cr\u00E9\u00E9. Pour forcer la cr\u00E9ation du noeud avec ces param\u00E8tres, r\u00E9ex\u00E9cutez la commande \u00E0 l''aide de l''option --force. +create.node.ssh.not.created=Le noeud {0} n''a pas \u00E9t\u00E9 cr\u00E9\u00E9. Pour forcer la cr\u00E9ation du noeud avec ces param\u00E8tres, r\u00E9ex\u00E9cutez la commande \u00E0 l''aide de l''option --force. create.node.ssh.install.success=GlassFish est install\u00E9 sur {0}. delete.node.ssh.uninstall.failed=Le noeud {0} a \u00E9t\u00E9 supprim\u00E9, mais GlassFish n''a pas \u00E9t\u00E9 d\u00E9sinstall\u00E9 de {1}. Ex\u00E9cutez manuellement la commande uninstall-node. delete.node.ssh.uninstall.success=GlassFish a \u00E9t\u00E9 d\u00E9sinstall\u00E9 de {0}. @@ -241,29 +242,5 @@ get.health.instance.state.since={0} {1} depuis {2} secure.admin.boot.errCreDir=Impossible de cr\u00E9er des r\u00E9pertoires pour {0}. Aucune information suppl\u00E9mentaire n''est disponible. secure.admin.boot.errSetLastMod=Impossible de d\u00E9finir la date lastModified pour {0}. Aucune information suppl\u00E9mentaire n''est disponible. -bad.dcom.ping=Erreur lors de la connexion \u00E0 distance avec DCOM : {0} -dcom.no.remote.install=Installation GlassFish distante introuvable sur l''h\u00F4te {0} dans {1} -dcom.no.connection=Impossible de se connecter via DCOM \u00E0 l''h\u00F4te distant : {0} internal.error=Erreur interne : {0} no.mkdir=Impossible de cr\u00E9er le r\u00E9pertoire sur l''h\u00F4te distant : {0} -dcom.connect.ok=Connect\u00E9 \u00E0 {0} via DCOM. Commande de version \u00E9galement \n\\ex\u00E9cut\u00E9e sur l''installation GlassFish distante. -dcom.no.remote.access=Impossible d''acc\u00E9der aux fichiers {0} sur l''h\u00F4te {1} via DCOM. -dcom.no.remote.file=Le fichier distant {0} n''existe pas sur {1} -dcom.no.remote.file.access=Impossible d'acc\u00E9der au syst\u00E8me de fichiers distant. UAC est-il activ\u00E9 ? -dcom.access.ok=Acc\u00E8s \u00E0 {0} sur {1} r\u00E9ussi \u00E0 l''aide de DCOM. -dcom.no.write=Impossible d''\u00E9crire {0} vers {1} sur {2} \u00E0 l''aide de DCOM. -dcom.write.ok=Ecriture r\u00E9ussie de {0} vers {1} sur {2} \u00E0 l''aide de DCOM. -dcom.run.ok=Script de test ex\u00E9cut\u00E9 sur {0} \u00E0 l''aide de DCOM.\nLe script a simplement ex\u00E9cut\u00E9 la commande DIR. Voici les premi\u00E8res lignes du r\u00E9sultat de la commande DIR sur l''ordinateur distant :\n\\{1} -dcom.no.run=Impossible d''ex\u00E9cuter le script de test sur {0} \u00E0 l''aide de DCOM. -validate.dcom.getbyname=\nNom d''h\u00F4te r\u00E9solu sur : {0} -validate.dcom.connect=Connect\u00E9 \u00E0 {0} sur le port {1} de l''h\u00F4te {2}. -validate.dcom.no.connect=Impossible de se connecter \u00E0 {0} sur le port {1} de l''h\u00F4te {2}.\nCela est g\u00E9n\u00E9ralement d\u00FB \u00E0 un pare-feu bloquant le port ou \u00E0 l''arr\u00EAt du service du serveur. -dcom.no.wmi=Impossible de se connecter \u00E0 WMI (Windows Management Interface) sur {0}. -dcom.wmi.ok=Acc\u00E8s \u00E0 WMI (Windows Management Interface) r\u00E9ussi sur {0}. {1} processus en cours d''ex\u00E9cution sur {0}. -dcom.wmi.procinfolegend=Les lignes de commande ci-dessous correspondent aux processus distants qui en sont dot\u00E9s : \n -dcom.nopassword=Mot de passe Windows manquant. Si vous utilisez asadmin, indiquez le mot de passe Windows distant dans un fichier comme suit : \nAS_ADMIN_WINDOWSPASSWORD=windows-password \nIndiquez le chemin du fichier de mots de passe vers asadmin avec l'option -passwordfile (ou -W). -dcom.no.installdir=La configuration du noeud n'est pas valide. Il n'existe aucune valeur pour installdir. Essayez d'ex\u00E9cuter update-node-dcom et indiquez le r\u00E9pertoire d'installation pour GlassFish. -dcom.no.jdk=Javac est introuvable dans le chemin sur {0]. Un JDK doit \u00EAtre configur\u00E9 dans le chemin. -dcom.yes.jdk=V\u00E9rifiez qu''un JDK est install\u00E9 et disponible dans le chemin sur {0}. javac -version a renvoy\u00E9 : {1} -dcom.no.local=Apr\u00E8s v\u00E9rification, il s''av\u00E8re que l''h\u00F4te, {0}, n''est pas l''ordinateur local, comme requis. -dcom.yes.local=L''h\u00F4te, {0}, est l''ordinateur local. DCOM est \u00E0 utiliser uniquement sur les syst\u00E8mes distribu\u00E9s. diff --git a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_it.properties b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_it.properties index 248788f7920..d00e364b7ba 100644 --- a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_it.properties +++ b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_it.properties @@ -37,6 +37,7 @@ # only if the new code is made subject to such option by the copyright # holder. # +# Portions Copyright 2026 Payara Foundation and/or affiliates #####restart-instance restart.instance.notInstance=-_restart-instance funziona solamente sulle istanze. Questo \u00E8 {0} @@ -127,7 +128,7 @@ mustRunLocal=Impossibile accedere all''host {0} per il nodo {1}. Per completare noSuchNode=Nessun nodo denominato {0} in questo dominio. notConfigNodeType=Il nodo {0} non \u00E8 del tipo CONFIG -notRemoteNodeType=Il nodo {0} non \u00E8 di un tipo remoto (SSH o DCOM). +notRemoteNodeType=Il nodo {0} non \u00E8 di un tipo remoto (SSH). lbenabledNotForStandaloneInstance=L'opzione lbenabled non \u00E8 supportata per le istanze standalone. notAllowed=Questo comando pu\u00F2 essere eseguito solamente su DAS. @@ -190,7 +191,7 @@ node.command.failed.local.details=Esecuzione non riuscita del comando locale ''{ node.command.failed.ssh.details=Esecuzione non riuscita di ''{2}'' sul nodo {0} ({1}): {3}. Impostazioni SSH: {4} create.node.ssh.continue.force=Creazione del nodo ancora in corso a causa dell'uso di --force. -create.node.ssh.or.dcom.not.created=Nodo {0} non creato. Per forzare la creazione del nodo con questi parametri, rieseguire il comando utilizzando l''opzione --force. +create.node.ssh.not.created=Nodo {0} non creato. Per forzare la creazione del nodo con questi parametri, rieseguire il comando utilizzando l''opzione --force. create.node.ssh.install.success=Installazione di GlassFish su {0} riuscita. delete.node.ssh.uninstall.failed=Eliminazione del nodo {0} riuscita, ma non \u00E8 stato possibile disinstallare GlassFish su {1}. Eseguire uninstall-node manualmente. delete.node.ssh.uninstall.success=Disinstallazione di GlassFish su {0} riuscita. @@ -241,29 +242,5 @@ get.health.instance.state.since={0} {1} da {2} secure.admin.boot.errCreDir=Impossibile creare directory per {0}. Non sono disponibili ulteriori informazioni. secure.admin.boot.errSetLastMod=Impossibile impostare la data lastModified per {0}. Non sono disponibili ulteriori informazioni. -bad.dcom.ping=Errore durante la connessione remota con DCOM: {0} -dcom.no.remote.install=Impossibile trovare un''installazione GlassFish remota sull''host: {0} in {1} -dcom.no.connection=Impossibile connettersi tramite DCOM all''host remoto: {0} internal.error=Errore interno: {0} no.mkdir=Impossibile creare la directory sull''host remoto: {0} -dcom.connect.ok=Connessione a {0} tramite DCOM riuscita. Inoltre, \n\\l''esecuzione del comando version sull''installazione GlassFish remota \u00E8 riuscita. -dcom.no.remote.access=Impossibile accedere ai file {0} sull''host {1} tramite DCOM. -dcom.no.remote.file=Il file remoto {0} non esiste su {1} -dcom.no.remote.file.access=Impossibile accedere al file system remoto. Assicurarsi che UAC sia attivo. -dcom.access.ok=L''accesso a {0} su {1} tramite DCOM \u00E8 riuscito. -dcom.no.write=Impossibile scrivere {0} in {1} su {2} tramite DCOM. -dcom.write.ok=La scrittura di {0} in {1} su {2} tramite DCOM \u00E8 riuscita. -dcom.run.ok=L''esecuzione dello script di test su {0} tramite DCOM \u00E8 riuscita.\nLo script ha eseguito solo il comando DIR. Di seguito le prime righe dell''output del comando DIR sul computer remoto:\n\\{1} -dcom.no.run=Impossibile eseguire lo script di test su {0} tramite DCOM. -validate.dcom.getbyname=\nNome host risolto in: {0} -validate.dcom.connect=La connessione a {0} sulla porta {1} dell''host {2} \u00E8 riuscita. -validate.dcom.no.connect=Impossibile connettersi a {0} sulla porta {1} dell''host {2}.\nQuesto problema \u00E8 in genere causato da un firewall che impedisce l''accesso alla porta o dall''arresto del servizio server. -dcom.no.wmi=Impossibile connettersi a WMI (Windows Management Interface) su {0}. -dcom.wmi.ok=L''accesso a WMI (Windows Management Interface) su {0} \u00E8 riuscito. Ci sono {1} processi in esecuzione su {0}. -dcom.wmi.procinfolegend=Di seguito sono elencate le righe di comando per tutti i processi remoti che ne dispongono: \n -dcom.nopassword=Password di Windows mancante. Se si sta usando asadmin, specificare la password del sistema Windows remoto in un file, come segue:\nAS_ADMIN_WINDOWSPASSWORD=password-di-Windows\nSpecificare il percorso del password file ad asadmin utilizzando l'opzione --passwordfile (o -W). -dcom.no.installdir=La configurazione del nodo non \u00E8 valida. Il valore per installdir non \u00E8 presente. Provare a eseguire update-node-dcom e specificare la directory di installazione per GlassFish. -dcom.no.jdk=Impossibile trovare javac nel percorso su {0]. JDK deve essere configurato nel percorso. -dcom.yes.jdk=\u00C8 stato verificato che JDK \u00E8 installato e disponibile nel percorso su {0}. Il comando javac -version ha restituito l''output seguente: {1} -dcom.no.local=\u00C8 stato verificato che l''host {0} non \u00E8 il computer locale, come richiesto. -dcom.yes.local=L''host {0} \u00E8 il computer locale. DCOM pu\u00F2 essere usato solo su sistemi distribuiti. diff --git a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_ja.properties b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_ja.properties index 89e747a9f50..f3b3e403154 100644 --- a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_ja.properties +++ b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_ja.properties @@ -37,6 +37,7 @@ # only if the new code is made subject to such option by the copyright # holder. # +# Portions Copyright 2026 Payara Foundation and/or affiliates #####restart-instance restart.instance.notInstance=-_restart-instance\u306F\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u3067\u306E\u307F\u6A5F\u80FD\u3057\u307E\u3059\u3002\u3053\u308C\u306F{0}\u3067\u3059 @@ -127,7 +128,7 @@ mustRunLocal=\u30CE\u30FC\u30C9{1}\u306E\u30DB\u30B9\u30C8{0}\u306B\u30A2\u30AF\ noSuchNode={0}\u3068\u3044\u3046\u30CE\u30FC\u30C9\u306F\u3053\u306E\u30C9\u30E1\u30A4\u30F3\u306B\u306F\u3042\u308A\u307E\u305B\u3093\u3002 notConfigNodeType=\u30CE\u30FC\u30C9{0}\u306E\u578B\u304CCONFIG\u3067\u306F\u3042\u308A\u307E\u305B\u3093 -notRemoteNodeType=\u30CE\u30FC\u30C9{0}\u306F\u30EA\u30E2\u30FC\u30C8\u30FB\u30BF\u30A4\u30D7(SSH\u307E\u305F\u306FDCOM)\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002 +notRemoteNodeType=\u30CE\u30FC\u30C9{0}\u306F\u30EA\u30E2\u30FC\u30C8\u30FB\u30BF\u30A4\u30D7(SSH)\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002 lbenabledNotForStandaloneInstance=lbenabled\u30AA\u30D7\u30B7\u30E7\u30F3\u306F\u3001\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3\u30FB\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u3067\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u307E\u305B\u3093\u3002 notAllowed=\u3053\u306E\u30B3\u30DE\u30F3\u30C9\u306FDAS\u3067\u306E\u307F\u5B9F\u884C\u3067\u304D\u307E\u3059\u3002 @@ -190,7 +191,7 @@ node.command.failed.local.details=\u30ED\u30FC\u30AB\u30EB\u30FB\u30B3\u30DE\u30 node.command.failed.ssh.details=''{2}''\u306E\u30CE\u30FC\u30C9{0} ({1})\u3067\u306E\u5B9F\u884C\u306B\u5931\u6557\u3057\u307E\u3057\u305F: {3}\u3002SSH\u8A2D\u5B9A: {4} create.node.ssh.continue.force=--force\u304C\u4F7F\u7528\u3055\u308C\u3066\u3044\u308B\u305F\u3081\u3001\u30CE\u30FC\u30C9\u306E\u4F5C\u6210\u3092\u7D9A\u884C\u3057\u3066\u3044\u307E\u3059\u3002 -create.node.ssh.or.dcom.not.created={0}\u30CE\u30FC\u30C9\u306F\u4F5C\u6210\u3055\u308C\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u3053\u308C\u3089\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u3092\u4F7F\u7528\u3057\u3066\u30CE\u30FC\u30C9\u3092\u5F37\u5236\u7684\u306B\u4F5C\u6210\u3059\u308B\u306B\u306F\u3001--force\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u4F7F\u7528\u3057\u3066\u30B3\u30DE\u30F3\u30C9\u3092\u518D\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002 +create.node.ssh.not.created={0}\u30CE\u30FC\u30C9\u306F\u4F5C\u6210\u3055\u308C\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u3053\u308C\u3089\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u3092\u4F7F\u7528\u3057\u3066\u30CE\u30FC\u30C9\u3092\u5F37\u5236\u7684\u306B\u4F5C\u6210\u3059\u308B\u306B\u306F\u3001--force\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u4F7F\u7528\u3057\u3066\u30B3\u30DE\u30F3\u30C9\u3092\u518D\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002 create.node.ssh.install.success=GlassFish\u306F{0}\u306B\u6B63\u5E38\u306B\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3055\u308C\u307E\u3057\u305F\u3002 delete.node.ssh.uninstall.failed=\u30CE\u30FC\u30C9{0}\u306F\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F\u304C\u3001{1}\u306EGlassFish\u306F\u30A2\u30F3\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002uninstall-node\u3092\u624B\u52D5\u3067\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002 delete.node.ssh.uninstall.success={0}\u306EGlassFish\u306F\u6B63\u5E38\u306B\u30A2\u30F3\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3055\u308C\u307E\u3057\u305F\u3002 @@ -241,29 +242,5 @@ get.health.instance.state.since={2}\u4EE5\u964D\u3001{0} {1} secure.admin.boot.errCreDir={0}\u306E\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u305D\u308C\u4EE5\u4E0A\u306E\u60C5\u5831\u306F\u3042\u308A\u307E\u305B\u3093\u3002 secure.admin.boot.errSetLastMod={0}\u306ElastModified\u306E\u65E5\u4ED8\u3092\u8A2D\u5B9A\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u305D\u308C\u4EE5\u4E0A\u306E\u60C5\u5831\u306F\u3042\u308A\u307E\u305B\u3093\u3002 -bad.dcom.ping=DCOM\u3067\u30EA\u30E2\u30FC\u30C8\u306B\u63A5\u7D9A\u4E2D\u306B\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F: {0} -dcom.no.remote.install=\u30DB\u30B9\u30C8\u306B\u30EA\u30E2\u30FC\u30C8Glassfish\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F: {0}\u3001{1} -dcom.no.connection=DCOM\u7D4C\u7531\u3067\u30EA\u30E2\u30FC\u30C8\u30FB\u30DB\u30B9\u30C8\u306B\u63A5\u7D9A\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: {0} internal.error=\u5185\u90E8\u30A8\u30E9\u30FC: {0} -no.mkdir=\u30EA\u30E2\u30FC\u30C8\u30FB\u30DB\u30B9\u30C8\u4E0A\u306B\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: {0} -dcom.connect.ok=DCOM\u7D4C\u7531\u3067{0}\u306B\u6B63\u5E38\u306B\u63A5\u7D9A\u3067\u304D\u307E\u3057\u305F\u3002\u30EA\u30E2\u30FC\u30C8GlassFish\n\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u4E0A\u3067version\u30B3\u30DE\u30F3\u30C9\u3082\u6B63\u5E38\u306B\u5B9F\u884C\u3055\u308C\u307E\u3057\u305F\u3002 -dcom.no.remote.access=\u30DB\u30B9\u30C8{1}\u306E\u30D5\u30A1\u30A4\u30EB{0}\u306BDCOM\u7D4C\u7531\u3067\u30A2\u30AF\u30BB\u30B9\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002 -dcom.no.remote.file=\u30EA\u30E2\u30FC\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB{0}\u304C{1}\u306B\u5B58\u5728\u3057\u307E\u305B\u3093 -dcom.no.remote.file.access=\u30EA\u30E2\u30FC\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB\u30FB\u30B7\u30B9\u30C6\u30E0\u306B\u30A2\u30AF\u30BB\u30B9\u3067\u304D\u307E\u305B\u3093\u3002UAC\u306F\u30AA\u30F3\u3067\u3059\u304B\u3002 -dcom.access.ok=DCOM\u3092\u4F7F\u7528\u3057\u3066{1}\u306E{0}\u306B\u6B63\u5E38\u306B\u30A2\u30AF\u30BB\u30B9\u3057\u307E\u3057\u305F\u3002 -dcom.no.write=DCOM\u3092\u4F7F\u7528\u3057\u3066\u3001{2}\u306E{1}\u306B{0}\u3092\u66F8\u304D\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F\u3002 -dcom.write.ok=DCOM\u3092\u4F7F\u7528\u3057\u3066\u3001{2}\u306E{1}\u306B{0}\u3092\u6B63\u5E38\u306B\u66F8\u304D\u8FBC\u307F\u307E\u3057\u305F\u3002 -dcom.run.ok=DCOM\u3092\u4F7F\u7528\u3057\u3066\u3001{0}\u306E\u30C6\u30B9\u30C8\u30FB\u30B9\u30AF\u30EA\u30D7\u30C8\u3092\u6B63\u5E38\u306B\u5B9F\u884C\u3057\u307E\u3057\u305F\u3002\n\u3053\u306E\u30B9\u30AF\u30EA\u30D7\u30C8\u306F\u3001\u5358\u306BDIR\u30B3\u30DE\u30F3\u30C9\u3092\u5B9F\u884C\u3057\u307E\u3057\u305F\u3002\u30EA\u30E2\u30FC\u30C8\u30FB\u30DE\u30B7\u30F3\u306Edir\u30B3\u30DE\u30F3\u30C9\u306E\u51FA\u529B\u306E\u6700\u521D\u306E\u6570\u884C\u3092\u6B21\u306B\u793A\u3057\u307E\u3059:\n\\{1} -dcom.no.run=DCOM\u3092\u4F7F\u7528\u3057\u3066\u3001{0}\u3067\u30C6\u30B9\u30C8\u30FB\u30B9\u30AF\u30EA\u30D7\u30C8\u3092\u5B9F\u884C\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002 -validate.dcom.getbyname=\n\u30DB\u30B9\u30C8\u540D\u304C\u6B21\u306E\u3088\u3046\u306B\u6B63\u5E38\u306B\u89E3\u6C7A\u3055\u308C\u307E\u3057\u305F: {0} -validate.dcom.connect=\u30DB\u30B9\u30C8{2}\u306E\u30DD\u30FC\u30C8{1}\u306E{0}\u306B\u6B63\u5E38\u306B\u63A5\u7D9A\u3055\u308C\u307E\u3057\u305F\u3002 -validate.dcom.no.connect=\u30DB\u30B9\u30C8{2}\u306E\u30DD\u30FC\u30C8{1}\u306E{0}\u306B\u63A5\u7D9A\u3067\u304D\u307E\u305B\u3093\u3002\n\u901A\u5E38\u3053\u306E\u539F\u56E0\u306F\u3001\u30D5\u30A1\u30A4\u30A2\u30A6\u30A9\u30FC\u30EB\u304C\u30DD\u30FC\u30C8\u3092\u30D6\u30ED\u30C3\u30AF\u3057\u3066\u3044\u308B\u304B\u3001\u30B5\u30FC\u30D0\u30FC\u30FB\u30B5\u30FC\u30D3\u30B9\u304C\u505C\u6B62\u3057\u3066\u3044\u308B\u305F\u3081\u3067\u3059\u3002 -dcom.no.wmi={0}\u306EWMI (Windows Management Interface)\u306B\u63A5\u7D9A\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002 -dcom.wmi.ok={0}\u306EWMI (Windows Management Interface)\u306B\u6B63\u5E38\u306B\u30A2\u30AF\u30BB\u30B9\u3057\u307E\u3057\u305F\u3002{1}\u500B\u306E\u30D7\u30ED\u30BB\u30B9\u304C{0}\u3067\u5B9F\u884C\u3055\u308C\u3066\u3044\u307E\u3059\u3002 -dcom.wmi.procinfolegend=\u30B3\u30DE\u30F3\u30C9\u884C\u304C\u3042\u308B\u3059\u3079\u3066\u306E\u30EA\u30E2\u30FC\u30C8\u30FB\u30D7\u30ED\u30BB\u30B9\u306E\u30B3\u30DE\u30F3\u30C9\u884C\u3092\u6B21\u306B\u793A\u3057\u307E\u3059: \n -dcom.nopassword=Windows\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u3042\u308A\u307E\u305B\u3093\u3002asadmin\u3092\u4F7F\u7528\u3057\u3066\u3044\u308B\u5834\u5408\u306F\u3001\u30EA\u30E2\u30FC\u30C8Windows\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u6B21\u306E\u3088\u3046\u306B\u30D5\u30A1\u30A4\u30EB\u306B\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044:\nAS_ADMIN_WINDOWSPASSWORD=windows-password\n--passwordfile (\u307E\u305F\u306F-W)\u30AA\u30D7\u30B7\u30E7\u30F3\u3067\u3001\u30D1\u30B9\u30EF\u30FC\u30C9\u30FB\u30D5\u30A1\u30A4\u30EB\u306E\u30D1\u30B9\u3092asadmin\u306B\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002 -dcom.no.installdir=\u30CE\u30FC\u30C9\u306E\u69CB\u6210\u304C\u7121\u52B9\u3067\u3059\u3002installdir\u306B\u5024\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002update-node-dcom\u3092\u5B9F\u884C\u3057\u3066\u3001GlassFish\u306E\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u30FB\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306E\u6307\u5B9A\u3092\u8A66\u307F\u3066\u304F\u3060\u3055\u3044\u3002 -dcom.no.jdk={0]\u306E\u30D1\u30B9\u306Bjavac\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u30D1\u30B9\u306BJDK\u3092\u69CB\u6210\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002 -dcom.yes.jdk={0}\u306E\u30D1\u30B9\u306BJDK\u304C\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3055\u308C\u3066\u304A\u308A\u4F7F\u7528\u53EF\u80FD\u3067\u3042\u308B\u3053\u3068\u304C\u78BA\u8A8D\u3055\u308C\u307E\u3057\u305F\u3002javac -version\u304C\u6B21\u306E\u5024\u3092\u8FD4\u3057\u307E\u3057\u305F: {1} -dcom.no.local=\u30DB\u30B9\u30C8{0}\u304C\u3001\u8981\u4EF6\u3069\u304A\u308A\u30ED\u30FC\u30AB\u30EB\u30FB\u30DE\u30B7\u30F3\u3067\u306A\u3044\u3053\u3068\u304C\u6B63\u5E38\u306B\u78BA\u8A8D\u3055\u308C\u307E\u3057\u305F\u3002 -dcom.yes.local=\u30DB\u30B9\u30C8{0}\u306F\u30ED\u30FC\u30AB\u30EB\u30FB\u30DE\u30B7\u30F3\u3067\u3059\u3002DCOM\u306F\u5206\u6563\u30B7\u30B9\u30C6\u30E0\u5C02\u7528\u3067\u3059\u3002 +no.mkdir=\u30EA\u30E2\u30FC\u30C8\u30FB\u30DB\u30B9\u30C8\u4E0A\u306B\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: {0} \ No newline at end of file diff --git a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_ko.properties b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_ko.properties index 2d025daedfc..80ddf7b5c14 100644 --- a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_ko.properties +++ b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_ko.properties @@ -37,6 +37,7 @@ # only if the new code is made subject to such option by the copyright # holder. # +# Portions Copyright 2026 Payara Foundation and/or affiliates #####restart-instance restart.instance.notInstance=-_restart-instance\uB294 \uC778\uC2A4\uD134\uC2A4\uC5D0\uC11C\uB9CC \uC791\uB3D9\uD569\uB2C8\uB2E4. \uC774\uAC83\uC740 {0}\uC785\uB2C8\uB2E4. @@ -127,7 +128,7 @@ mustRunLocal={1} \uB178\uB4DC\uC5D0 \uB300\uD55C {0} \uD638\uC2A4\uD2B8\uC5D0 \u noSuchNode=\uC774 \uB3C4\uBA54\uC778\uC5D0 {0}(\uC774)\uB77C\uB294 \uB178\uB4DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4. notConfigNodeType={0} \uB178\uB4DC\uAC00 \uAD6C\uC131 \uC720\uD615\uC774 \uC544\uB2D9\uB2C8\uB2E4. -notRemoteNodeType={0} \uB178\uB4DC\uAC00 \uC6D0\uACA9 \uC720\uD615(SSH \uB610\uB294 DCOM)\uC774 \uC544\uB2D9\uB2C8\uB2E4. +notRemoteNodeType={0} \uB178\uB4DC\uAC00 \uC6D0\uACA9 \uC720\uD615(SSH)\uC774 \uC544\uB2D9\uB2C8\uB2E4. lbenabledNotForStandaloneInstance=lbenabled \uC635\uC158\uC740 \uB3C5\uB9BD\uD615 \uC778\uC2A4\uD134\uC2A4\uC5D0\uC11C\uB294 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. notAllowed=\uC774 \uBA85\uB839\uC740 DAS\uC5D0\uC11C\uB9CC \uC2E4\uD589\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. @@ -190,7 +191,7 @@ node.command.failed.local.details=\uB85C\uCEEC \uBA85\uB839 ''{1}'' \uC2E4\uD589 node.command.failed.ssh.details={0} \uB178\uB4DC({1})\uC5D0\uC11C ''{2}'' \uC2E4\uD589 \uC2E4\uD328: {3}. SSH \uC124\uC815: {4} create.node.ssh.continue.force=--force \uC0AC\uC6A9\uC73C\uB85C \uC778\uD574 \uB178\uB4DC\uB97C \uACC4\uC18D\uD574\uC11C \uC0DD\uC131\uD558\uB294 \uC911\uC785\uB2C8\uB2E4. -create.node.ssh.or.dcom.not.created={0} \uB178\uB4DC\uAC00 \uC0DD\uC131\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uB9E4\uAC1C\uBCC0\uC218\uB97C \uC0AC\uC6A9\uD558\uC5EC \uB178\uB4DC\uB97C \uAC15\uC81C\uB85C \uC0DD\uC131\uD558\uB824\uBA74 --force \uC635\uC158\uC744 \uC0AC\uC6A9\uD558\uC5EC \uBA85\uB839\uC744 \uB2E4\uC2DC \uC2E4\uD589\uD569\uB2C8\uB2E4. +create.node.ssh.not.created={0} \uB178\uB4DC\uAC00 \uC0DD\uC131\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. \uC774\uB7EC\uD55C \uB9E4\uAC1C\uBCC0\uC218\uB97C \uC0AC\uC6A9\uD558\uC5EC \uB178\uB4DC\uB97C \uAC15\uC81C\uB85C \uC0DD\uC131\uD558\uB824\uBA74 --force \uC635\uC158\uC744 \uC0AC\uC6A9\uD558\uC5EC \uBA85\uB839\uC744 \uB2E4\uC2DC \uC2E4\uD589\uD569\uB2C8\uB2E4. create.node.ssh.install.success={0}\uC5D0 GlassFish\uB97C \uC131\uACF5\uC801\uC73C\uB85C \uC124\uCE58\uD588\uC2B5\uB2C8\uB2E4. delete.node.ssh.uninstall.failed={0} \uB178\uB4DC\uB97C \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uD588\uC9C0\uB9CC {1}\uC5D0\uC11C GlassFish\uB97C \uC81C\uAC70\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4. \uC218\uB3D9\uC73C\uB85C uninstall-node\uB97C \uC2E4\uD589\uD558\uC2ED\uC2DC\uC624. delete.node.ssh.uninstall.success={0}\uC5D0\uC11C GlassFish\uB97C \uC131\uACF5\uC801\uC73C\uB85C \uC81C\uAC70\uD588\uC2B5\uB2C8\uB2E4. @@ -241,29 +242,5 @@ get.health.instance.state.since={2} \uC774\uD6C4\uB85C {0} {1} secure.admin.boot.errCreDir={0}\uC5D0 \uB300\uD55C \uB514\uB809\uD1A0\uB9AC\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uB354 \uC774\uC0C1 \uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uC815\uBCF4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4. secure.admin.boot.errSetLastMod={0}\uC5D0 \uB300\uD55C lastModified \uB0A0\uC9DC\uB97C \uC124\uC815\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uB354 \uC774\uC0C1 \uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uC815\uBCF4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4. -bad.dcom.ping=DCOM\uC73C\uB85C \uC6D0\uACA9 \uC811\uC18D\uD558\uB294 \uC911 \uC624\uB958 \uBC1C\uC0DD: {0} -dcom.no.remote.install=\uD638\uC2A4\uD2B8\uC5D0\uC11C \uC6D0\uACA9 Glassfish \uC124\uCE58\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC74C: {0}, {1} -dcom.no.connection=DCOM\uC744 \uD1B5\uD574 \uC6D0\uACA9 \uD638\uC2A4\uD2B8\uC5D0 \uC811\uC18D\uD560 \uC218 \uC5C6\uC74C: {0} internal.error=\uB0B4\uBD80 \uC624\uB958: {0} no.mkdir=\uC6D0\uACA9 \uD638\uC2A4\uD2B8\uC5D0 \uB514\uB809\uD1A0\uB9AC\uB97C \uC0DD\uC131\uD560 \uC218 \uC5C6\uC74C: {0} -dcom.connect.ok=DCOM\uC744 \uD1B5\uD574 {0}\uC5D0 \uC131\uACF5\uC801\uC73C\uB85C \uC811\uC18D\uD588\uC2B5\uB2C8\uB2E4. \uB610\uD55C \uC6D0\uACA9 \nGlassFish \uC124\uCE58\uC5D0 \uBC84\uC804 \uBA85\uB839\uC744 \uC131\uACF5\uC801\uC73C\uB85C \uC2E4\uD589\uD588\uC2B5\uB2C8\uB2E4. -dcom.no.remote.access=DCOM\uC744 \uD1B5\uD574 {1} \uD638\uC2A4\uD2B8\uC5D0\uC11C {0} \uD30C\uC77C\uC5D0 \uC561\uC138\uC2A4\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. -dcom.no.remote.file=\uC6D0\uACA9 \uD30C\uC77C {0}\uC774(\uAC00) {1}\uC5D0 \uC874\uC7AC\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. -dcom.no.remote.file.access=\uC6D0\uACA9 \uD30C\uC77C \uC2DC\uC2A4\uD15C\uC5D0 \uC561\uC138\uC2A4\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. UAC\uAC00 \uC124\uC815\uB418\uC5B4 \uC788\uC2B5\uB2C8\uAE4C? -dcom.access.ok=DCOM\uC744 \uC0AC\uC6A9\uD558\uC5EC {1}\uC5D0\uC11C {0}\uC5D0 \uC131\uACF5\uC801\uC73C\uB85C \uC561\uC138\uC2A4\uD588\uC2B5\uB2C8\uB2E4. -dcom.no.write=DCOM\uC744 \uC0AC\uC6A9\uD558\uC5EC {2}\uC5D0\uC11C {0}\uC744(\uB97C) {1}\uC5D0 \uAE30\uB85D\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. -dcom.write.ok=DCOM\uC744 \uC0AC\uC6A9\uD558\uC5EC {2}\uC5D0\uC11C {0}\uC744(\uB97C) {1}\uC5D0 \uC131\uACF5\uC801\uC73C\uB85C \uAE30\uB85D\uD588\uC2B5\uB2C8\uB2E4. -dcom.run.ok=DCOM\uC744 \uC0AC\uC6A9\uD558\uC5EC {0}\uC5D0\uC11C \uD14C\uC2A4\uD2B8 \uC2A4\uD06C\uB9BD\uD2B8\uB97C \uC131\uACF5\uC801\uC73C\uB85C \uC2E4\uD589\uD588\uC2B5\uB2C8\uB2E4.\n\uC2A4\uD06C\uB9BD\uD2B8\uB294 \uAC04\uB2E8\uD788 DIR \uBA85\uB839\uC744 \uC2E4\uD589\uD588\uC2B5\uB2C8\uB2E4. \uB2E4\uC74C\uC740 \uC6D0\uACA9 \uC2DC\uC2A4\uD15C\uC5D0\uC11C dir \uBA85\uB839\uC758 \uCD9C\uB825\uC73C\uB85C \uC0DD\uC131\uB41C \uCC98\uC74C \uBA87 \uC904\uC785\uB2C8\uB2E4.\n\\{1} -dcom.no.run=DCOM\uC744 \uC0AC\uC6A9\uD558\uC5EC {0}\uC5D0\uC11C \uD14C\uC2A4\uD2B8 \uC2A4\uD06C\uB9BD\uD2B8\uB97C \uC2E4\uD589\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. -validate.dcom.getbyname=\n\uD638\uC2A4\uD2B8 \uC774\uB984 \uBD84\uC11D \uC131\uACF5: {0} -validate.dcom.connect={2} \uD638\uC2A4\uD2B8\uC758 {1} \uD3EC\uD2B8\uC5D0\uC11C {0}\uC5D0 \uC131\uACF5\uC801\uC73C\uB85C \uC811\uC18D\uD588\uC2B5\uB2C8\uB2E4. -validate.dcom.no.connect={2} \uD638\uC2A4\uD2B8\uC758 {1} \uD3EC\uD2B8\uC5D0\uC11C {0}\uC5D0 \uC811\uC18D\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.\n\uC774\uB294 \uB300\uAC1C \uBC29\uD654\uBCBD\uC5D0\uC11C \uD3EC\uD2B8\uB97C \uCC28\uB2E8\uD558\uAC70\uB098 \uC11C\uBC84 \uC11C\uBE44\uC2A4\uAC00 \uC815\uC9C0 \uC911\uC77C \uB54C \uBC1C\uC0DD\uD569\uB2C8\uB2E4. -dcom.no.wmi={0}\uC5D0\uC11C WMI(Windows Management Interface)\uC5D0 \uC811\uC18D\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. -dcom.wmi.ok={0}\uC5D0\uC11C WMI(Windows Management Interface)\uC5D0 \uC131\uACF5\uC801\uC73C\uB85C \uC561\uC138\uC2A4\uD588\uC2B5\uB2C8\uB2E4. {0}\uC5D0\uC11C \uC2E4\uD589 \uC911\uC778 {1}\uAC1C \uD504\uB85C\uC138\uC2A4\uAC00 \uC788\uC2B5\uB2C8\uB2E4. -dcom.wmi.procinfolegend=\uC544\uB798\uB294 \uBAA8\uB4E0 \uC6D0\uACA9 \uD504\uB85C\uC138\uC2A4\uC5D0 \uB300\uD55C \uBA85\uB839\uD589\uC785\uB2C8\uB2E4. \n -dcom.nopassword=Windows \uBE44\uBC00\uBC88\uD638\uAC00 \uB204\uB77D\uB418\uC5C8\uC2B5\uB2C8\uB2E4. asadmin\uC744 \uC0AC\uC6A9\uD558\uB294 \uACBD\uC6B0 \uB2E4\uC74C\uACFC \uAC19\uC774 \uC6D0\uACA9 Windows \uBE44\uBC00\uBC88\uD638\uB97C \uD30C\uC77C\uC5D0 \uC9C0\uC815\uD569\uB2C8\uB2E4.\nAS_ADMIN_WINDOWSPASSWORD=windows-password\nasadmin\uC5D0 --passwordfile(\uB610\uB294 -W) \uC635\uC158\uC744 \uC0AC\uC6A9\uD558\uC5EC \uBE44\uBC00\uBC88\uD638 \uD30C\uC77C\uC758 \uACBD\uB85C\uB97C \uC9C0\uC815\uD569\uB2C8\uB2E4. -dcom.no.installdir=\uB178\uB4DC\uC758 \uAD6C\uC131\uC774 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4. installdir\uC5D0 \uB300\uD55C \uAC12\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. update-node-dcom\uC744 \uC2E4\uD589\uD558\uACE0 GlassFish\uC5D0 \uB300\uD55C \uC124\uCE58 \uB514\uB809\uD1A0\uB9AC\uB97C \uC9C0\uC815\uD558\uC2ED\uC2DC\uC624. -dcom.no.jdk={0]\uC758 \uACBD\uB85C\uC5D0\uC11C javac\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. JDK\uAC00 \uACBD\uB85C\uC5D0 \uAD6C\uC131\uB418\uC5B4\uC57C \uD569\uB2C8\uB2E4. -dcom.yes.jdk=JDK\uAC00 \uC124\uCE58\uB418\uC5C8\uACE0 {0}\uC758 \uACBD\uB85C\uC5D0\uC11C \uC0AC\uC6A9 \uAC00\uB2A5\uD568\uC744 \uD655\uC778\uD588\uC2B5\uB2C8\uB2E4. javac -version \uBC18\uD658 \uACB0\uACFC: {1} -dcom.no.local={0} \uD638\uC2A4\uD2B8\uAC00 \uD544\uC694\uD55C \uB85C\uCEEC \uC2DC\uC2A4\uD15C\uC774 \uC544\uB2D8\uC744 \uD655\uC778\uD588\uC2B5\uB2C8\uB2E4. -dcom.yes.local={0} \uD638\uC2A4\uD2B8\uAC00 \uB85C\uCEEC \uC2DC\uC2A4\uD15C\uC785\uB2C8\uB2E4. DCOM\uC740 \uBD84\uC0B0 \uC2DC\uC2A4\uD15C\uC5D0\uB9CC \uC0AC\uC6A9\uB429\uB2C8\uB2E4. diff --git a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_pt_BR.properties b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_pt_BR.properties index 1d8a7019a29..27b6042aec9 100644 --- a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_pt_BR.properties +++ b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_pt_BR.properties @@ -37,6 +37,7 @@ # only if the new code is made subject to such option by the copyright # holder. # +# Portions Copyright 2026 Payara Foundation and/or affiliates #####restart-instance restart.instance.notInstance=-_restart-instance funciona somente em inst\u00E2ncias. \u00C9 um {0} @@ -127,7 +128,7 @@ mustRunLocal=N\u00E3o \u00E9 poss\u00EDvel acessar o host {0} do n\u00F3 {1}. \u noSuchNode=N\u00E3o h\u00E1 nenhum n\u00F3 denominado {0} neste dom\u00EDnio. notConfigNodeType=O n\u00F3 {0} n\u00E3o \u00E9 do tipo CONFIG -notRemoteNodeType=O n\u00F3 {0} n\u00E3o \u00E9 do tipo remoto (SSH ou DCOM). +notRemoteNodeType=O n\u00F3 {0} n\u00E3o \u00E9 do tipo remoto (SSH). lbenabledNotForStandaloneInstance=A op\u00E7\u00E3o lbenabled n\u00E3o \u00E9 suportada em inst\u00E2ncias standalone. notAllowed=Este comando pode ser executado somente no DAS. @@ -190,7 +191,7 @@ node.command.failed.local.details=Falha ao executar o comando local "{1}": {0} node.command.failed.ssh.details=Falhou em executar "{2}" no n\u00F3 {0} ({1}): {3}. Defini\u00E7\u00F5es do SSH: {4} create.node.ssh.continue.force=Prosseguindo com a cria\u00E7\u00E3o do n\u00F3 devido ao uso de --force. -create.node.ssh.or.dcom.not.created=N\u00F3 {0} n\u00E3o criado. Para for\u00E7ar a cria\u00E7\u00E3o do n\u00F3 com estes par\u00E2metros, execute o comando novamente utilizando a op\u00E7\u00E3o --force. +create.node.ssh.not.created=N\u00F3 {0} n\u00E3o criado. Para for\u00E7ar a cria\u00E7\u00E3o do n\u00F3 com estes par\u00E2metros, execute o comando novamente utilizando a op\u00E7\u00E3o --force. create.node.ssh.install.success=GlassFish instalado com sucesso em {0}. delete.node.ssh.uninstall.failed=N\u00F3 {0} deletado com sucesso, mas ocorreu uma falha ao desinstalar GlassFish de {1}. Execute uninstall-node manualmente. delete.node.ssh.uninstall.success=GlassFish desinstalado com sucesso de {0}. @@ -241,29 +242,5 @@ get.health.instance.state.since={0} {1} desde {2} secure.admin.boot.errCreDir=N\u00E3o foi poss\u00EDvel criar diret\u00F3rios para {0}. Nenhuma informa\u00E7\u00E3o adicional est\u00E1 dispon\u00EDvel. secure.admin.boot.errSetLastMod=N\u00E3o foi poss\u00EDvel definir a data de lastModified para {0}. Nenhuma informa\u00E7\u00E3o adicional est\u00E1 dispon\u00EDvel. -bad.dcom.ping=Erro ao conectar com o remoto com DCOM: {0} -dcom.no.remote.install=N\u00E3o foi poss\u00EDvel encontrar uma instala\u00E7\u00E3o do Glassfish remota no servidor: {0} em {1} -dcom.no.connection=N\u00E3o foi poss\u00EDvel conectar com o servidor remoto atrav\u00E9s do DCOM: {0} internal.error=Erro Interno: {0} no.mkdir=N\u00E3o foi poss\u00EDvel criar o diret\u00F3rio no servidor remoto: {0} -dcom.connect.ok=Conectado com sucesso \u00E0 {0} atrav\u00E9s do DCOM. Tamb\u00E9m executado com sucesso \n\nan o comando de vers\u00E3o na instala\u00E7\u00E3o remota do GlassFish. -dcom.no.remote.access=N\u00E3o foi poss\u00EDvel acessar os arquivos, {0} no host {1} atrav\u00E9s do DCOM. -dcom.no.remote.file=O arquivo remoto {0} n\u00E3o existe em {1} -dcom.no.remote.file.access=N\u00E3o \u00E9 poss\u00EDvel acessar o sistema de arquivos remotos. O UAC est\u00E1 ativado? -dcom.access.ok=Acessado com sucesso {0} em {1} utilizando DCOM. -dcom.no.write=N\u00E3o foi poss\u00EDvel gravar {0} para {1} em {2} utilizando DCOM. -dcom.write.ok=Grava\u00E7\u00E3o com sucesso de {0} para {1} em {2} utilizando DCOM. -dcom.run.ok=Script de teste realizado com sucesso em {0} usando DCOM.\nO script simplesmente executou o comando DIR. Aqui est\u00E3o as primeiras linhas da sa\u00EDda do comando dir na m\u00E1quina remota: \n\\{1} -dcom.no.run=N\u00E3o foi poss\u00EDvel executar o script de teste em {0} usando o DCOM. -validate.dcom.getbyname=\nResolvido nome do host com sucesso para: {0} -validate.dcom.connect=Conectado a {0} n porta {1} no host {2} com sucesso. -validate.dcom.no.connect=N\u00E3o \u00E9 poss\u00EDvel conectar-se a {0} na porta {1} no host {2}. \nIsso geralmente \u00E9 causado por um firewall bloqueando a porta ou o Servi\u00E7o de Servidor seja interrompido. -dcom.no.wmi=N\u00E3o foi poss\u00EDvel conectar ao WMI (Windows Management Interface) em {0}. -dcom.wmi.ok=Acessado com \u00EAxito o WMI (Windows Management Interface) em {0}. Existem {1} processos em execu\u00E7\u00E3o em {0}. -dcom.wmi.procinfolegend=Abaixo est\u00E3o as linhas de comando para todos os processos remotos que t\u00EAm um: \n -dcom.nopassword=Falta senha do Windows. Se voc\u00EA estiver usando asadmin, especifique a senha do Windows remota em um arquivo como segue: \nAS_ADMIN_WINDOWSPASSWORD=windows-password\nEspecifique o caminho do arquivo de senha para asadmin com a op\u00E7\u00E3o - passwordfile (ou -W). -dcom.no.installdir=A configura\u00E7\u00E3o para o n\u00F3 \u00E9 inv\u00E1lida. N\u00E3o h\u00E1 nenhum valor para o installdir. Tente executar o update-node-dcom e especificar o diret\u00F3rio de instala\u00E7\u00E3o do GlassFish. -dcom.no.jdk=N\u00E3o foi poss\u00EDvel encontrar o javac no caminho no {0]. Um JDK \u00E9 necess\u00E1rio para ser configurado no Caminho. -dcom.yes.jdk=Foi verificado que um JDK est\u00E1 instalado e dispon\u00EDvel no caminho em {0}. O javac -version retornou: {1} -dcom.no.local=Foi verificado com sucesso que o host, {0}, n\u00E3o \u00E9 a m\u00E1quina local conforme necess\u00E1rio. -dcom.yes.local=O host, {0}, \u00E9 a m\u00E1quina local. O DCOM \u00E9 somente para uso em sistemas distribu\u00EDdos diff --git a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_zh_CN.properties b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_zh_CN.properties index fa697efe616..90c23562652 100644 --- a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_zh_CN.properties +++ b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_zh_CN.properties @@ -37,6 +37,7 @@ # only if the new code is made subject to such option by the copyright # holder. # +# Portions Copyright 2026 Payara Foundation and/or affiliates #####restart-instance restart.instance.notInstance=-_restart-instance \u4EC5\u9002\u7528\u4E8E\u5B9E\u4F8B\u3002\u8FD9\u662F{0} @@ -127,7 +128,7 @@ mustRunLocal=\u65E0\u6CD5\u8BBF\u95EE\u8282\u70B9{1}\u7684\u4E3B\u673A{0}\u3002\ noSuchNode=\u8BE5\u57DF\u4E2D\u4E0D\u5B58\u5728\u540D\u4E3A{0}\u7684\u8282\u70B9\u3002 notConfigNodeType=\u8282\u70B9{0}\u4E0D\u662F CONFIG \u7C7B\u578B -notRemoteNodeType=\u8282\u70B9{0}\u4E0D\u662F\u8FDC\u7A0B\u7C7B\u578B (SSH \u6216 DCOM)\u3002 +notRemoteNodeType=\u8282\u70B9{0}\u4E0D\u662F\u8FDC\u7A0B\u7C7B\u578B (SSH)\u3002 lbenabledNotForStandaloneInstance=\u72EC\u7ACB\u5B9E\u4F8B\u4E0D\u652F\u6301 lbenabled \u9009\u9879\u3002 notAllowed=\u53EA\u80FD\u5728 DAS \u4E0A\u8FD0\u884C\u8BE5\u547D\u4EE4\u3002 @@ -190,7 +191,7 @@ node.command.failed.local.details=\u65E0\u6CD5\u6267\u884C\u672C\u5730\u547D\u4E node.command.failed.ssh.details=\u65E0\u6CD5\u5728\u8282\u70B9{0} ({1}) \u4E0A\u8FD0\u884C ''{2}'': {3}\u3002SSH \u8BBE\u7F6E: {4} create.node.ssh.continue.force=\u7531\u4E8E\u4F7F\u7528\u4E86 --force, \u6B63\u5728\u7EE7\u7EED\u521B\u5EFA\u8282\u70B9\u3002 -create.node.ssh.or.dcom.not.created=\u672A\u521B\u5EFA{0}\u8282\u70B9\u3002\u8981\u4F7F\u7528\u8FD9\u4E9B\u53C2\u6570\u5F3A\u5236\u521B\u5EFA\u8282\u70B9, \u8BF7\u4F7F\u7528 --force \u9009\u9879\u91CD\u65B0\u8FD0\u884C\u8BE5\u547D\u4EE4\u3002 +create.node.ssh.not.created=\u672A\u521B\u5EFA{0}\u8282\u70B9\u3002\u8981\u4F7F\u7528\u8FD9\u4E9B\u53C2\u6570\u5F3A\u5236\u521B\u5EFA\u8282\u70B9, \u8BF7\u4F7F\u7528 --force \u9009\u9879\u91CD\u65B0\u8FD0\u884C\u8BE5\u547D\u4EE4\u3002 create.node.ssh.install.success=\u5DF2\u5728{0}\u4E0A\u6210\u529F\u5B89\u88C5 GlassFish\u3002 delete.node.ssh.uninstall.failed=\u5DF2\u6210\u529F\u5220\u9664\u8282\u70B9{0}, \u4F46\u65E0\u6CD5\u5728{1}\u4E0A\u5378\u8F7D GlassFish\u3002\u8BF7\u624B\u52A8\u8FD0\u884C uninstall-node\u3002 delete.node.ssh.uninstall.success=\u5DF2\u5728{0}\u4E0A\u6210\u529F\u5378\u8F7D GlassFish\u3002 @@ -241,29 +242,5 @@ get.health.instance.state.since={0} {1}, \u81EA {2} secure.admin.boot.errCreDir=\u65E0\u6CD5\u4E3A{0}\u521B\u5EFA\u76EE\u5F55\u3002\u6CA1\u6709\u66F4\u591A\u53EF\u7528\u4FE1\u606F\u3002 secure.admin.boot.errSetLastMod=\u65E0\u6CD5\u4E3A{0}\u8BBE\u7F6E\u4E0A\u6B21\u4FEE\u6539\u65E5\u671F\u3002\u6CA1\u6709\u66F4\u591A\u53EF\u7528\u4FE1\u606F\u3002 -bad.dcom.ping=\u4F7F\u7528 DCOM \u8FDB\u884C\u8FDC\u7A0B\u8FDE\u63A5\u65F6\u51FA\u9519: {0} -dcom.no.remote.install=\u5728\u4F4D\u4E8E{1}\u7684\u4E3B\u673A{0}\u4E0A\u627E\u4E0D\u5230\u8FDC\u7A0B Glassfish \u5B89\u88C5 -dcom.no.connection=\u65E0\u6CD5\u901A\u8FC7 DCOM \u8FDE\u63A5\u5230\u8FDC\u7A0B\u4E3B\u673A: {0} internal.error=\u5185\u90E8\u9519\u8BEF: {0} no.mkdir=\u65E0\u6CD5\u5728\u8FDC\u7A0B\u4E3B\u673A\u4E0A\u521B\u5EFA\u76EE\u5F55: {0} -dcom.connect.ok=\u5DF2\u901A\u8FC7 DCOM \u6210\u529F\u8FDE\u63A5\u5230{0}\u3002\u6B64\u5916, \u8FD8\u6210\u529F\n\\\u5728\u8FDC\u7A0B GlassFish \u5B89\u88C5\u4E0A\u8FD0\u884C\u7248\u672C\u547D\u4EE4\u3002 -dcom.no.remote.access=\u65E0\u6CD5\u901A\u8FC7 DCOM \u8BBF\u95EE\u4F4D\u4E8E\u4E3B\u673A{1}\u4E0A\u7684\u6587\u4EF6{0}\u3002 -dcom.no.remote.file={1}\u4E0A\u4E0D\u5B58\u5728\u8FDC\u7A0B\u6587\u4EF6{0} -dcom.no.remote.file.access=\u65E0\u6CD5\u8BBF\u95EE\u8FDC\u7A0B\u6587\u4EF6\u7CFB\u7EDF\u3002UAC \u662F\u5426\u6253\u5F00? -dcom.access.ok=\u5DF2\u6210\u529F\u4F7F\u7528 DCOM \u8BBF\u95EE\u4F4D\u4E8E{1}\u4E0A\u7684{0}\u3002 -dcom.no.write=\u65E0\u6CD5\u4F7F\u7528 DCOM \u5C06{0}\u5199\u5165\u4F4D\u4E8E{2}\u4E0A\u7684{1}\u3002 -dcom.write.ok=\u5DF2\u6210\u529F\u4F7F\u7528 DCOM \u5C06{0}\u5199\u5165\u4F4D\u4E8E{2}\u4E0A\u7684{1}\u3002 -dcom.run.ok=\u5DF2\u6210\u529F\u4F7F\u7528 DCOM \u5728{0}\u4E0A\u8FD0\u884C\u6D4B\u8BD5\u811A\u672C\n\u811A\u672C\u4EC5\u8FD0\u884C DIR \u547D\u4EE4\u3002\u4E0B\u9762\u5217\u51FA\u4E86\u5728\u8FDC\u7A0B\u8BA1\u7B97\u673A\u4E0A\u8FD0\u884C dir \u547D\u4EE4\u8F93\u51FA\u7684\u524D\u51E0\u884C:\n\\{1} -dcom.no.run=\u65E0\u6CD5\u4F7F\u7528 DCOM \u5728{0}\u4E0A\u8FD0\u884C\u6D4B\u8BD5\u811A\u672C\u3002 -validate.dcom.getbyname=\n\u5DF2\u6210\u529F\u5C06\u4E3B\u673A\u540D\u89E3\u6790\u4E3A: {0} -validate.dcom.connect=\u5DF2\u6210\u529F\u8FDE\u63A5\u5230\u4F4D\u4E8E\u4E3B\u673A{2}\u7684\u7AEF\u53E3{1}\u4E0A\u7684{0}\u3002 -validate.dcom.no.connect=\u65E0\u6CD5\u8FDE\u63A5\u5230\u4F4D\u4E8E\u4E3B\u673A{2}\u7684\u7AEF\u53E3{1}\u4E0A\u7684{0}\u3002\n\u8FD9\u901A\u5E38\u662F\u7531\u4E8E\u9632\u706B\u5899\u963B\u585E\u7AEF\u53E3\u6216\u670D\u52A1\u5668\u670D\u52A1\u88AB\u505C\u6B62\u9020\u6210\u7684\u3002 -dcom.no.wmi=\u65E0\u6CD5\u8FDE\u63A5\u5230\u4F4D\u4E8E{0}\u7684 WMI (Windows \u7BA1\u7406\u63A5\u53E3)\u3002 -dcom.wmi.ok=\u5DF2\u6210\u529F\u8BBF\u95EE\u4F4D\u4E8E{0}\u7684 WMI (Windows \u7BA1\u7406\u63A5\u53E3)\u3002\u6709 {1} \u4E2A\u8FDB\u7A0B\u6B63\u5728{0}\u4E0A\u8FD0\u884C\u3002 -dcom.wmi.procinfolegend=\u4E0B\u9762\u662F\u9488\u5BF9\u5177\u6709 WMI \u7684\u6240\u6709\u8FDC\u7A0B\u8FDB\u7A0B\u7684\u547D\u4EE4\u884C: \n -dcom.nopassword=\u7F3A\u5C11 Windows \u53E3\u4EE4\u3002\u5982\u679C\u4F7F\u7528\u7684\u662F asadmin, \u8BF7\u5728\u6587\u4EF6\u4E2D\u6307\u5B9A\u8FDC\u7A0B Windows \u53E3\u4EE4, \u5982\u4E0B\u6240\u793A:\nAS_ADMIN_WINDOWSPASSWORD=windows-password\n\u4F7F\u7528 --passwordfile (\u6216 -W) \u9009\u9879\u4E3A asadmin \u6307\u5B9A\u53E3\u4EE4\u6587\u4EF6\u7684\u8DEF\u5F84\u3002 -dcom.no.installdir=\u8282\u70B9\u7684\u914D\u7F6E\u65E0\u6548\u3002installdir \u6CA1\u6709\u503C\u3002\u5C1D\u8BD5\u8FD0\u884C update-node-dcom \u5E76\u4E3A GlassFish \u6307\u5B9A\u5B89\u88C5\u76EE\u5F55\u3002 -dcom.no.jdk=\u5728{0]\u4E0A\u7684\u8DEF\u5F84\u4E2D\u627E\u4E0D\u5230 javac\u3002\u9700\u8981\u5728\u8DEF\u5F84\u4E2D\u914D\u7F6E JDK\u3002 -dcom.yes.jdk=\u786E\u4FDD JDK \u5DF2\u5B89\u88C5\u4E14\u5728{0}\u4E0A\u7684\u8DEF\u5F84\u4E2D\u53EF\u7528\u3002javac -version \u8FD4\u56DE\u4EE5\u4E0B\u4FE1\u606F: {1} -dcom.no.local=\u5DF2\u6210\u529F\u9A8C\u8BC1\u4E3B\u673A{0}\u4E0D\u662F\u6240\u8981\u6C42\u7684\u672C\u5730\u8BA1\u7B97\u673A\u3002 -dcom.yes.local=\u4E3B\u673A{0}\u662F\u672C\u5730\u8BA1\u7B97\u673A\u3002DCOM \u4EC5\u7528\u4E8E\u5206\u5E03\u5F0F\u7CFB\u7EDF\u3002 diff --git a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_zh_TW.properties b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_zh_TW.properties index 5ed8ab886ed..61635aa3fa4 100644 --- a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_zh_TW.properties +++ b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/LocalStrings_zh_TW.properties @@ -37,6 +37,7 @@ # only if the new code is made subject to such option by the copyright # holder. # +# Portions Copyright 2026 Payara Foundation and/or affiliates #####restart-instance restart.instance.notInstance=-_restart-instance \u547D\u4EE4\u50C5\u9069\u7528\u65BC\u57F7\u884C\u8655\u7406\u3002\u6B64\u70BA {0} @@ -127,7 +128,7 @@ mustRunLocal=\u7121\u6CD5\u5B58\u53D6\u7BC0\u9EDE {1} \u7684\u4E3B\u6A5F {0}\u30 noSuchNode=\u6B64\u7DB2\u57DF\u4E2D\u6C92\u6709\u540D\u7A31\u70BA {0} \u7684\u7BC0\u9EDE\u3002 notConfigNodeType=\u7BC0\u9EDE {0} \u4E0D\u662F CONFIG \u985E\u578B -notRemoteNodeType=\u7BC0\u9EDE {0} \u4E0D\u662F\u9060\u7AEF\u985E\u578B (SSH \u6216 DCOM)\u3002 +notRemoteNodeType=\u7BC0\u9EDE {0} \u4E0D\u662F\u9060\u7AEF\u985E\u578B (SSH)\u3002 lbenabledNotForStandaloneInstance=\u7368\u7ACB\u57F7\u884C\u8655\u7406\u4E0D\u652F\u63F4 lbenabled \u9078\u9805\u3002 notAllowed=\u6B64\u547D\u4EE4\u50C5\u53EF\u5728 DAS \u4E0A\u57F7\u884C\u3002 @@ -190,7 +191,7 @@ node.command.failed.local.details=\u7121\u6CD5\u57F7\u884C\u672C\u6A5F\u547D\u4E node.command.failed.ssh.details=\u7121\u6CD5\u5728\u7BC0\u9EDE {0} ({1}) \u4E0A\u57F7\u884C ''{2}''\uFF1A{3}\u3002SSH \u8A2D\u5B9A\uFF1A{4} create.node.ssh.continue.force=\u7531\u65BC\u4F7F\u7528\u4E86 --force\uFF0C\u56E0\u6B64\u6B63\u5728\u7E7C\u7E8C\u5EFA\u7ACB\u7BC0\u9EDE\u3002 -create.node.ssh.or.dcom.not.created=\u672A\u5EFA\u7ACB {0} \u7BC0\u9EDE\u3002\u82E5\u8981\u5F37\u5236\u4F7F\u7528\u9019\u4E9B\u53C3\u6578\u5EFA\u7ACB\u7BC0\u9EDE\uFF0C\u8ACB\u4F7F\u7528 --force \u9078\u9805\u91CD\u65B0\u57F7\u884C\u547D\u4EE4\u3002 +create.node.ssh.not.created=\u672A\u5EFA\u7ACB {0} \u7BC0\u9EDE\u3002\u82E5\u8981\u5F37\u5236\u4F7F\u7528\u9019\u4E9B\u53C3\u6578\u5EFA\u7ACB\u7BC0\u9EDE\uFF0C\u8ACB\u4F7F\u7528 --force \u9078\u9805\u91CD\u65B0\u57F7\u884C\u547D\u4EE4\u3002 create.node.ssh.install.success=\u5DF2\u6210\u529F\u5730\u5728 {0} \u4E0A\u5B89\u88DD GlassFish\u3002 delete.node.ssh.uninstall.failed=\u5DF2\u6210\u529F\u522A\u9664\u7BC0\u9EDE {0}\uFF0C\u4F46\u7121\u6CD5\u5728 {1} \u4E0A\u89E3\u9664\u5B89\u88DD GlassFish\u3002\u8ACB\u624B\u52D5\u57F7\u884C uninstall-node\u3002 delete.node.ssh.uninstall.success=\u5DF2\u6210\u529F\u5730\u5728 {0} \u4E0A\u89E3\u9664\u5B89\u88DD GlassFish\u3002 @@ -241,29 +242,5 @@ get.health.instance.state.since=\u7531\u65BC {2}\uFF0C{0} {1} secure.admin.boot.errCreDir=\u7121\u6CD5\u5EFA\u7ACB {0} \u7684\u76EE\u9304\u3002\u6C92\u6709\u9032\u4E00\u6B65\u7684\u8CC7\u8A0A\u3002 secure.admin.boot.errSetLastMod=\u7121\u6CD5\u8A2D\u5B9A {0} \u7684 lastModified \u65E5\u671F\u3002\u6C92\u6709\u9032\u4E00\u6B65\u7684\u8CC7\u8A0A\u3002 -bad.dcom.ping=\u4F7F\u7528 DCOM \u9023\u7DDA\u81F3\u9060\u7AEF\u6642\u767C\u751F\u932F\u8AA4\uFF1A{0} -dcom.no.remote.install=\u4F4D\u65BC {1} \u7684\u4E3B\u6A5F\uFF1A{0} \u4E0A\u627E\u4E0D\u5230\u9060\u7AEF Glassfish \u5B89\u88DD -dcom.no.connection=\u7121\u6CD5\u900F\u904E DCOM \u9023\u7DDA\u81F3\u9060\u7AEF\u4E3B\u6A5F\uFF1A{0} internal.error=\u5167\u90E8\u932F\u8AA4\uFF1A{0} no.mkdir=\u7121\u6CD5\u5728\u9060\u7AEF\u4E3B\u6A5F\uFF1A{0} \u4E0A\u5EFA\u7ACB\u76EE\u9304 -dcom.connect.ok=\u5DF2\u900F\u904E DCOM \u6210\u529F\u9023\u7DDA\u81F3 {0}\u3002\u4E5F\u5DF2\u5728\u9060\u7AEF GlassFish \u5B89\u88DD\u4E0A\u6210\u529F\n\r\u57F7\u884C\u7248\u672C\u547D\u4EE4\u3002 -dcom.no.remote.access=\u7121\u6CD5\u900F\u904E DCOM \u5B58\u53D6\u4E3B\u6A5F {1} \u4E0A\u7684\u6A94\u6848 {0}\u3002 -dcom.no.remote.file=\u9060\u7AEF\u6A94\u6848 {0} \u4E0D\u5728 {1} \u4E2D -dcom.no.remote.file.access=\u7121\u6CD5\u5B58\u53D6\u9060\u7AEF\u6A94\u6848\u7CFB\u7D71\u3002UAC \u662F\u5426\u5DF2\u7D93\u555F\u52D5\uFF1F -dcom.access.ok=\u5DF2\u6210\u529F\u4F7F\u7528 DCOM \u5B58\u53D6 {1} \u4E0A\u7684 {0}\u3002 -dcom.no.write=\u7121\u6CD5\u4F7F\u7528 DCOM \u5C07 {0} \u5BEB\u5165 {2} \u4E0A\u7684 {1}\u3002 -dcom.write.ok=\u5DF2\u6210\u529F\u4F7F\u7528 DCOM \u5C07 {0} \u5BEB\u5165 {2} \u4E0A\u7684 {1}\u3002 -dcom.run.ok=\u5DF2\u6210\u529F\u4F7F\u7528 DCOM \u5728 {0} \u4E0A\u57F7\u884C\u6E2C\u8A66\u547D\u4EE4\u6A94\u3002\n\u8A72\u547D\u4EE4\u6A94\u50C5\u57F7\u884C DIR \u547D\u4EE4\u3002\u4EE5\u4E0B\u662F\u9060\u7AEF\u6A5F\u5668 dir \u547D\u4EE4\u8F38\u51FA\u7684\u524D\u5E7E\u884C\uFF1A\n\\{1} -dcom.no.run=\u7121\u6CD5\u4F7F\u7528 DCOM \u5728 {0} \u4E0A\u57F7\u884C\u6E2C\u8A66\u547D\u4EE4\u6A94\u3002 -validate.dcom.getbyname=\n\u5DF2\u6210\u529F\u5C07\u4E3B\u6A5F\u540D\u7A31\u89E3\u6790\u70BA\uFF1A{0} -validate.dcom.connect=\u5DF2\u6210\u529F\u9023\u7DDA\u81F3\u4E3B\u6A5F {2} \u9023\u63A5\u57E0 {1} \u7684 {0}\u3002 -validate.dcom.no.connect=\u7121\u6CD5\u9023\u7DDA\u81F3\u4E3B\u6A5F {2} \u9023\u63A5\u57E0 {1} \u7684 {0}\u3002\n\u9019\u901A\u5E38\u662F\u56E0\u70BA\u9632\u706B\u7246\u5C01\u9396\u4E86\u9023\u63A5\u57E0\u6216\u4F3A\u670D\u5668\u670D\u52D9\u505C\u6B62\u6240\u9020\u6210\u3002 -dcom.no.wmi=\u7121\u6CD5\u9023\u7DDA\u81F3 {0} \u4E0A\u7684 WMI (Windows \u7BA1\u7406\u4ECB\u9762)\u3002 -dcom.wmi.ok=\u5DF2\u6210\u529F\u5B58\u53D6 {0} \u4E0A\u7684 WMI (Windows \u7BA1\u7406\u4ECB\u9762)\u3002{0} \u4E0A\u6709 {1} \u500B\u8655\u7406\u4F5C\u696D\u6B63\u5728\u57F7\u884C\u3002 -dcom.wmi.procinfolegend=\u4EE5\u4E0B\u662F\u91DD\u5C0D\u6240\u6709\u9060\u7AEF\u8655\u7406\u4F5C\u696D\u7684\u547D\u4EE4\u884C\uFF1A\n -dcom.nopassword=\u7F3A\u5C11 Windows \u5BC6\u78BC\u3002\u82E5\u60A8\u4F7F\u7528\u7684\u662F asadmin\uFF0C\u8ACB\u4F9D\u7167\u4E0B\u5217\u65B9\u5F0F\u5728\u6A94\u6848\u4E2D\u6307\u5B9A\u9060\u7AEF Windows \u5BC6\u78BC\uFF1A\nAS_ADMIN_WINDOWSPASSWORD=windows-password\n\u8ACB\u4F7F\u7528 --passwordfile (\u6216 -W) \u9078\u9805\u4F86\u6307\u5B9A asadmin \u7684\u5BC6\u78BC\u6A94\u6848\u8DEF\u5F91\u3002 -dcom.no.installdir=\u7BC0\u9EDE\u7684\u7D44\u614B\u7121\u6548\u3002installdir \u672A\u6307\u5B9A\u503C\u3002\u8ACB\u5617\u8A66\u57F7\u884C update-node-dcom \u4E26\u6307\u5B9A GlassFish \u7684\u5B89\u88DD\u76EE\u9304\u3002 -dcom.no.jdk=\u5728 {0] \u7684\u8DEF\u5F91\u4E2D\u627E\u4E0D\u5230 javac\u3002\u8DEF\u5F91\u4E2D\u5FC5\u9808\u7D44\u614B JDK\u3002 -dcom.yes.jdk=\u78BA\u8A8D JDK \u5DF2\u5B89\u88DD\uFF0C\u4E26\u4F4D\u65BC {0} \u7684\u8DEF\u5F91\u4E2D\u3002javac -version \u50B3\u56DE\uFF1A{1} -dcom.no.local=\u5DF2\u6210\u529F\u78BA\u8A8D\u4E3B\u6A5F {0} \u4E0D\u662F\u6240\u9700\u7684\u672C\u6A5F\u6A5F\u5668\u3002 -dcom.yes.local=\u4E3B\u6A5F {0} \u662F\u672C\u6A5F\u6A5F\u5668\u3002DCOM \u50C5\u80FD\u7528\u65BC\u5206\u6563\u5F0F\u7CFB\u7D71\u3002 diff --git a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_de.properties b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_de.properties deleted file mode 100644 index 80291c537d9..00000000000 --- a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_de.properties +++ /dev/null @@ -1,44 +0,0 @@ -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -# -# Copyright (c) 2011-2013 Oracle and/or its affiliates. All rights reserved. -# -# The contents of this file are subject to the terms of either the GNU -# General Public License Version 2 only ("GPL") or the Common Development -# and Distribution License("CDDL") (collectively, the "License"). You -# may not use this file except in compliance with the License. You can -# obtain a copy of the License at -# https://github.com/payara/Payara/blob/main/LICENSE.txt -# See the License for the specific -# language governing permissions and limitations under the License. -# -# When distributing the software, include this License Header Notice in each -# file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -# -# GPL Classpath Exception: -# Oracle designates this particular file as subject to the "Classpath" -# exception as provided by Oracle in the GPL Version 2 section of the License -# file that accompanied this code. -# -# Modifications: -# If applicable, add the following below the License Header, with the fields -# enclosed by brackets [] replaced by your own identifying information: -# "Portions Copyright [year] [name of copyright owner]" -# -# Contributor(s): -# If you wish your version of this file to be governed by only the CDDL or -# only the GPL Version 2, indicate your decision by adding "[Contributor] -# elects to include this software in this distribution under the [CDDL or GPL -# Version 2] license." If you don't indicate a single choice of license, a -# recipient has the option to distribute your version of this file under -# either the CDDL, the GPL Version 2 or to extend the choice of license to -# its licensees as provided above. However, if you add GPL Version 2 code -# and therefore, elected the GPL Version 2 license, then the option applies -# only if the new code is made subject to such option by the copyright -# holder. -# - -update.node.dcom.no.password=Windows-Kennwort fehlt. Wenn Sie asadmin verwenden, geben Sie das Remote-Windows-Kennwort wie folgt in einer Datei an:\nAS_ADMIN_WINDOWSPASSWORD=windows-password\nGeben Sie den Pfad der Kennwortdatei f\u00FCr asadmin mit der Option "--passwordfile" (oder "-W") an. -update.node.dcom.no.password=Windows-Kennwort fehlt. Wenn Sie asadmin verwenden, geben Sie das Remote-Windows-Kennwort wie folgt in einer Datei an:\nAS_ADMIN_WINDOWSPASSWORD=windows-password\nGeben Sie den Pfad der Kennwortdatei f\u00FCr asadmin mit der Option "--passwordfile" (oder "-W") an. -not.dcom.node=Knoten {0} ist kein DCOM-Knoten. Der Typ ist {1}. - diff --git a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_es.properties b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_es.properties deleted file mode 100644 index b2f8e084345..00000000000 --- a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_es.properties +++ /dev/null @@ -1,44 +0,0 @@ -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -# -# Copyright (c) 2011-2013 Oracle and/or its affiliates. All rights reserved. -# -# The contents of this file are subject to the terms of either the GNU -# General Public License Version 2 only ("GPL") or the Common Development -# and Distribution License("CDDL") (collectively, the "License"). You -# may not use this file except in compliance with the License. You can -# obtain a copy of the License at -# https://github.com/payara/Payara/blob/main/LICENSE.txt -# See the License for the specific -# language governing permissions and limitations under the License. -# -# When distributing the software, include this License Header Notice in each -# file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -# -# GPL Classpath Exception: -# Oracle designates this particular file as subject to the "Classpath" -# exception as provided by Oracle in the GPL Version 2 section of the License -# file that accompanied this code. -# -# Modifications: -# If applicable, add the following below the License Header, with the fields -# enclosed by brackets [] replaced by your own identifying information: -# "Portions Copyright [year] [name of copyright owner]" -# -# Contributor(s): -# If you wish your version of this file to be governed by only the CDDL or -# only the GPL Version 2, indicate your decision by adding "[Contributor] -# elects to include this software in this distribution under the [CDDL or GPL -# Version 2] license." If you don't indicate a single choice of license, a -# recipient has the option to distribute your version of this file under -# either the CDDL, the GPL Version 2 or to extend the choice of license to -# its licensees as provided above. However, if you add GPL Version 2 code -# and therefore, elected the GPL Version 2 license, then the option applies -# only if the new code is made subject to such option by the copyright -# holder. -# - -update.node.dcom.no.password=Falta la contrase\u00F1a de Windows. Si utiliza asadmin, especifique la contrase\u00F1a remota de Windows en un archivo de la forma siguiente:\nAS_ADMIN_WINDOWSPASSWORD=contrase\u00F1a_windows\nEspecifique la ruta de acceso del archivo de contrase\u00F1as para asadmin con la opci\u00F3n --passwordfile (o -W). -update.node.dcom.no.password=Falta la contrase\u00F1a de Windows. Si utiliza asadmin, especifique la contrase\u00F1a remota de Windows en un archivo de la forma siguiente:\nAS_ADMIN_WINDOWSPASSWORD=contrase\u00F1a_windows\nEspecifique la ruta de acceso del archivo de contrase\u00F1as para asadmin con la opci\u00F3n --passwordfile (o -W). -not.dcom.node=El nodo {0} no es un nodo DCOM. Su tipo es {1}. - diff --git a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_fr.properties b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_fr.properties deleted file mode 100644 index 34485626396..00000000000 --- a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_fr.properties +++ /dev/null @@ -1,44 +0,0 @@ -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -# -# Copyright (c) 2011-2013 Oracle and/or its affiliates. All rights reserved. -# -# The contents of this file are subject to the terms of either the GNU -# General Public License Version 2 only ("GPL") or the Common Development -# and Distribution License("CDDL") (collectively, the "License"). You -# may not use this file except in compliance with the License. You can -# obtain a copy of the License at -# https://github.com/payara/Payara/blob/main/LICENSE.txt -# See the License for the specific -# language governing permissions and limitations under the License. -# -# When distributing the software, include this License Header Notice in each -# file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -# -# GPL Classpath Exception: -# Oracle designates this particular file as subject to the "Classpath" -# exception as provided by Oracle in the GPL Version 2 section of the License -# file that accompanied this code. -# -# Modifications: -# If applicable, add the following below the License Header, with the fields -# enclosed by brackets [] replaced by your own identifying information: -# "Portions Copyright [year] [name of copyright owner]" -# -# Contributor(s): -# If you wish your version of this file to be governed by only the CDDL or -# only the GPL Version 2, indicate your decision by adding "[Contributor] -# elects to include this software in this distribution under the [CDDL or GPL -# Version 2] license." If you don't indicate a single choice of license, a -# recipient has the option to distribute your version of this file under -# either the CDDL, the GPL Version 2 or to extend the choice of license to -# its licensees as provided above. However, if you add GPL Version 2 code -# and therefore, elected the GPL Version 2 license, then the option applies -# only if the new code is made subject to such option by the copyright -# holder. -# - -update.node.dcom.no.password=Mot de passe Windows manquant. Si vous utilisez asadmin, indiquez le mot de passe Windows distant dans un fichier comme suit : \nAS_ADMIN_WINDOWSPASSWORD=windows-password \nIndiquez le chemin du fichier de mots de passe vers asadmin avec l'option -passwordfile (ou -W). -update.node.dcom.no.password=Mot de passe Windows manquant. Si vous utilisez asadmin, indiquez le mot de passe Windows distant dans un fichier comme suit : \nAS_ADMIN_WINDOWSPASSWORD=windows-password \nIndiquez le chemin du fichier de mots de passe vers asadmin avec l'option -passwordfile (ou -W). -not.dcom.node=Le noeud {0} n''est pas un noeud DCOM. Il est de type {1}. - diff --git a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_it.properties b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_it.properties deleted file mode 100644 index d10aa077f3e..00000000000 --- a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_it.properties +++ /dev/null @@ -1,44 +0,0 @@ -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -# -# Copyright (c) 2011-2013 Oracle and/or its affiliates. All rights reserved. -# -# The contents of this file are subject to the terms of either the GNU -# General Public License Version 2 only ("GPL") or the Common Development -# and Distribution License("CDDL") (collectively, the "License"). You -# may not use this file except in compliance with the License. You can -# obtain a copy of the License at -# https://github.com/payara/Payara/blob/main/LICENSE.txt -# See the License for the specific -# language governing permissions and limitations under the License. -# -# When distributing the software, include this License Header Notice in each -# file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -# -# GPL Classpath Exception: -# Oracle designates this particular file as subject to the "Classpath" -# exception as provided by Oracle in the GPL Version 2 section of the License -# file that accompanied this code. -# -# Modifications: -# If applicable, add the following below the License Header, with the fields -# enclosed by brackets [] replaced by your own identifying information: -# "Portions Copyright [year] [name of copyright owner]" -# -# Contributor(s): -# If you wish your version of this file to be governed by only the CDDL or -# only the GPL Version 2, indicate your decision by adding "[Contributor] -# elects to include this software in this distribution under the [CDDL or GPL -# Version 2] license." If you don't indicate a single choice of license, a -# recipient has the option to distribute your version of this file under -# either the CDDL, the GPL Version 2 or to extend the choice of license to -# its licensees as provided above. However, if you add GPL Version 2 code -# and therefore, elected the GPL Version 2 license, then the option applies -# only if the new code is made subject to such option by the copyright -# holder. -# - -update.node.dcom.no.password=Password di Windows mancante. Se si sta usando asadmin, specificare la password del sistema Windows remoto in un file, come segue:\nAS_ADMIN_WINDOWSPASSWORD=password-di-Windows\nSpecificare il percorso del password file ad asadmin utilizzando l'opzione --passwordfile (o -W). -update.node.dcom.no.password=Password di Windows mancante. Se si sta usando asadmin, specificare la password del sistema Windows remoto in un file, come segue:\nAS_ADMIN_WINDOWSPASSWORD=password-di-Windows\nSpecificare il percorso del password file ad asadmin utilizzando l'opzione --passwordfile (o -W). -not.dcom.node=Il nodo {0} non \u00E8 un nodo DCOM. Il tipo di nodo \u00E8 {1}. - diff --git a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_ja.properties b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_ja.properties deleted file mode 100644 index bbe6d500b1d..00000000000 --- a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_ja.properties +++ /dev/null @@ -1,44 +0,0 @@ -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -# -# Copyright (c) 2011-2013 Oracle and/or its affiliates. All rights reserved. -# -# The contents of this file are subject to the terms of either the GNU -# General Public License Version 2 only ("GPL") or the Common Development -# and Distribution License("CDDL") (collectively, the "License"). You -# may not use this file except in compliance with the License. You can -# obtain a copy of the License at -# https://github.com/payara/Payara/blob/main/LICENSE.txt -# See the License for the specific -# language governing permissions and limitations under the License. -# -# When distributing the software, include this License Header Notice in each -# file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -# -# GPL Classpath Exception: -# Oracle designates this particular file as subject to the "Classpath" -# exception as provided by Oracle in the GPL Version 2 section of the License -# file that accompanied this code. -# -# Modifications: -# If applicable, add the following below the License Header, with the fields -# enclosed by brackets [] replaced by your own identifying information: -# "Portions Copyright [year] [name of copyright owner]" -# -# Contributor(s): -# If you wish your version of this file to be governed by only the CDDL or -# only the GPL Version 2, indicate your decision by adding "[Contributor] -# elects to include this software in this distribution under the [CDDL or GPL -# Version 2] license." If you don't indicate a single choice of license, a -# recipient has the option to distribute your version of this file under -# either the CDDL, the GPL Version 2 or to extend the choice of license to -# its licensees as provided above. However, if you add GPL Version 2 code -# and therefore, elected the GPL Version 2 license, then the option applies -# only if the new code is made subject to such option by the copyright -# holder. -# - -update.node.dcom.no.password=Windows\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u3042\u308A\u307E\u305B\u3093\u3002asadmin\u3092\u4F7F\u7528\u3057\u3066\u3044\u308B\u5834\u5408\u306F\u3001\u30EA\u30E2\u30FC\u30C8Windows\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u6B21\u306E\u3088\u3046\u306B\u30D5\u30A1\u30A4\u30EB\u306B\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044:\nAS_ADMIN_WINDOWSPASSWORD=windows-password\n--passwordfile (\u307E\u305F\u306F-W)\u30AA\u30D7\u30B7\u30E7\u30F3\u3067\u3001\u30D1\u30B9\u30EF\u30FC\u30C9\u30FB\u30D5\u30A1\u30A4\u30EB\u306E\u30D1\u30B9\u3092asadmin\u306B\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002 -update.node.dcom.no.password=Windows\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u3042\u308A\u307E\u305B\u3093\u3002asadmin\u3092\u4F7F\u7528\u3057\u3066\u3044\u308B\u5834\u5408\u306F\u3001\u30EA\u30E2\u30FC\u30C8Windows\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u6B21\u306E\u3088\u3046\u306B\u30D5\u30A1\u30A4\u30EB\u306B\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044:\nAS_ADMIN_WINDOWSPASSWORD=windows-password\n--passwordfile (\u307E\u305F\u306F-W)\u30AA\u30D7\u30B7\u30E7\u30F3\u3067\u3001\u30D1\u30B9\u30EF\u30FC\u30C9\u30FB\u30D5\u30A1\u30A4\u30EB\u306E\u30D1\u30B9\u3092asadmin\u306B\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002 -not.dcom.node=\u30CE\u30FC\u30C9{0}\u306FDCOM\u30CE\u30FC\u30C9\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u30CE\u30FC\u30C9\u306E\u30BF\u30A4\u30D7\u306F{1}\u3067\u3059\u3002 - diff --git a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_ko.properties b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_ko.properties deleted file mode 100644 index 42eede91b9b..00000000000 --- a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_ko.properties +++ /dev/null @@ -1,44 +0,0 @@ -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -# -# Copyright (c) 2011-2013 Oracle and/or its affiliates. All rights reserved. -# -# The contents of this file are subject to the terms of either the GNU -# General Public License Version 2 only ("GPL") or the Common Development -# and Distribution License("CDDL") (collectively, the "License"). You -# may not use this file except in compliance with the License. You can -# obtain a copy of the License at -# https://github.com/payara/Payara/blob/main/LICENSE.txt -# See the License for the specific -# language governing permissions and limitations under the License. -# -# When distributing the software, include this License Header Notice in each -# file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -# -# GPL Classpath Exception: -# Oracle designates this particular file as subject to the "Classpath" -# exception as provided by Oracle in the GPL Version 2 section of the License -# file that accompanied this code. -# -# Modifications: -# If applicable, add the following below the License Header, with the fields -# enclosed by brackets [] replaced by your own identifying information: -# "Portions Copyright [year] [name of copyright owner]" -# -# Contributor(s): -# If you wish your version of this file to be governed by only the CDDL or -# only the GPL Version 2, indicate your decision by adding "[Contributor] -# elects to include this software in this distribution under the [CDDL or GPL -# Version 2] license." If you don't indicate a single choice of license, a -# recipient has the option to distribute your version of this file under -# either the CDDL, the GPL Version 2 or to extend the choice of license to -# its licensees as provided above. However, if you add GPL Version 2 code -# and therefore, elected the GPL Version 2 license, then the option applies -# only if the new code is made subject to such option by the copyright -# holder. -# - -update.node.dcom.no.password=Windows \uBE44\uBC00\uBC88\uD638\uAC00 \uB204\uB77D\uB418\uC5C8\uC2B5\uB2C8\uB2E4. asadmin\uC744 \uC0AC\uC6A9\uD558\uB294 \uACBD\uC6B0 \uB2E4\uC74C\uACFC \uAC19\uC774 \uC6D0\uACA9 Windows \uBE44\uBC00\uBC88\uD638\uB97C \uD30C\uC77C\uC5D0 \uC9C0\uC815\uD569\uB2C8\uB2E4.\nAS_ADMIN_WINDOWSPASSWORD=windows-password\nasadmin\uC5D0 --passwordfile(\uB610\uB294 -W) \uC635\uC158\uC744 \uC0AC\uC6A9\uD558\uC5EC \uBE44\uBC00\uBC88\uD638 \uD30C\uC77C\uC758 \uACBD\uB85C\uB97C \uC9C0\uC815\uD569\uB2C8\uB2E4. -update.node.dcom.no.password=Windows \uBE44\uBC00\uBC88\uD638\uAC00 \uB204\uB77D\uB418\uC5C8\uC2B5\uB2C8\uB2E4. asadmin\uC744 \uC0AC\uC6A9\uD558\uB294 \uACBD\uC6B0 \uB2E4\uC74C\uACFC \uAC19\uC774 \uC6D0\uACA9 Windows \uBE44\uBC00\uBC88\uD638\uB97C \uD30C\uC77C\uC5D0 \uC9C0\uC815\uD569\uB2C8\uB2E4.\nAS_ADMIN_WINDOWSPASSWORD=windows-password\nasadmin\uC5D0 --passwordfile(\uB610\uB294 -W) \uC635\uC158\uC744 \uC0AC\uC6A9\uD558\uC5EC \uBE44\uBC00\uBC88\uD638 \uD30C\uC77C\uC758 \uACBD\uB85C\uB97C \uC9C0\uC815\uD569\uB2C8\uB2E4. -not.dcom.node={0} \uB178\uB4DC\uB294 DCOM \uB178\uB4DC\uAC00 \uC544\uB2D9\uB2C8\uB2E4. \uC720\uD615\uC774 {1}\uC785\uB2C8\uB2E4. - diff --git a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_pt_BR.properties b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_pt_BR.properties deleted file mode 100644 index 46ca0ff58ab..00000000000 --- a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_pt_BR.properties +++ /dev/null @@ -1,44 +0,0 @@ -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -# -# Copyright (c) 2011-2013 Oracle and/or its affiliates. All rights reserved. -# -# The contents of this file are subject to the terms of either the GNU -# General Public License Version 2 only ("GPL") or the Common Development -# and Distribution License("CDDL") (collectively, the "License"). You -# may not use this file except in compliance with the License. You can -# obtain a copy of the License at -# https://github.com/payara/Payara/blob/main/LICENSE.txt -# See the License for the specific -# language governing permissions and limitations under the License. -# -# When distributing the software, include this License Header Notice in each -# file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -# -# GPL Classpath Exception: -# Oracle designates this particular file as subject to the "Classpath" -# exception as provided by Oracle in the GPL Version 2 section of the License -# file that accompanied this code. -# -# Modifications: -# If applicable, add the following below the License Header, with the fields -# enclosed by brackets [] replaced by your own identifying information: -# "Portions Copyright [year] [name of copyright owner]" -# -# Contributor(s): -# If you wish your version of this file to be governed by only the CDDL or -# only the GPL Version 2, indicate your decision by adding "[Contributor] -# elects to include this software in this distribution under the [CDDL or GPL -# Version 2] license." If you don't indicate a single choice of license, a -# recipient has the option to distribute your version of this file under -# either the CDDL, the GPL Version 2 or to extend the choice of license to -# its licensees as provided above. However, if you add GPL Version 2 code -# and therefore, elected the GPL Version 2 license, then the option applies -# only if the new code is made subject to such option by the copyright -# holder. -# - -update.node.dcom.no.password=Falta senha do Windows. Se voc\u00EA estiver usando asadmin, especifique a senha do Windows remota em um arquivo como segue: \nAS_ADMIN_WINDOWSPASSWORD=windows-password\nEspecifique o caminho do arquivo de senha para asadmin com a op\u00E7\u00E3o - passwordfile (ou -W). -update.node.dcom.no.password=Falta senha do Windows. Se voc\u00EA estiver usando asadmin, especifique a senha do Windows remota em um arquivo como segue: \nAS_ADMIN_WINDOWSPASSWORD=windows-password\nEspecifique o caminho do arquivo de senha para asadmin com a op\u00E7\u00E3o - passwordfile (ou -W). -not.dcom.node=O n\u00F3 {0} n\u00E3o \u00E9 um n\u00F3 DCOM. Seu tipo \u00E9 {1}. - diff --git a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_zh_CN.properties b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_zh_CN.properties deleted file mode 100644 index a837a72c1ed..00000000000 --- a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_zh_CN.properties +++ /dev/null @@ -1,44 +0,0 @@ -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -# -# Copyright (c) 2011-2013 Oracle and/or its affiliates. All rights reserved. -# -# The contents of this file are subject to the terms of either the GNU -# General Public License Version 2 only ("GPL") or the Common Development -# and Distribution License("CDDL") (collectively, the "License"). You -# may not use this file except in compliance with the License. You can -# obtain a copy of the License at -# https://github.com/payara/Payara/blob/main/LICENSE.txt -# See the License for the specific -# language governing permissions and limitations under the License. -# -# When distributing the software, include this License Header Notice in each -# file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -# -# GPL Classpath Exception: -# Oracle designates this particular file as subject to the "Classpath" -# exception as provided by Oracle in the GPL Version 2 section of the License -# file that accompanied this code. -# -# Modifications: -# If applicable, add the following below the License Header, with the fields -# enclosed by brackets [] replaced by your own identifying information: -# "Portions Copyright [year] [name of copyright owner]" -# -# Contributor(s): -# If you wish your version of this file to be governed by only the CDDL or -# only the GPL Version 2, indicate your decision by adding "[Contributor] -# elects to include this software in this distribution under the [CDDL or GPL -# Version 2] license." If you don't indicate a single choice of license, a -# recipient has the option to distribute your version of this file under -# either the CDDL, the GPL Version 2 or to extend the choice of license to -# its licensees as provided above. However, if you add GPL Version 2 code -# and therefore, elected the GPL Version 2 license, then the option applies -# only if the new code is made subject to such option by the copyright -# holder. -# - -update.node.dcom.no.password=\u7F3A\u5C11 Windows \u53E3\u4EE4\u3002\u5982\u679C\u4F7F\u7528\u7684\u662F asadmin, \u8BF7\u5728\u6587\u4EF6\u4E2D\u6307\u5B9A\u8FDC\u7A0B Windows \u53E3\u4EE4, \u5982\u4E0B\u6240\u793A:\nAS_ADMIN_WINDOWSPASSWORD=windows-password\n\u4F7F\u7528 --passwordfile (\u6216 -W) \u9009\u9879\u4E3A asadmin \u6307\u5B9A\u53E3\u4EE4\u6587\u4EF6\u7684\u8DEF\u5F84\u3002 -update.node.dcom.no.password=\u7F3A\u5C11 Windows \u53E3\u4EE4\u3002\u5982\u679C\u4F7F\u7528\u7684\u662F asadmin, \u8BF7\u5728\u6587\u4EF6\u4E2D\u6307\u5B9A\u8FDC\u7A0B Windows \u53E3\u4EE4, \u5982\u4E0B\u6240\u793A:\nAS_ADMIN_WINDOWSPASSWORD=windows-password\n\u4F7F\u7528 --passwordfile (\u6216 -W) \u9009\u9879\u4E3A asadmin \u6307\u5B9A\u53E3\u4EE4\u6587\u4EF6\u7684\u8DEF\u5F84\u3002 -not.dcom.node=\u8282\u70B9{0}\u4E0D\u662F DCOM \u8282\u70B9\u3002\u5B83\u7684\u7C7B\u578B\u662F{1}\u3002 - diff --git a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_zh_TW.properties b/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_zh_TW.properties deleted file mode 100644 index 0e70bdee339..00000000000 --- a/nucleus/cluster/admin-l10n/src/main/resources/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings_zh_TW.properties +++ /dev/null @@ -1,44 +0,0 @@ -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -# -# Copyright (c) 2011-2013 Oracle and/or its affiliates. All rights reserved. -# -# The contents of this file are subject to the terms of either the GNU -# General Public License Version 2 only ("GPL") or the Common Development -# and Distribution License("CDDL") (collectively, the "License"). You -# may not use this file except in compliance with the License. You can -# obtain a copy of the License at -# https://github.com/payara/Payara/blob/main/LICENSE.txt -# See the License for the specific -# language governing permissions and limitations under the License. -# -# When distributing the software, include this License Header Notice in each -# file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -# -# GPL Classpath Exception: -# Oracle designates this particular file as subject to the "Classpath" -# exception as provided by Oracle in the GPL Version 2 section of the License -# file that accompanied this code. -# -# Modifications: -# If applicable, add the following below the License Header, with the fields -# enclosed by brackets [] replaced by your own identifying information: -# "Portions Copyright [year] [name of copyright owner]" -# -# Contributor(s): -# If you wish your version of this file to be governed by only the CDDL or -# only the GPL Version 2, indicate your decision by adding "[Contributor] -# elects to include this software in this distribution under the [CDDL or GPL -# Version 2] license." If you don't indicate a single choice of license, a -# recipient has the option to distribute your version of this file under -# either the CDDL, the GPL Version 2 or to extend the choice of license to -# its licensees as provided above. However, if you add GPL Version 2 code -# and therefore, elected the GPL Version 2 license, then the option applies -# only if the new code is made subject to such option by the copyright -# holder. -# - -update.node.dcom.no.password=\u7F3A\u5C11 Windows \u5BC6\u78BC\u3002\u82E5\u60A8\u4F7F\u7528\u7684\u662F asadmin\uFF0C\u8ACB\u4F9D\u7167\u4E0B\u5217\u65B9\u5F0F\u5728\u6A94\u6848\u4E2D\u6307\u5B9A\u9060\u7AEF Windows \u5BC6\u78BC\uFF1A\nAS_ADMIN_WINDOWSPASSWORD=windows-password\n\u8ACB\u4F7F\u7528 --passwordfile (\u6216 -W) \u9078\u9805\u4F86\u6307\u5B9A asadmin \u7684\u5BC6\u78BC\u6A94\u6848\u8DEF\u5F91\u3002 -update.node.dcom.no.password=\u7F3A\u5C11 Windows \u5BC6\u78BC\u3002\u82E5\u60A8\u4F7F\u7528\u7684\u662F asadmin\uFF0C\u8ACB\u4F9D\u7167\u4E0B\u5217\u65B9\u5F0F\u5728\u6A94\u6848\u4E2D\u6307\u5B9A\u9060\u7AEF Windows \u5BC6\u78BC\uFF1A\nAS_ADMIN_WINDOWSPASSWORD=windows-password\n\u8ACB\u4F7F\u7528 --passwordfile (\u6216 -W) \u9078\u9805\u4F86\u6307\u5B9A asadmin \u7684\u5BC6\u78BC\u6A94\u6848\u8DEF\u5F91\u3002 -not.dcom.node=\u7BC0\u9EDE {0} \u4E0D\u662F DCOM \u7BC0\u9EDE\u3002\u5B83\u7684\u985E\u578B\u662F {1}\u3002 - diff --git a/nucleus/cluster/admin/readme b/nucleus/cluster/admin/readme index ee03e92ec3d..f0e17864424 100755 --- a/nucleus/cluster/admin/readme +++ b/nucleus/cluster/admin/readme @@ -59,12 +59,6 @@ And here is the resulting config in domain.xml - - - - - - @@ -82,10 +76,4 @@ bunch-o-nodes - - - - - - diff --git a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/CreateInstanceCommand.java b/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/CreateInstanceCommand.java index 098f3e50c1f..c54ff3bd371 100644 --- a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/CreateInstanceCommand.java +++ b/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/CreateInstanceCommand.java @@ -37,7 +37,7 @@ * only if the new code is made subject to such option by the copyright * holder. */ -// Portions Copyright [2018-2021] [Payara Foundation and/or its affiliates] +// Portions Copyright 2018-2026 Payara Foundation and/or its affiliates package com.sun.enterprise.v3.admin.cluster; import com.sun.enterprise.config.serverbeans.Domain; @@ -87,7 +87,7 @@ /** * Remote AdminCommand to create an instance. This command is run only on DAS. * 1. Register the instance on DAS - * 2. Create the file system on the instance node via ssh, DCOM, node agent, or other + * 2. Create the file system on the instance node via ssh, node agent, or other * 3. Bootstrap a minimal set of config files on the instance for secure admin. * * @author Jennifer Chou @@ -616,10 +616,6 @@ private boolean userManagedNodeType() { return false; } - if (theNode.getType().equals("DCOM")) { - return false; - } - return true; } } diff --git a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/CreateNodeSshCommand.java b/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/CreateNodeSshCommand.java index 249c4555adc..9ac82d66bc0 100644 --- a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/CreateNodeSshCommand.java +++ b/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/CreateNodeSshCommand.java @@ -37,7 +37,7 @@ * only if the new code is made subject to such option by the copyright * holder. */ -// Portions Copyright [2018-2019] Payara Foundation and/or affiliates +// Portions Copyright [2018-2026] Payara Foundation and/or affiliates package com.sun.enterprise.v3.admin.cluster; @@ -134,8 +134,7 @@ protected final RemoteType getType() { } /** - * We can't put these values into the base class simply to get the names that the user sees correct. I.e. "ssh" versus - * "dcom" versus future types... + * We can't put these values into the base class simply to get the names that the user sees correct. I.e. "ssh" * */ @Override diff --git a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/CreateRemoteNodeCommand.java b/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/CreateRemoteNodeCommand.java index cfbf7f5b567..f6b3d29fb66 100644 --- a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/CreateRemoteNodeCommand.java +++ b/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/CreateRemoteNodeCommand.java @@ -37,7 +37,7 @@ * only if the new code is made subject to such option by the copyright * holder. */ -// Portions Copyright [2018-2021] Payara Foundation and/or affiliates +// Portions Copyright 2018-2026 Payara Foundation and/or affiliates package com.sun.enterprise.v3.admin.cluster; @@ -175,7 +175,7 @@ public final void executeInternal(AdminCommandContext context) { } catch (CommandValidationException e) { String invalidParamsMsg = Strings.get("node.ssh.invalid.params"); if (!force) { - msg.append(StringUtils.cat(NL, invalidParamsMsg, Strings.get("create.node.ssh.or.dcom.not.created", getType().toString()), e.getMessage())); + msg.append(StringUtils.cat(NL, invalidParamsMsg, Strings.get("create.node.ssh.not.created", getType().toString()), e.getMessage())); report.setMessage(msg.toString()); report.setActionExitCode(FAILURE); return; diff --git a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/LocalStrings.properties b/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/LocalStrings.properties index e6d35e0dda6..82bae4043ad 100644 --- a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/LocalStrings.properties +++ b/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/LocalStrings.properties @@ -37,7 +37,7 @@ # only if the new code is made subject to such option by the copyright # holder. # -## Portions Copyright [2018-2022] [Payara Foundation and/or its affiliates] +## Portions Copyright 2018-2026 Payara Foundation and/or its affiliates #####restart-instance restart.instance.notInstance=-_restart-instance only works on instances. This is a {0} @@ -142,7 +142,7 @@ mustRunLocal=Could not access host {0} for node {1}. You must run the following noSuchNode=There is no node named {0} in this domain. notConfigNodeType=Node {0} is not type CONFIG -notRemoteNodeType=Node {0} is not a remote type (SSH or DCOM). +notRemoteNodeType=Node {0} is not a remote type (SSH). lbenabledNotForStandaloneInstance=The lbenabled option is not supported for standalone instances. Instance.duplicateInstanceDir=Server instance {0} is trying to use the same directory as instance {1} @@ -234,7 +234,7 @@ node.command.failed.ssh.details=Failed to run ''{2}'' on node {0} ({1}): {3}. \ SSH settings: {4} create.node.ssh.continue.force=Continuing with node creation due to use of --force. -create.node.ssh.or.dcom.not.created={0} node not created. To force creation of the \ +create.node.ssh.not.created={0} node not created. To force creation of the \ node with these parameters rerun the command \ using the --force option. create.node.ssh.install.success=Successfully installed Payara on {0}. @@ -290,36 +290,5 @@ get.health.instance.state.since={0} {1} since {2} secure.admin.boot.errCreDir=Could not create directories for {0}. No further information is available. secure.admin.boot.errSetLastMod=Could not set the lastModified date for {0}. No further information is available. -bad.dcom.ping=Error connecting to remote with DCOM: {0} -dcom.no.remote.install=Could not find a remote Payara installation on host: {0} at {1} -dcom.no.connection=Couldn''t connect via DCOM to remote host: {0} internal.error=Internal Error: {0} no.mkdir=Could not create the directory on the remote host: {0} -dcom.connect.ok=Successfully connected to {0} via DCOM. Also successfully \n\ran the version command on the remote Payara installation. -dcom.no.remote.access=Could not access the files, {0} on host {1} via DCOM. -dcom.no.remote.file=The remote file, {0} doesn''t exist on {1} -dcom.no.remote.file.access=Can not access the remote file system. Is UAC on? -dcom.access.ok=Successfully accessed {0} on {1} using DCOM. -dcom.no.write=Could not write {0} to {1} on {2} using DCOM. -dcom.write.ok=Successfully wrote {0} to {1} on {2} using DCOM. -dcom.run.ok=Successfully ran the test script on {0} using DCOM.\n\ -The script simply ran the DIR command. Here are the first few \ -lines from the output of the dir command on the remote machine:\n\{1} -dcom.no.run=Could not run the test script on {0} using DCOM. -validate.dcom.getbyname=\nSuccessfully resolved host name to: {0} -validate.dcom.connect=Successfully connected to {0} at port {1} on host {2}. -validate.dcom.no.connect=Can''t connect to {0} at port {1} on host {2}.\n\ -This is usually caused by a firewall blocking the port or the Server Service being stopped. -dcom.no.wmi=Could not connect to WMI (Windows Management Interface) on {0}. -dcom.wmi.ok=Successfully accessed WMI (Windows Management Interface) on {0}. There are {1} processes running on {0}. -dcom.wmi.procinfolegend=Below are the command lines for all the remote processes that have one: \n -dcom.nopassword=Missing Windows password. If you are using asadmin, \ -specify the remote Windows password in a file as follows:\n\ -AS_ADMIN_WINDOWSPASSWORD=windows-password\n\ -Specify the path of the password file to asadmin with the --passwordfile (or -W) option. -dcom.no.installdir=The configuration for the node is invalid. There is no value for the installdir. \ -Try running update-node-dcom and specify the install directory for Payara. -dcom.no.jdk=Could not find javac in the path on {0]. A JDK is required to be configured in the Path. -dcom.yes.jdk=Verified that a JDK is installed and available in the Path on {0}. javac -version returned this: {1} -dcom.no.local=Successfully verified that the host, {0}, is not the local machine as required. -dcom.yes.local=The host, {0}, is the local machine. DCOM is only for use on distributed systems. diff --git a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/NodeUtils.java b/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/NodeUtils.java index 20102f965b0..3ec93db031a 100644 --- a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/NodeUtils.java +++ b/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/NodeUtils.java @@ -37,14 +37,13 @@ * only if the new code is made subject to such option by the copyright * holder. */ -// Portions Copyright [2018-2020] Payara Foundation and/or affiliates +// Portions Copyright [2018-2026] Payara Foundation and/or affiliates package com.sun.enterprise.v3.admin.cluster; import com.sun.enterprise.util.cluster.RemoteType; import com.sun.enterprise.util.cluster.SshAuthType; -import org.glassfish.cluster.ssh.util.DcomUtils; import org.glassfish.hk2.api.ServiceLocator; import org.glassfish.internal.api.RelativePathResolver; import com.sun.enterprise.universal.process.ProcessManagerException; @@ -57,10 +56,6 @@ import org.glassfish.api.ActionReport; import org.glassfish.api.admin.*; import com.sun.enterprise.universal.glassfish.TokenResolver; -import com.sun.enterprise.util.cluster.windows.process.WindowsCredentials; -import com.sun.enterprise.util.cluster.windows.process.WindowsRemotePinger; -import com.sun.enterprise.util.cluster.windows.io.WindowsRemoteFile; -import com.sun.enterprise.util.cluster.windows.io.WindowsRemoteFileSystem; import org.glassfish.cluster.ssh.launcher.SSHLauncher; import java.util.logging.Logger; import java.io.File; @@ -82,7 +77,6 @@ */ public class NodeUtils { public static final String NODE_DEFAULT_SSH_PORT = "22"; - public static final String NODE_DEFAULT_DCOM_PORT = "135"; public static final String NODE_DEFAULT_REMOTE_USER = "${user.name}"; public static final String NODE_DEFAULT_INSTALLDIR = "${com.sun.aas.productRoot}"; // Command line option parameter names @@ -124,13 +118,6 @@ static boolean isSSHNode(Node node) { return node.getType().equals("SSH"); } - public static boolean isDcomNode(Node node) { - if (node == null) { - return false; - } - return node.getType().equals("DCOM"); - } - /** * Get the version string from a glassfish installation on the node. * @param node @@ -313,25 +300,14 @@ private void validatePassword(String p) throws CommandValidationException { } /** - * Make sure we can make an SSH or DCOM connection using an existing node. + * Make sure we can make an SSH connection using an existing node. * * @param node Node to connect to * @throws CommandValidationException */ void pingRemoteConnection(Node node) throws CommandValidationException { - RemoteType type = RemoteType.valueOf(node.getType()); validateHostName(node.getNodeHost()); - - switch (type) { - case SSH: - pingSSHConnection(node); - break; - case DCOM: - pingDcomConnection(node); - break; - default: - throw new CommandValidationException("Internal Error: unknown type"); - } + pingSSHConnection(node); } /** @@ -361,124 +337,8 @@ private void pingSSHConnection(Node node) throws } } - /** - * Make sure we can make a DCOM connection using an existing node. - * Exception... - * @param node Node to connect to - * @throws CommandValidationException - */ - private void pingDcomConnection(Node node) throws CommandValidationException { - try { - SshConnector connector = node.getSshConnector(); - SshAuth auth = connector.getSshAuth(); - String host = connector.getSshHost(); - - if (!StringUtils.ok(host)) { - host = node.getNodeHost(); - } - - String username = auth.getUserName(); - String password = resolvePassword(auth.getPassword()); - String installdir = node.getInstallDirUnixStyle(); - String domain = node.getWindowsDomain(); - - if (!StringUtils.ok(domain)) { - domain = host; - } - - if (!StringUtils.ok(installdir)) { - throw new CommandValidationException(Strings.get("dcom.no.installdir")); - } - - pingDcomConnection(host, domain, username, password, getInstallRoot(installdir)); - } - // very complicated catch copied from pingssh above... - catch (CommandValidationException cve) { - throw cve; - } - catch (Exception e) { - String m1 = e.getMessage(); - String m2 = ""; - Throwable e2 = e.getCause(); - if (e2 != null) { - m2 = e2.getMessage(); - } - String msg = Strings.get("ssh.bad.connect", node.getNodeHost(), "DCOM"); - logger.warning(StringUtils.cat(": ", msg, m1, m2)); - throw new CommandValidationException(StringUtils.cat(NL, msg, m1, m2)); - } - } - - /** - * Make sure GF is installed and available. - * - * @throws CommandValidationException - */ - void pingDcomConnection(String host, String domain, String username, - String password, String installRoot) throws CommandValidationException { - // don't bother trying to connect if we have no password! - - if (!StringUtils.ok(password)) { - throw new CommandValidationException(Strings.get("dcom.nopassword")); - } - - // resolve password aliases - password = DcomUtils.resolvePassword(resolver.resolve(password)); - - if (NetUtils.isThisHostLocal(host)) { - throw new CommandValidationException(Strings.get("dcom.yes.local", host)); - } - - try { - installRoot = installRoot.replace('/', '\\'); - WindowsRemoteFileSystem wrfs = new WindowsRemoteFileSystem(host, username, password); - WindowsRemoteFile wrf = new WindowsRemoteFile(wrfs, installRoot); - WindowsCredentials creds = new WindowsCredentials(host, domain, username, password); - - // also looking for side-effect of Exception getting thrown... - if (!wrf.exists()) { - throw new CommandValidationException(Strings.get("dcom.no.remote.install", - host, installRoot)); - } - - if (!WindowsRemotePinger.ping(installRoot, creds)) { - throw new CommandValidationException(Strings.get("dcom.no.connection", host)); - } - } - catch (CommandValidationException cve) { - throw cve; - } - catch (Exception ex) { - throw new CommandValidationException(ex); - } - } - - private void validateRemoteConnection(ParameterMap map) throws - CommandValidationException { - // guaranteed to either get a valid type -- or a CommandValidationException - RemoteType type = parseType(map); - - // just too difficult to refactor now... - if (type == RemoteType.SSH) { - validateSSHConnection(map); - } else if (type == RemoteType.DCOM) { - validateDcomConnection(map); - } - } - - private void validateDcomConnection(ParameterMap map) throws CommandValidationException { - if (Boolean.parseBoolean(map.getOne(PARAM_INSTALL))) { - // we don't want to insist that there is an installation - there isn't one probably!! - return; - } - - String nodehost = resolver.resolve(map.getOne(PARAM_NODEHOST)); - String installdir = resolver.resolve(map.getOne(PARAM_INSTALLDIR)); - String user = resolver.resolve(map.getOne(PARAM_REMOTEUSER)); - String password = map.getOne(PARAM_SSHPASSWORD); - String domain = nodehost; - - pingDcomConnection(nodehost, domain, user, password, getInstallRoot(installdir)); + private void validateRemoteConnection(ParameterMap map) throws CommandValidationException { + validateSSHConnection(map); } private void validateSSHConnection(ParameterMap map) throws @@ -680,19 +540,4 @@ private SshAuthType parseSshAuthType(ParameterMap map) throws CommandValidationE throw new CommandValidationException(e); } } - - // DCOMFIX - installroot is probably the parent of the glassfish directory - // DCOMFIX it would be nice to have the actual install-root of GF in the config - private String getInstallRoot(String installDir) { - // Imagine if you send in "C:\" as installDir. THat is NOT the same as "C:" ! - // that's why we need extra processing. - char[] chars = installDir.toCharArray(); - char end = chars[chars.length - 1]; - - if (end != '/' && end != '\\') { - return installDir + "/glassfish"; - } else { - return installDir + "glassfish"; - } - } } diff --git a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/SecureAdminBootstrapHelper.java b/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/SecureAdminBootstrapHelper.java index fd71819ebd5..29696bbdfc5 100644 --- a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/SecureAdminBootstrapHelper.java +++ b/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/SecureAdminBootstrapHelper.java @@ -43,10 +43,7 @@ import com.sun.enterprise.util.cluster.RemoteType; import com.sun.enterprise.config.serverbeans.Node; -import com.sun.enterprise.util.cluster.windows.process.WindowsException; import com.sun.enterprise.util.io.FileUtils; -import com.sun.enterprise.util.cluster.windows.io.WindowsRemoteFile; -import com.sun.enterprise.util.cluster.windows.io.WindowsRemoteFileSystem; import com.trilead.ssh2.SFTPv3FileAttributes; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; @@ -61,7 +58,6 @@ import java.util.logging.Logger; import org.glassfish.cluster.ssh.launcher.SSHLauncher; import org.glassfish.cluster.ssh.sftp.SFTPClient; -import org.glassfish.cluster.ssh.util.DcomInfo; import org.glassfish.hk2.api.ServiceLocator; /** @@ -115,28 +111,18 @@ public static SecureAdminBootstrapHelper getRemoteHelper( Strings.get("internal.error", "unknown type")); } - switch (type) { - case SSH: - return new SSHHelper( - habitat, - DASInstanceDir, - remoteNodeDir, - instance, - node, - logger); - case DCOM: - return new DCOMHelper( - habitat, - DASInstanceDir, - remoteNodeDir, - instance, - node, - logger); - default: - throw new IllegalArgumentException( - Strings.get("internal.error", "A new type must have " - + "been added --> unknown type: " + type.toString())); + if (type == RemoteType.SSH) { + return new SSHHelper( + habitat, + DASInstanceDir, + remoteNodeDir, + instance, + node, + logger); } + throw new IllegalArgumentException( + Strings.get("internal.error", "A new type must have " + + "been added --> unknown type: " + type.toString())); } /** @@ -417,84 +403,6 @@ void setLastModified(final String path, final long when) throws IOException { } } - private static class DCOMHelper extends RemoteHelper { - final WindowsRemoteFileSystem wrfs; - final DcomInfo info; - - DCOMHelper( - final ServiceLocator habitat, - final File dasInstanceDir, - String remoteNodeDir, - final String instance, - final Node node, - final Logger logger) throws BootstrapException { - super(habitat, dasInstanceDir, remoteNodeDir, instance, node, logger); - try { - info = new DcomInfo(node); - wrfs = new WindowsRemoteFileSystem(info.getHost(), info.getUser(), info.getPassword()); - } - catch (WindowsException ex) { - throw new BootstrapException(ex); - } - } - - @Override - protected void close() { - // DCOM doesn't need to do anything... - } - - @Override - protected void mkdirs(String subdir) throws IOException { - String remoteDir = remoteInstanceDir + subdir; - logger.log(Level.FINE, "Trying to create directories for remote path {0}", - remoteDir); - try { - WindowsRemoteFile f = new WindowsRemoteFile(wrfs, remoteDir); - f.mkdirs(); - - if (!f.exists()) - throw new IOException(Strings.get("no.mkdir", f.getPath())); - } - catch (WindowsException ex) { - throw new IOException(ex.getMessage(), ex); - } - } - - @Override - void writeToFile(String path, InputStream content) throws IOException { - try { - WindowsRemoteFile f = new WindowsRemoteFile(wrfs, path); - f.copyFrom((BufferedInputStream)content); - } - catch (WindowsException ex) { - throw new IOException(ex.getMessage(), ex); - } - } - - @Override - void setLastModified(String path, long when) throws IOException { - try { - WindowsRemoteFile f = new WindowsRemoteFile(wrfs, path); - f.setLastModified(when); - } - catch (WindowsException ex) { - throw new IOException(ex.getMessage(), ex); - } - } - - @Override - protected void backdateInstanceDomainXML() throws BootstrapException { - final String remoteDomainXML = remoteInstanceDir + DOMAIN_XML_PATH; - try { - setLastModified(remoteDomainXML, 0); - } - catch (IOException ex) { - throw new BootstrapException(ex); - } - logger.log(Level.FINE, "Backdated the instance's copy of domain.xml"); - } - } - /** * Implements the helper for a local instance (one co-located with the DAS). */ diff --git a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/StopInstanceCommand.java b/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/StopInstanceCommand.java index a989b8da02e..18068966213 100644 --- a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/StopInstanceCommand.java +++ b/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/StopInstanceCommand.java @@ -37,7 +37,7 @@ * only if the new code is made subject to such option by the copyright * holder. */ -// Portions Copyright [2018-2022] Payara Foundation and/or affiliates +// Portions Copyright [2018-2026] Payara Foundation and/or affiliates package com.sun.enterprise.v3.admin.cluster; @@ -50,8 +50,6 @@ import com.sun.enterprise.config.serverbeans.Server; import com.sun.enterprise.module.ModulesRegistry; import com.sun.enterprise.util.StringUtils; -import com.sun.enterprise.util.cluster.windows.io.WindowsRemoteFile; -import com.sun.enterprise.util.cluster.windows.process.WindowsException; import com.sun.enterprise.v3.admin.StopServer; import jakarta.inject.Inject; import org.glassfish.api.ActionReport; @@ -60,7 +58,6 @@ import org.glassfish.api.admin.*; import org.glassfish.cluster.ssh.launcher.SSHLauncher; import org.glassfish.cluster.ssh.sftp.SFTPClient; -import org.glassfish.cluster.ssh.util.DcomInfo; import org.glassfish.hk2.api.IterableProvider; import org.glassfish.hk2.api.PerLookup; import org.glassfish.hk2.api.PostConstruct; @@ -138,7 +135,6 @@ public class StopInstanceCommand extends StopServer implements AdminCommand, Pos private Server instance; File pidFile = null; SFTPClient ftpClient = null; - private WindowsRemoteFile wrf; @Override public void execute(AdminCommandContext context) { @@ -244,19 +240,8 @@ public void execute(AdminCommandContext context) { ftpClient.close(); } } - } else if (node.getType().equals("DCOM")) { - DcomInfo info; - try { - info = new DcomInfo(node); - String path = info.getRemoteNodeRootDirectory() + "\\config\\pid"; - wrf = new WindowsRemoteFile(info.getCredentials(), path); - if (wrf.exists()) - errorMessage = pollForRealDeath("DCOM"); - - } catch (WindowsException ex) { - //could not get to other host - } } + if (errorMessage != null) { report.setActionExitCode(ActionReport.ExitCode.FAILURE); report.setMessage(errorMessage); @@ -389,10 +374,8 @@ private String pollForRealDeath(String mode) { } else if (mode.equals("SSH")) { if (!ftpClient.exists(pidFile.toString())) return null; - } else if (mode.equals("DCOM")) { - if (wrf == null || !wrf.exists()) - return null; } + // Fairly long interval between tries because checking over // SSH is expensive. Thread.sleep(5000); diff --git a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/UpdateNodeCommand.java b/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/UpdateNodeCommand.java index 53998af3806..766f38b23b3 100644 --- a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/UpdateNodeCommand.java +++ b/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/UpdateNodeCommand.java @@ -37,7 +37,7 @@ * only if the new code is made subject to such option by the copyright * holder. */ -// Portions Copyright [2018-2021] Payara Foundation and/or affiliates +// Portions Copyright [2018-2026] Payara Foundation and/or affiliates package com.sun.enterprise.v3.admin.cluster; @@ -247,7 +247,7 @@ public Object run(ConfigBeanProxy param) throws PropertyVetoException, Transacti if (type != null) { writeableNode.setType(type); } - if (RemoteType.SSH.name().equals(type) || RemoteType.DCOM.name().equals(type)) { + if (RemoteType.SSH.name().equals(type)) { SshConnector sshConnector = writeableNode.getSshConnector(); if (sshConnector == null) { sshConnector = writeableNode.createChild(SshConnector.class); diff --git a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/ValidateDcom.java b/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/ValidateDcom.java deleted file mode 100644 index 11e59cde258..00000000000 --- a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/ValidateDcom.java +++ /dev/null @@ -1,369 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2011-2013 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -// Portions Copyright [2018] Payara Foundation and/or affiliates - -package com.sun.enterprise.v3.admin.cluster; - -import com.sun.enterprise.config.serverbeans.Nodes; -import com.sun.enterprise.util.cluster.windows.process.WindowsException; -import com.sun.enterprise.universal.glassfish.TokenResolver; -import com.sun.enterprise.util.cluster.windows.process.WindowsCredentials; -import com.sun.enterprise.util.cluster.windows.process.WindowsRemoteScripter; -import com.sun.enterprise.util.cluster.windows.process.WindowsWmi; -import com.sun.enterprise.util.cluster.windows.io.WindowsRemoteFileSystem; -import java.io.*; -import java.io.IOException; -import java.net.*; -import org.glassfish.api.admin.*; -import org.glassfish.api.admin.RestEndpoints; -import static com.sun.enterprise.util.StringUtils.ok; -import com.sun.enterprise.util.cluster.windows.io.WindowsRemoteFile; -import com.sun.enterprise.util.net.NetUtils; -import java.net.InetAddress; -import org.glassfish.api.ActionReport; -import org.glassfish.api.Param; -import org.glassfish.api.admin.AdminCommand; -import org.glassfish.api.admin.AdminCommandContext; -import org.glassfish.api.admin.CommandLock; -import org.glassfish.api.admin.ExecuteOn; -import org.glassfish.api.admin.RuntimeType; - -import org.jvnet.hk2.annotations.Service; -import org.glassfish.hk2.api.PerLookup; -import org.glassfish.cluster.ssh.util.DcomUtils; - -/** - * This command tests - * to see if a remote Windows machine can be contacted from the server via DCOM. - * @author Byron Nevins - */ -@Service(name = "validate-dcom") -@PerLookup -@CommandLock(CommandLock.LockType.NONE) -@ExecuteOn({RuntimeType.DAS}) -@RestEndpoints({ - @RestEndpoint(configBean = Nodes.class, - opType = RestEndpoint.OpType.GET, - path = "validate-dcom", - description = "Validate DCOM") -}) -public class ValidateDcom implements AdminCommand { - @Param(name = "windowsuser", shortName = "w", optional = true, defaultValue = "${user.name}") - private String user; - @Param(name = "windowspassword", optional = true, password = true) - private String password; - @Param(name = "host", optional = false, primary = true) - private String host; - @Param(name = "windowsdomain", shortName = "d", optional = true) - private String windowsdomain; - @Param(name = "remotetestdir", optional = true, defaultValue = "C:\\") - private String testdir; - @Param(optional = true, shortName = "v", defaultValue = "false") - private boolean verbose; - private boolean debug; - private final TokenResolver resolver = new TokenResolver(); - private ActionReport report; - private WindowsRemoteFileSystem wrfs; - private WindowsCredentials creds; - private final StringBuilder out = new StringBuilder(); - private WindowsRemoteFile wrf; - private WindowsRemoteFile script; - private static final String SCRIPT_NAME = "delete_me.bat"; - private String scriptFullPath; - - @Override - public final void execute(AdminCommandContext context) { - debug = Boolean.parseBoolean(System.getenv("AS_DEBUG")) && verbose; - try { - // try/finally is least messy way of making sure partial success news - // is delivered back to caller - - if (!init(context)) - return; - - if (!testNotLocal()) - return; - - if (!testDcomPort()) - return; - - if (!testDcomFileAccess()) - return; - - if (!testDcomFileWrite()) - return; - - if (!testWMI()) - return; - - if (!testRemoteScript()) - return; - - if (!testJdkAvailable()) - return; - } - finally { - if (report.getActionExitCode() != ActionReport.ExitCode.SUCCESS || verbose) - report.setMessage(out.toString()); - } - } - - private boolean init(AdminCommandContext context) { - report = context.getActionReport(); - report.setActionExitCode(ActionReport.ExitCode.SUCCESS); - user = resolver.resolve(user); - password = DcomUtils.resolvePassword(resolver.resolve(password)); - - if (!ok(password)) { - setError(Strings.get("dcom.nopassword")); - return false; - } - - // backslash does not actually matter but it's neater - testdir = resolver.resolve(testdir).replace('/', '\\'); - if (testdir.endsWith("\\")) - testdir = testdir.substring(0, testdir.length() - 1); - - if (!ok(windowsdomain)) - windowsdomain = host; - - creds = new WindowsCredentials(host, windowsdomain, user, password); - try { - wrfs = new WindowsRemoteFileSystem(creds); - } - catch (WindowsException ex) { - // probably the j-interop-repackagted.jar is missing - setError(ex.getMessage()); - return false; - } - scriptFullPath = testdir + "\\" + SCRIPT_NAME; - return true; - } - - /** - * Make sure port 135 (the DCOM port) is alive on the remote host - * Fast preliminary test (4 seconds worst-case) - */ - private boolean testDcomPort() { - try { - // only interested in Exception side-effect... - InetAddress ia = InetAddress.getByName(host); - out.append(Strings.get("validate.dcom.getbyname", ia)).append('\n'); - } - catch (UnknownHostException e) { - setError(e, Strings.get("unknown.host", host)); - return false; - } - - boolean b135 = testPort(135, "DCOM Port"); - boolean b139 = testPort(139, "NetBIOS Session Service"); - boolean b445 = testPort(445, "Windows Shares"); - - return b135 && b139 && b445; - } - - /** - * return true if A-OK. Otherwise set up the reporter and return false - * @throws CommandValidationException - */ - private boolean testDcomFileAccess() { - try { - wrf = new WindowsRemoteFile(wrfs, testdir); - } - catch (WindowsException ex) { - setError(ex, Strings.get("dcom.no.remote.access", testdir, host)); - return false; - } - try { - // also looking for side-effect of Exception getting thrown... - if (!wrf.exists()) { - setError(Strings.get("dcom.no.remote.file", testdir, host)); - return false; - } - } - catch (WindowsException ex) { - setError(ex, Strings.get("dcom.no.remote.file.access", testdir, host)); - return false; - } - out.append(Strings.get("dcom.access.ok", testdir, host)).append('\n'); - return true; - } - - private boolean testDcomFileWrite() { - try { - script = new WindowsRemoteFile(wrf, SCRIPT_NAME); - script.copyFrom("dir " + testdir + "\\\n"); - out.append(Strings.get("dcom.write.ok", SCRIPT_NAME, testdir, host)).append('\n'); - } - catch (WindowsException ex) { - setError(ex, Strings.get("dcom.no.write", SCRIPT_NAME, testdir, host)); - return false; - } - return true; - } - - private boolean testWMI() { - int count = -1; - try { - WindowsWmi ww = new WindowsWmi(creds); - count = ww.getCount(); - if (debug) { - String[] info = ww.getInfo(); - out.append(Strings.get("dcom.wmi.procinfolegend")); - for (String s : info) { - // e.g. '\tCommandLine = "xxxxx"' - String[] lines = s.split("[\t\n\r]"); - for (String line : lines) { - if (line.startsWith("CommandLine")) { - out.append(" ").append(line).append('\n'); - break; - } - } - } - } - } - catch (WindowsException ex) { - setError(ex, Strings.get("dcom.no.wmi", host)); - return false; - } - out.append(Strings.get("dcom.wmi.ok", host, count)).append('\n'); - return true; - } - - private boolean testRemoteScript() { - String scriptOut = null; - try { - WindowsRemoteScripter scripter = new WindowsRemoteScripter(creds); - scriptOut = scripter.run(scriptFullPath); - script.delete(); - } - catch (WindowsException ex) { - setError(ex, Strings.get("dcom.no.run", host)); - return false; - } - out.append(Strings.get("dcom.run.ok", host, crunch(12, scriptOut))).append('\n'); - return true; - } - - // TODO report a bug with JIRA setFailureCause causes explosions! - private void setError(Exception e, String msg) { - //report.setFailureCause(e); - setError(msg + " : " + e.getMessage()); - if (debug) { - Throwable t = e; - do { - dumpStack(t); - } - while ((t = t.getCause()) != null); - } - } - - private void setError(String msg) { - report.setActionExitCode(ActionReport.ExitCode.FAILURE); - out.append(msg).append('\n'); - } - - private String crunch(int numlines, String big) { - if (!ok(big)) - return big; - StringBuilder sb = new StringBuilder(); - String[] ss = big.split("\n"); - - // numlines or fewer lines - for (int i = 0; i < numlines && i < ss.length; i++) { - sb.append(" ").append(ss[i]).append('\n'); - } - - return sb.toString(); - } - - private void dumpStack(Throwable t) { - StringWriter sw = new StringWriter(); - PrintWriter pw = new PrintWriter(sw, true); - t.printStackTrace(pw); - pw.close(); - out.append(sw.toString()); - } - - private boolean testPort(int port, String description) { - try { - try (Socket socket = new Socket()) { - socket.connect(new InetSocketAddress(host, port), 4000); - } - out.append(Strings.get("validate.dcom.connect", description, port, host)).append('\n'); - return true; - } - catch (IOException e) { - setError(e, Strings.get("validate.dcom.no.connect", description, port, host)); - return false; - } - } - - private boolean testJdkAvailable() { - try { - script = new WindowsRemoteFile(wrf, SCRIPT_NAME); - script.copyFrom("javac -version \r\n"); - WindowsRemoteScripter scripter = new WindowsRemoteScripter(creds); - - // javac and jar write to stderr NOT stdout - scripter.wantStdErr(); - - String scriptOut = scripter.run(scriptFullPath); - script.delete(); - out.append(Strings.get("dcom.yes.jdk", host, scriptOut)); - out.append('\n'); - return true; - } - catch (WindowsException ex) { - setError(ex, Strings.get("dcom.no.jdk", host)); - return false; - } - } - - private boolean testNotLocal() { - if (NetUtils.isThisHostLocal(host)) { - setError(Strings.get("dcom.yes.local", host)); - return false; - } - out.append(Strings.get("dcom.no.local", host)); - out.append('\n'); - return true; - } -} diff --git a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/dcom/CreateNodeDcom.java b/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/dcom/CreateNodeDcom.java deleted file mode 100644 index 36929139840..00000000000 --- a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/dcom/CreateNodeDcom.java +++ /dev/null @@ -1,155 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2011-2013 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -// Portions Copyright [2018] Payara Foundation and/or affiliates - -package com.sun.enterprise.v3.admin.cluster.dcom; - -import com.sun.enterprise.config.serverbeans.Nodes; -import com.sun.enterprise.util.cluster.RemoteType; -import org.glassfish.cluster.ssh.util.DcomUtils; -import java.util.List; -import com.sun.enterprise.v3.admin.cluster.CreateRemoteNodeCommand; -import com.sun.enterprise.v3.admin.cluster.NodeUtils; -import org.glassfish.api.Param; -import org.glassfish.api.admin.*; - - -import org.jvnet.hk2.annotations.Service; -import org.glassfish.hk2.api.PerLookup; -import static com.sun.enterprise.util.StringUtils.ok; -/** - * Remote AdminCommand to create a DCOM node - * - * @author Byron Nevins - */ -@Service(name = "create-node-dcom") -@PerLookup -@CommandLock(CommandLock.LockType.NONE) -@ExecuteOn({RuntimeType.DAS}) -@RestEndpoints({ - @RestEndpoint(configBean=Nodes.class, - opType=RestEndpoint.OpType.POST, - path="create-node-dcom", - description="Create Node DCOM") -}) -public class CreateNodeDcom extends CreateRemoteNodeCommand { - @Param(name = "windowsuser", shortName = "w", optional = true, defaultValue = NodeUtils.NODE_DEFAULT_REMOTE_USER) - private String windowsuser; - @Param(name = "windowspassword", optional = true, password = true) - private String windowspassword; - @Param(name = "windowsdomain", shortName = "d", optional = true) - private String windowsdomain; - - @Override - protected void initialize() { - // check windows domain - if(!ok(windowsdomain)) - windowsdomain = nodehost; - } - - @Override - public final void execute(AdminCommandContext context) { - executeInternal(context); - } - - @Override - protected void validate() throws CommandValidationException { - if (!ok(windowspassword)) - throw new CommandValidationException(Strings.get("update.node.dcom.no.password")); - } - - @Override - protected RemoteType getType() { - return RemoteType.DCOM; - } - - /** - * Sometimes the console passes an empty string for a parameter. This - * makes sure those are defaulted correctly. - */ - @Override - protected final void checkDefaults() { - super.checkDefaults(); - - // The default is automatically set to 22 -- which is certainly a mistake! - if (remotePort == null || remotePort.isEmpty() || remotePort.equals(NodeUtils.NODE_DEFAULT_SSH_PORT)) { - remotePort = NodeUtils.NODE_DEFAULT_DCOM_PORT; - } - } - - /** - * We can't put these values into the base class simply to get the names that - * the user sees correct. I.e. "ssh" versus "dcom" versus future types... - * - */ - @Override - protected final void populateBaseClass() { - remotePort = "135"; - remoteUser = windowsuser; - remotePassword = windowspassword; - } - - @Override - protected final void populateParameters(ParameterMap pmap) { - pmap.add(NodeUtils.PARAM_WINDOWS_DOMAIN, windowsdomain); - } - - @Override - protected final void populateCommandArgs(List args) { - args.add("--windowsuser"); - args.add(remoteUser); - args.add("--windowsdomain"); - args.add(windowsdomain); - } - - /** - * Get list of password file entries - * @return List - */ - @Override - protected List getPasswords() { - return DcomUtils.resolvePasswordToList(windowspassword); - } - - @Override - protected String getInstallNodeCommandName() { - return "install-node-dcom"; - } -} diff --git a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/dcom/DeleteNodeDcom.java b/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/dcom/DeleteNodeDcom.java deleted file mode 100644 index 707160f8cfe..00000000000 --- a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/dcom/DeleteNodeDcom.java +++ /dev/null @@ -1,94 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2011-2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -// Portions Copyright [2018] Payara Foundation and/or affiliates - -package com.sun.enterprise.v3.admin.cluster.dcom; - -import com.sun.enterprise.config.serverbeans.Nodes; -import com.sun.enterprise.v3.admin.cluster.NodeUtils; -import org.glassfish.cluster.ssh.util.DcomUtils; -import com.sun.enterprise.v3.admin.cluster.DeleteNodeRemoteCommand; -import java.util.List; -import org.glassfish.api.admin.*; - - -import org.jvnet.hk2.annotations.Service; -import org.glassfish.hk2.api.PerLookup; - -/** - * Remote AdminCommand to delete a DCOM node - * - * @author Byron Nevins - */ -@Service(name = "delete-node-dcom") -@PerLookup -@CommandLock(CommandLock.LockType.NONE) -@ExecuteOn({RuntimeType.DAS}) -@RestEndpoints({ - @RestEndpoint(configBean=Nodes.class, - opType=RestEndpoint.OpType.DELETE, - path="delete-node-dcom", - description="Delete Node DCOM") -}) - -public class DeleteNodeDcom extends DeleteNodeRemoteCommand { - @Override - public void execute(AdminCommandContext context) { - executeInternal(context); - } - - @Override - protected List getPasswords() { - return DcomUtils.resolvePasswordToList(remotepassword); - } - - @Override - protected String getUninstallCommandName() { - return "uninstall-node-dcom"; - } - - @Override - protected final void setTypeSpecificOperands(List command, ParameterMap map) { - command.add("--windowsuser"); - command.add(map.getOne(NodeUtils.PARAM_REMOTEUSER)); - command.add("--windowsdomain"); - command.add(map.getOne(NodeUtils.PARAM_WINDOWS_DOMAIN)); - } -} diff --git a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/dcom/ListNodesDcomCommand.java b/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/dcom/ListNodesDcomCommand.java deleted file mode 100644 index c03464cc06a..00000000000 --- a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/dcom/ListNodesDcomCommand.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2011-2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -// Portions Copyright [2018-2021] Payara Foundation and/or affiliates - -package com.sun.enterprise.v3.admin.cluster.dcom; - -import com.sun.enterprise.config.serverbeans.Nodes; -import com.sun.enterprise.config.serverbeans.Servers; -import com.sun.enterprise.v3.admin.cluster.ListNodesHelper; -import org.glassfish.api.ActionReport; -import org.glassfish.api.ActionReport.ExitCode; -import org.glassfish.api.Param; -import org.glassfish.api.admin.*; -import jakarta.inject.Inject; - - -import org.jvnet.hk2.annotations.Service; -import org.glassfish.hk2.api.PerLookup; - -/** - * Remote AdminCommand to list the DCOM nodes - * - * @author Byron Nevins - */ -@Service(name = "list-nodes-dcom") -@PerLookup -@CommandLock(CommandLock.LockType.NONE) -@ExecuteOn({RuntimeType.DAS}) -public class ListNodesDcomCommand implements AdminCommand { - @Inject - Servers servers; - @Inject - private Nodes nodes; - @Param(optional = true, defaultValue = "false", name = "long", shortName = "l") - private boolean longOpt; - @Param(optional = true) - private boolean terse; - - @Override - public void execute(AdminCommandContext context) { - ActionReport report = context.getActionReport(); - ListNodesHelper lnh = new ListNodesHelper(context.getLogger(), servers, - nodes, "DCOM", longOpt, terse); - String nodeList = lnh.getNodeList(); - report.setMessage(nodeList); - report.setActionExitCode(ExitCode.SUCCESS); - } -} diff --git a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings.properties b/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings.properties deleted file mode 100644 index 5b0907a06f5..00000000000 --- a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/dcom/LocalStrings.properties +++ /dev/null @@ -1,46 +0,0 @@ -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -# -# Copyright (c) 2011 Oracle and/or its affiliates. All rights reserved. -# -# The contents of this file are subject to the terms of either the GNU -# General Public License Version 2 only ("GPL") or the Common Development -# and Distribution License("CDDL") (collectively, the "License"). You -# may not use this file except in compliance with the License. You can -# obtain a copy of the License at -# https://github.com/payara/Payara/blob/main/LICENSE.txt -# See the License for the specific -# language governing permissions and limitations under the License. -# -# When distributing the software, include this License Header Notice in each -# file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -# -# GPL Classpath Exception: -# Oracle designates this particular file as subject to the "Classpath" -# exception as provided by Oracle in the GPL Version 2 section of the License -# file that accompanied this code. -# -# Modifications: -# If applicable, add the following below the License Header, with the fields -# enclosed by brackets [] replaced by your own identifying information: -# "Portions Copyright [year] [name of copyright owner]" -# -# Contributor(s): -# If you wish your version of this file to be governed by only the CDDL or -# only the GPL Version 2, indicate your decision by adding "[Contributor] -# elects to include this software in this distribution under the [CDDL or GPL -# Version 2] license." If you don't indicate a single choice of license, a -# recipient has the option to distribute your version of this file under -# either the CDDL, the GPL Version 2 or to extend the choice of license to -# its licensees as provided above. However, if you add GPL Version 2 code -# and therefore, elected the GPL Version 2 license, then the option applies -# only if the new code is made subject to such option by the copyright -# holder. -# -update.node.dcom.no.password=\ -Missing Windows password. If you are using asadmin, \ -specify the remote Windows password in a file as follows:\n\ -AS_ADMIN_WINDOWSPASSWORD=windows-password\n\ -Specify the path of the password file to asadmin with the --passwordfile (or -W) option. -not.dcom.node=Node {0} is not a DCOM node. Its type is {1}. - diff --git a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/dcom/PingNodeDcomCommand.java b/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/dcom/PingNodeDcomCommand.java deleted file mode 100644 index 99e9bcaedb1..00000000000 --- a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/dcom/PingNodeDcomCommand.java +++ /dev/null @@ -1,91 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2011-2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -// Portions Copyright [2018] Payara Foundation and/or affiliates - -package com.sun.enterprise.v3.admin.cluster.dcom; - - -import com.sun.enterprise.config.serverbeans.Node; -import com.sun.enterprise.v3.admin.cluster.NodeUtils; -import com.sun.enterprise.v3.admin.cluster.PingNodeRemoteCommand; -import org.glassfish.api.admin.*; - - -import org.jvnet.hk2.annotations.Service; -import org.glassfish.hk2.api.PerLookup; - -/** - * Remote AdminCommand to validate the connection to a DCOM node. - * - * @author Byron Nevins - */ -@Service(name = "ping-node-dcom") -@PerLookup -@CommandLock(CommandLock.LockType.NONE) -@ExecuteOn({RuntimeType.DAS}) -@RestEndpoints({ - @RestEndpoint(configBean=Node.class, - opType=RestEndpoint.OpType.GET, - path="ping-node-dcom", - description="Ping Node DCOM", - params={ - @RestParam(name="id", value="$parent") - }) -}) - -public class PingNodeDcomCommand extends PingNodeRemoteCommand { - @Override - public void execute(AdminCommandContext context) { - executeInternal(context); - } - /** - * - * @param node the node of interest - * @return null if all-OK, otherwise return an error message - */ - @Override - protected String validateSubType(Node node) { - if (!NodeUtils.isDcomNode(node)) { - return Strings.get("not.dcom.node", name, node.getType()); - } - return null; - } - -} diff --git a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/dcom/Strings.java b/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/dcom/Strings.java deleted file mode 100644 index 5aad2d26436..00000000000 --- a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/dcom/Strings.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2010-2011 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -// Portions Copyright [2018] Payara Foundation and/or affiliates - -package com.sun.enterprise.v3.admin.cluster.dcom; - -import com.sun.enterprise.universal.i18n.LocalStringsImpl; - -/** - * Strings -- Get your Strings here. - * One file with Strings - * So one class for messing with them! - * Nothing in here is public protected. Only for use by this one java package. - * @author Byron Nevins - */ - -final class Strings { - private Strings() { - // no instances allowed! - } - - static final String get(String indexString) { - return strings.get(indexString); - } - - static final String get(String indexString, Object... objects) { - return strings.get(indexString, objects); - } - - private static final LocalStringsImpl strings = new LocalStringsImpl(Strings.class); -} diff --git a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/dcom/UpdateNodeDcomCommand.java b/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/dcom/UpdateNodeDcomCommand.java deleted file mode 100644 index 6b4d3aa559d..00000000000 --- a/nucleus/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/dcom/UpdateNodeDcomCommand.java +++ /dev/null @@ -1,107 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2011-2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -// Portions Copyright [2018] Payara Foundation and/or affiliates - -package com.sun.enterprise.v3.admin.cluster.dcom; - -import com.sun.enterprise.util.cluster.RemoteType; -import com.sun.enterprise.util.cluster.SshAuthType; -import com.sun.enterprise.v3.admin.cluster.*; - -import com.sun.enterprise.config.serverbeans.Node; -import org.glassfish.api.Param; -import org.glassfish.api.admin.*; -import org.glassfish.hk2.api.PerLookup; - - -import org.jvnet.hk2.annotations.Service; - -/** - * Remote AdminCommand to update a DCOM node. - * - * @author Byron Nevins - */ -@Service(name = "update-node-dcom") -@PerLookup -@ExecuteOn({RuntimeType.DAS}) -@RestEndpoints({ - @RestEndpoint(configBean=Node.class, - opType=RestEndpoint.OpType.POST, - path="update-node-dcom", - description="Update Node DCOM", - params={ - @RestParam(name="id", value="$parent") - }) -}) - -public class UpdateNodeDcomCommand extends UpdateNodeRemoteCommand { - @Param(name = "windowsuser", shortName = "w", optional = true, defaultValue = "${user.name}") - private String windowsuser; - @Param(name = "windowspassword", optional = true, password = true) - private String windowspassword; - @Param(name = "windowsdomain", shortName = "d", optional = true, defaultValue = "") - private String windowsdomainInSubClass; - - @Override - public void execute(AdminCommandContext context) { - executeInternal(context); - } - - @Override - protected RemoteType getType() { - return RemoteType.DCOM; - } - - @Override - protected String getDefaultPort() { - return NodeUtils.NODE_DEFAULT_DCOM_PORT; - } - - @Override - protected void populateParameters() { - remotePort = "135"; - remoteUser = windowsuser; - sshAuthType = SshAuthType.PASSWORD.name(); - sshkeyfile = null; - sshkeypassphrase = null; - remotepassword = windowspassword; - windowsdomain = windowsdomainInSubClass; - } -} diff --git a/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_de.properties b/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_de.properties index 68e9ed852ee..9504dbc8b71 100644 --- a/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_de.properties +++ b/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_de.properties @@ -37,6 +37,8 @@ # only if the new code is made subject to such option by the copyright # holder. # +# Portions Copyright 2026 Payara Foundation and/or affiliates + cantResolveIpAddress=IP-Adresse kann nicht gefunden werden f\u00FCr den Hostnamen: {0} cantdelete=Tempor\u00E4re Datei {0} kann nicht gel\u00F6scht werden. AgentPortInUse=Knoten-Agent-Port {0} wird verwendet. @@ -173,21 +175,16 @@ new.mp.again=Neues Master-Kennwort erneut eingeben old.mp=Geben Sie das alte Master-Kennwort ein> bad.node.dir=Knoten {0} ist nicht vorhanden. dry_run_msg=Dump von JVM-Aufrufzeile, die f\u00FCr Start verwendet werden w\u00FCrde: -dcom.error.unpacking=Die Installation konnte nicht auf Remote-Windows-Rechner mit DCOM entpackt werden.\nDas Remote-Skript ist {0}. Zur\u00FCckgegeben wurde: {1} remote.install.dir.already.gone=Das Remote-Verzeichnis ({0}) ist nicht vorhanden. Kein zu l\u00F6schenden Daten vorhanden. remote.install.dir.cant.delete=Remote-Verzeichnis {0} kann nicht gel\u00F6scht werden. L\u00F6schen Sie es manuell. install.dir.exists=Das Remote-Installationsverzeichnis {0} ist bereits vorhanden. \u00DCberschreiben Sie es mit der Option "--force". -install.node.nolocal=install-node-dcom funktioniert nur auf Remote-Hosts. Bei {0} handelt es sich um diesen Rechner. ##### ##### vld ##### vld.windows.only=Dieser Befehl gilt ausschlie\u00DFlich f\u00FCr Windows-Rechner. vld.missing.dlls=Dieser Befehl f\u00FChrt ein natives Windows-Programm aus, f\u00FCr das andere Dateien ausgef\u00FChrt werden m\u00FCssen. \nDies sind die fehlenden Dateien:\n{0} vld.badtempdir=Das von Java angegebene tempor\u00E4re Verzeichnis (java.io.tmpdir) {0} ist kein Verzeichnis. -vld.app.exists=Das DCOM-Tool ist bereits vorhanden ({0}) und kann nicht gel\u00F6scht werden. \nL\u00F6schen Sie es manuell, und f\u00FChren Sie diesen Befehl erneut aus. vld.app.deleted=Dies ist ungew\u00F6hnlich. Die Anwendung {0} war bereits vorhanden. Sie wurde ohne Probleme gel\u00F6scht. -vld.error.extracting.ex=Fehler beim Versuch, das DCOM-Konfigurationstool {0} zu extrahieren\n{1} -vld.error.extracting=Fehler beim Versuch, das DCOM-Konfigurationstool {0} zu extrahieren vld.areyousure=Achtung: Durch diesen Befehl k\u00F6nnen die Berechtigungen einiger Schl\u00FCssel in der Windows-Registry ge\u00E4ndert werden.\\nSichern Sie die Windows-Registry, bevor Sie diesen Befehl ausf\u00FChren.\\nDurch die \u00C4nderung erh\u00E4lt der Windows-Benutzer die volle Kontrolle \u00FCber diese Schl\u00FCssel.\\n\\nM\u00F6chten Sie die Windows-Registry wirklich bearbeiten? Geben Sie in diesem Fall "yes" ein vld.not.interactive=Dieser Befehl kann nur im interaktiven Modus ausgef\u00FChrt werden.\nStellen Sie sicher, dass das Kennzeichen f\u00FCr den interaktiven Modus auf "true" gesetzt ist. Details finden Sie in "--help"\nSie k\u00F6nnen auch die Option "--force" verwenden vld.noconsole=Dieser Befehl kann nur von einer Konsole ausgef\u00FChrt werden. Wiederholen Sie den Vorgang mit einer Konsole. diff --git a/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_es.properties b/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_es.properties index 1da619a76c2..e09a1c8b33f 100644 --- a/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_es.properties +++ b/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_es.properties @@ -37,6 +37,8 @@ # only if the new code is made subject to such option by the copyright # holder. # +# Portions Copyright 2026 Payara Foundation and/or affiliates + cantResolveIpAddress=No se ha encontrado la direcci\u00F3n IP para el nombre de host: {0} cantdelete=No se puede suprimir el archivo temporal {0}. AgentPortInUse=El puerto del agente de nodo {0} est\u00E1 en uso. @@ -173,21 +175,16 @@ new.mp.again=Vuelva a introducir la nueva contrase\u00F1a maestra old.mp=Introduzca la contrase\u00F1a maestra anterior> bad.node.dir=El nodo {0} no existe. dry_run_msg=Volcado de la l\u00EDnea de llamada de JVM que se utilizar\u00E1 para iniciar: -dcom.error.unpacking=Fallo al desempaquetar la instalaci\u00F3n en la m\u00E1quina remota de Windows con DCOM.\nEl script remoto es {0}. Ha devuelto: {1} remote.install.dir.already.gone=El directorio remoto ({0}) no existe. Nada que suprimir. remote.install.dir.cant.delete=No se ha podido suprimir el directorio remoto: {0}. Supr\u00EDmalo manualmente. install.dir.exists=El directorio de instalaci\u00F3n remota, {0}, ya existe. Utilice la opci\u00F3n --force para sobrescribirlo. -install.node.nolocal=install-node-dcom s\u00F3lo funciona en hosts remotos. {0} es esta computadora. ##### ##### vld ##### vld.windows.only=Este comando es exclusivo de computadoras Windows. vld.missing.dlls=Este comando ejecuta un programa de Windows nativo que necesita que se ejecuten otros archivos. \nA continuaci\u00F3n se indican los archivos que faltan:\n{0} vld.badtempdir=El directorio temporal proporcionado por Java (java.io.tmpdir), {0}, no es un directorio. -vld.app.exists=La herramienta DCOM ya existe ({0}) y no se puede suprimir. \nSupr\u00EDmala manualmente y vuelva a ejecutar este comando. vld.app.deleted=Esto es poco com\u00FAn. La aplicaci\u00F3n, {0}, ya existe. Se ha suprimido sin problema. -vld.error.extracting.ex=Error al intentar extraer la herramienta de configuraci\u00F3n de DCOM {0}\n{1} -vld.error.extracting=Error al intentar extraer la herramienta de configuraci\u00F3n de DCOM {0} vld.areyousure=Atenci\u00F3n: este comando puede modificar los permisos de algunas claves del registro de Windows.\nAntes de ejecutar este comando, realice una copia de seguridad del registro de Windows.\nLa modificaci\u00F3n permite al usuario de Windows controlar por completo estas claves.\n\n\u00BFSeguro que desea editar el registro de Windows? Si es as\u00ED, introduzca s\u00ED de forma completa vld.not.interactive=Este comando s\u00F3lo se puede ejecutar en modo interactivo. \nAseg\u00FArese de que tiene definido en true el indicador interactivo. Consulte '--help' para obtener m\u00E1s informaci\u00F3n\nLa otra opci\u00F3n que puede utilizar es --force vld.noconsole=Este comando s\u00F3lo se puede ejecutar desde una consola. Vuelva a intentarlo con una consola conectada. diff --git a/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_fr.properties b/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_fr.properties index 982b0d2162a..6c6af14310a 100644 --- a/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_fr.properties +++ b/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_fr.properties @@ -37,6 +37,8 @@ # only if the new code is made subject to such option by the copyright # holder. # +# Portions Copyright 2026 Payara Foundation and/or affiliates + cantResolveIpAddress=Adresse IP introuvable pour le nom d''h\u00F4te : {0} cantdelete=Impossible de supprimer le fichier temporaire {0}. AgentPortInUse=Le port {0} de l''agent du noeud est en cours d''utilisation. @@ -173,21 +175,16 @@ new.mp.again=Entrez \u00E0 nouveau le nouveau mot de passe ma\u00EEtre old.mp=Saisissez l'ancien mot de passe ma\u00EEtre> bad.node.dir=Le noeud {0} n''existe pas. dry_run_msg=Vidage de la ligne d'appel JVM qui serait utilis\u00E9e pour lancer : -dcom.error.unpacking=Echec de la d\u00E9compression de l''installation sur l''ordinateur Windows distant \u00E0 l''aide de DCOM.\nLe script distant est {0}. Il a renvoy\u00E9 : {1} remote.install.dir.already.gone=Le r\u00E9pertoire distant ({0}) n''existe pas. Rien \u00E0 supprimer. remote.install.dir.cant.delete=Impossible de supprimer le r\u00E9pertoire distant : {0}. Supprimez-le manuellement. install.dir.exists=Le r\u00E9pertoire d''installation distant, {0}, existe d\u00E9j\u00E0. Utilisez l''option -force pour le remplacer. -install.node.nolocal=install-node-dcom s''ex\u00E9cute uniquement sur les h\u00F4tes distants. {0} est cet ordinateur. ##### ##### vld ##### vld.windows.only=Cette commande est r\u00E9serv\u00E9e aux ordinateurs Windows. vld.missing.dlls=Cette commande ex\u00E9cute un programme Windows natif qui exige l''ex\u00E9cution d''autres fichiers. \nFichiers manquants : \n{0} vld.badtempdir=Le r\u00E9pertoire temporaire fourni par Java (java.io.tmpdir), {0}, n''est pas un r\u00E9pertoire. -vld.app.exists=L''outil DCOM existe d\u00E9j\u00E0 ({0}) et ne peut pas \u00EAtre supprim\u00E9. \nSupprimez-le manuellement et r\u00E9ex\u00E9cutez cette commande. vld.app.deleted=Ceci est inhabituel. L''application {0} existait d\u00E9j\u00E0. Elle a \u00E9t\u00E9 supprim\u00E9e sans probl\u00E8me. -vld.error.extracting.ex=Erreur lors de la tentative d''extraction de l''outil de configuration DCOM {0}\n{1} -vld.error.extracting=Erreur lors de la tentative d''extraction de l''outil de configuration DCOM {0} vld.areyousure=Attention : cette commande risque de modifier les droits d'acc\u00E8s de certaines cl\u00E9s dans le registre Windows.\nAvant d'ex\u00E9cuter cette commande, sauvegardez le registre Windows.\nLa modification octroie \u00E0 l'utilisateur Windows le contr\u00F4le total de ces cl\u00E9s.\n\nVoulez-vous modifier le registre Windows ? Si oui, saisissez "oui" en entier vld.not.interactive=Cette commande peut uniquement \u00EAtre ex\u00E9cut\u00E9e en mode interactif. \nAssurez-vous que l'indicateur de mode interactif a la valeur True. Pour plus de d\u00E9tails, consultez '--help'.\nL'autre option consiste \u00E0 utiliser l'option --force vld.noconsole=Cette commande peut uniquement \u00EAtre ex\u00E9cut\u00E9e \u00E0 partir d'une console. R\u00E9essayez avec une console associ\u00E9e. diff --git a/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_it.properties b/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_it.properties index c70eb47fd0e..75da7a4d7d2 100644 --- a/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_it.properties +++ b/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_it.properties @@ -37,6 +37,8 @@ # only if the new code is made subject to such option by the copyright # holder. # +# Portions Copyright 2026 Payara Foundation and/or affiliates + cantResolveIpAddress=Impossibile trovare l''indirizzo IP per il nome host: {0} cantdelete=Impossibile eliminare il file temporaneo {0}. AgentPortInUse=La porta dell''agente nodo {0} \u00E8 in uso. @@ -173,21 +175,16 @@ new.mp.again=Reimmettere la nuova password principale old.mp=Immettere la vecchia password principale> bad.node.dir=Nodo {0} inesistente. dry_run_msg=Dump della riga di richiamo JVM da utilizzare per avviare: -dcom.error.unpacking=Decompressione dell''installazione non riuscita sul computer Windows remoto utilizzando DCOM.\nLo script remoto \u00E8 {0}. L''output dello script \u00E8: {1} remote.install.dir.already.gone=La directory remota ({0}) \u00E8 inesistente. Nulla da eliminare. remote.install.dir.cant.delete=Impossibile eliminare la directory remota {0}. Eliminarla manualmente. install.dir.exists=La directory di installazione remota {0} gi\u00E0 esiste. Per sovrascriverla, utilizzare l''opzione --force. -install.node.nolocal=install-node-dcom funziona solo sugli host remoti. {0} \u00E8 questo computer. ##### ##### vld ##### vld.windows.only=Questo comando deve essere usato esclusivamente sui computer Windows. vld.missing.dlls=Questo comando esegue un programma Windows nativo che richiede l''esecuzione di altri file. \nDi seguito sono riportati i file mancanti:\n{0} vld.badtempdir=La directory temporanea fornita da Java (java.io.tmpdir), {0}, non \u00E8 una directory. -vld.app.exists=Lo strumento DCOM esiste gi\u00E0 ({0}) e non pu\u00F2 essere eliminato. \nEliminarlo manualmente ed eseguire di nuovo questo comando. vld.app.deleted=Situazione insolita. L''applicazione, {0}, esisteva gi\u00E0 ed \u00E8 stata eliminata senza problemi. -vld.error.extracting.ex=Errore durante il tentativo di estrarre lo strumento di configurazione DCOM {0}\n{1} -vld.error.extracting=Errore durante il tentativo di estrarre lo strumento di configurazione DCOM {0} vld.areyousure=Attenzione: questo comando potrebbe modificare le autorizzazioni per alcune chiavi nel Registro di sistema Windows.\nPrima di eseguire il comando, eseguire il backup del Registro di sistema Windows.\nLa modifica concede all'utente Windows il controllo completo di tali chiavi.\n\nSi \u00E8 certi di voler modificare il Registro di sistema Windows? In caso affermativo, digitare s\u00EC per esteso. vld.not.interactive=Questo comando pu\u00F2 essere eseguito solo in modalit\u00E0 interattiva. \nAssicurarsi che il flag interattivo sia impostato su true. Per dettagli, vedere '--help'.\nL'altra possibilit\u00E0 \u00E8 di utilizzare l'opzione --force. vld.noconsole=Questo comando pu\u00F2 essere eseguito solo da una console. Riprovare con una console collegata. diff --git a/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_ja.properties b/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_ja.properties index 3e576122d4b..9cc6b7e3cbe 100644 --- a/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_ja.properties +++ b/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_ja.properties @@ -37,6 +37,8 @@ # only if the new code is made subject to such option by the copyright # holder. # +# Portions Copyright 2026 Payara Foundation and/or affiliates + cantResolveIpAddress=\u30DB\u30B9\u30C8\u540D{0}\u306EIP\u30A2\u30C9\u30EC\u30B9\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093 cantdelete=\u4E00\u6642\u30D5\u30A1\u30A4\u30EB{0}\u3092\u524A\u9664\u3067\u304D\u307E\u305B\u3093\u3002 AgentPortInUse=\u30CE\u30FC\u30C9\u30FB\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u30FB\u30DD\u30FC\u30C8{0}\u306F\u4F7F\u7528\u4E2D\u3067\u3059\u3002 @@ -173,21 +175,16 @@ new.mp.again=\u65B0\u898F\u30DE\u30B9\u30BF\u30FC\u30FB\u30D1\u30B9\u30EF\u30FC\ old.mp=\u53E4\u3044\u30DE\u30B9\u30BF\u30FC\u30FB\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B\u3057\u307E\u3059> bad.node.dir=\u30CE\u30FC\u30C9{0}\u304C\u5B58\u5728\u3057\u307E\u305B\u3093\u3002 dry_run_msg=\u8D77\u52D5\u306B\u4F7F\u7528\u3055\u308C\u308BJVM\u8D77\u52D5\u884C\u306E\u30C0\u30F3\u30D7: -dcom.error.unpacking=DCOM\u3092\u4F7F\u7528\u3057\u3066\u30EA\u30E2\u30FC\u30C8Windows\u30DE\u30B7\u30F3\u4E0A\u3067\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3092\u30A2\u30F3\u30D1\u30C3\u30AF\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\n\u30EA\u30E2\u30FC\u30C8\u30FB\u30B9\u30AF\u30EA\u30D7\u30C8\u306F{0}\u3067\u3059\u3002\u6B21\u306E\u5024\u3092\u8FD4\u3057\u307E\u3057\u305F: {1} remote.install.dir.already.gone=\u30EA\u30E2\u30FC\u30C8\u30FB\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA({0})\u304C\u5B58\u5728\u3057\u307E\u305B\u3093\u3002\u524A\u9664\u3059\u308B\u3082\u306E\u304C\u3042\u308A\u307E\u305B\u3093\u3002 remote.install.dir.cant.delete=\u30EA\u30E2\u30FC\u30C8\u30FB\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3092\u524A\u9664\u3067\u304D\u307E\u305B\u3093: {0}\u3002\u624B\u52D5\u3067\u524A\u9664\u3057\u3066\u304F\u3060\u3055\u3044\u3002 install.dir.exists=\u30EA\u30E2\u30FC\u30C8\u30FB\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u30FB\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA{0}\u306F\u3059\u3067\u306B\u5B58\u5728\u3057\u307E\u3059\u3002\u4E0A\u66F8\u304D\u3059\u308B\u306B\u306F\u3001--force\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044\u3002 -install.node.nolocal=install-node-dcom\u306F\u30EA\u30E2\u30FC\u30C8\u30FB\u30DB\u30B9\u30C8\u4E0A\u3067\u306E\u307F\u52D5\u4F5C\u3057\u307E\u3059\u3002{0}\u306F\u3053\u306E\u30B3\u30F3\u30D4\u30E5\u30FC\u30BF\u3067\u3059\u3002 ##### ##### vld ##### vld.windows.only=\u3053\u306E\u30B3\u30DE\u30F3\u30C9\u306F\u3001Windows\u30B3\u30F3\u30D4\u30E5\u30FC\u30BF\u3067\u306F\u6392\u4ED6\u7684\u3067\u3059\u3002 vld.missing.dlls=\u3053\u306E\u30B3\u30DE\u30F3\u30C9\u306F\u3001\u4ED6\u306E\u30D5\u30A1\u30A4\u30EB\u306E\u5B9F\u884C\u3092\u5FC5\u8981\u3068\u3059\u308B\u30CD\u30A4\u30C6\u30A3\u30D6\u306AWindows\u30D7\u30ED\u30B0\u30E9\u30E0\u3092\u5B9F\u884C\u3057\u307E\u3059\u3002\n\u6B20\u843D\u3057\u3066\u3044\u308B\u30D5\u30A1\u30A4\u30EB\u306F\u6B21\u306E\u3068\u304A\u308A\u3067\u3059:\n{0} vld.badtempdir=Java\u4E00\u6642\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA(java.io.tmpdir)\u3067\u3042\u308B{0}\u306F\u3001\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002 -vld.app.exists=DCOM\u30C4\u30FC\u30EB\u306F\u3059\u3067\u306B\u5B58\u5728\u3057({0})\u3001\u524A\u9664\u3067\u304D\u307E\u305B\u3093\u3002\n\u624B\u52D5\u3067\u524A\u9664\u3059\u308B\u304B\u3001\u30B3\u30DE\u30F3\u30C9\u3092\u518D\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002 vld.app.deleted=\u3053\u308C\u306F\u901A\u5E38\u3068\u306F\u7570\u306A\u308A\u307E\u3059\u3002\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3{0}\u306F\u3059\u3067\u306B\u5B58\u5728\u3057\u3066\u3044\u307E\u3057\u305F\u3002\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u306F\u554F\u984C\u306A\u304F\u524A\u9664\u3055\u308C\u307E\u3057\u305F\u3002 -vld.error.extracting.ex=DCOM\u69CB\u6210\u30C4\u30FC\u30EB{0}\u306E\u62BD\u51FA\u4E2D\u306B\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\n{1} -vld.error.extracting=DCOM\u69CB\u6210\u30C4\u30FC\u30EB{0}\u306E\u62BD\u51FA\u4E2D\u306B\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F vld.areyousure=\u6CE8\u610F: \u3053\u306E\u30B3\u30DE\u30F3\u30C9\u306F\u3001Windows\u30EC\u30B8\u30B9\u30C8\u30EA\u306E\u4E00\u90E8\u306E\u30AD\u30FC\u306E\u6A29\u9650\u3092\u5909\u66F4\u3059\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002\n\u3053\u306E\u30B3\u30DE\u30F3\u30C9\u3092\u5B9F\u884C\u3059\u308B\u524D\u306B\u3001Windows\u30EC\u30B8\u30B9\u30C8\u30EA\u3092\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u3057\u3066\u304F\u3060\u3055\u3044\u3002\n\u3053\u306E\u5909\u66F4\u306B\u3088\u308A\u3001Windows\u30E6\u30FC\u30B6\u30FC\u306F\u3001\u3053\u308C\u3089\u306E\u30AD\u30FC\u3092\u5B8C\u5168\u306B\u5236\u5FA1\u3067\u304D\u308B\u3088\u3046\u306B\u306A\u308A\u307E\u3059\u3002\n\nWindows\u30EC\u30B8\u30B9\u30C8\u30EA\u3092\u7DE8\u96C6\u3057\u307E\u3059\u304B\u3002\u7DE8\u96C6\u3059\u308B\u5834\u5408\u306F\u3001yes\u3068\u5B8C\u5168\u306B\u30BF\u30A4\u30D7\u3057\u3066\u304F\u3060\u3055\u3044\u3002 vld.not.interactive=\u3053\u306E\u30B3\u30DE\u30F3\u30C9\u306F\u5BFE\u8A71\u578B\u30E2\u30FC\u30C9\u3067\u306E\u307F\u5B9F\u884C\u3067\u304D\u307E\u3059\u3002\n\u5BFE\u8A71\u578B\u30D5\u30E9\u30B0\u304Ctrue\u306B\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u308B\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u8A73\u7D30\u306F\u3001'--help'\u3092\u53C2\u7167\u3057\u3066\u304F\u3060\u3055\u3044\n\u305D\u306E\u4ED6\u306E\u30AA\u30D7\u30B7\u30E7\u30F3\u306F\u3001--force\u30AA\u30D7\u30B7\u30E7\u30F3\u304C\u4F7F\u7528\u3055\u308C\u307E\u3059 vld.noconsole=\u3053\u306E\u30B3\u30DE\u30F3\u30C9\u306F\u30B3\u30F3\u30BD\u30FC\u30EB\u304B\u3089\u306E\u307F\u5B9F\u884C\u3067\u304D\u307E\u3059\u3002\u30A2\u30BF\u30C3\u30C1\u3055\u308C\u3066\u3044\u308B\u30B3\u30F3\u30BD\u30FC\u30EB\u3067\u518D\u8A66\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002 diff --git a/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_ko.properties b/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_ko.properties index bad77f9d823..60c823f6d9d 100644 --- a/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_ko.properties +++ b/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_ko.properties @@ -173,21 +173,16 @@ new.mp.again=\uC0C8 \uB9C8\uC2A4\uD130 \uBE44\uBC00\uBC88\uD638\uB97C \uB2E4\uC2 old.mp=\uAE30\uC874 \uB9C8\uC2A4\uD130 \uBE44\uBC00\uBC88\uD638 \uC785\uB825> bad.node.dir={0} \uB178\uB4DC\uAC00 \uC874\uC7AC\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. dry_run_msg=\uC2DC\uC791\uC5D0 \uC0AC\uC6A9\uD558\uB824\uB294 JVM \uD638\uCD9C \uD589\uC758 \uB364\uD504: -dcom.error.unpacking=DCOM\uC744 \uC0AC\uC6A9\uD558\uC5EC \uC6D0\uACA9 Windows \uC2DC\uC2A4\uD15C\uC5D0\uC11C \uC124\uCE58 \uC555\uCD95 \uD480\uAE30\uB97C \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4.\n\uC6D0\uACA9 \uC2A4\uD06C\uB9BD\uD2B8: {0}. \uBC18\uD658 \uACB0\uACFC: {1} remote.install.dir.already.gone=\uC6D0\uACA9 \uB514\uB809\uD1A0\uB9AC({0})\uAC00 \uC874\uC7AC\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uC0AD\uC81C\uD560 \uAC83\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. remote.install.dir.cant.delete=\uC6D0\uACA9 \uB514\uB809\uD1A0\uB9AC\uB97C \uC0AD\uC81C\uD560 \uC218 \uC5C6\uC74C: {0}. \uC218\uB3D9\uC73C\uB85C \uC0AD\uC81C\uD558\uC2ED\uC2DC\uC624. install.dir.exists=\uC6D0\uACA9 \uC124\uCE58 \uB514\uB809\uD1A0\uB9AC {0}\uC774(\uAC00) \uC874\uC7AC\uD569\uB2C8\uB2E4. \uACB9\uCCD0\uC4F0\uB824\uBA74 --force \uC635\uC158\uC744 \uC0AC\uC6A9\uD558\uC2ED\uC2DC\uC624. -install.node.nolocal=install-node-dcom\uC740 \uC6D0\uACA9 \uD638\uC2A4\uD2B8\uC5D0\uC11C\uB9CC \uC791\uB3D9\uD569\uB2C8\uB2E4. {0}\uC774(\uAC00) \uC774 \uCEF4\uD4E8\uD130\uC785\uB2C8\uB2E4. ##### ##### vld ##### vld.windows.only=\uC774 \uBA85\uB839\uC740 Windows \uCEF4\uD4E8\uD130\uC5D0\uB9CC \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. vld.missing.dlls=\uC774 \uBA85\uB839\uC740 \uB2E4\uB978 \uD30C\uC77C\uC744 \uC2E4\uD589\uD574\uC57C \uD558\uB294 \uC6D0\uC2DC Windows \uD504\uB85C\uADF8\uB7A8\uC744 \uC2E4\uD589\uD569\uB2C8\uB2E4. \n\uB204\uB77D\uB41C \uD30C\uC77C\uC740 \uB2E4\uC74C\uACFC \uAC19\uC2B5\uB2C8\uB2E4.\n{0} vld.badtempdir=Java \uC81C\uACF5 \uC784\uC2DC \uB514\uB809\uD1A0\uB9AC(java.io.tmpdir) {0}\uC740(\uB294) \uB514\uB809\uD1A0\uB9AC\uAC00 \uC544\uB2D9\uB2C8\uB2E4. -vld.app.exists=DCOM \uD234\uC774 \uC874\uC7AC\uD558\uBA70({0}) \uC0AD\uC81C\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \n\uC218\uB3D9\uC73C\uB85C \uC0AD\uC81C\uD55C \uB2E4\uC74C \uC774 \uBA85\uB839\uC744 \uB2E4\uC2DC \uC2E4\uD589\uD558\uC2ED\uC2DC\uC624. vld.app.deleted=\uBE44\uC815\uC0C1\uC801\uC785\uB2C8\uB2E4. {0} \uC751\uC6A9 \uD504\uB85C\uADF8\uB7A8\uC774 \uC874\uC7AC\uD588\uB294\uB370, \uC544\uBB34 \uBB38\uC81C \uC5C6\uC774 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4. -vld.error.extracting.ex=DCOM \uAD6C\uC131 \uD234 {0}\uC744(\uB97C) \uCD94\uCD9C\uD558\uB824\uACE0 \uC2DC\uB3C4\uD558\uB294 \uC911 \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4.\n{1} -vld.error.extracting=DCOM \uAD6C\uC131 \uD234 {0}\uC744(\uB97C) \uCD94\uCD9C\uD558\uB824\uACE0 \uC2DC\uB3C4\uD558\uB294 \uC911 \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. vld.areyousure=\uC8FC\uC758: \uC774 \uBA85\uB839\uC73C\uB85C Windows \uB808\uC9C0\uC2A4\uD2B8\uB9AC\uC5D0 \uC788\uB294 \uC77C\uBD80 \uD0A4\uC758 \uAD8C\uD55C \uC124\uC815\uC774 \uC218\uC815\uB420 \uC218 \uC788\uC2B5\uB2C8\uB2E4.\n\uC774 \uBA85\uB839\uC744 \uC2E4\uD589\uD558\uAE30 \uC804\uC5D0 Windows \uB808\uC9C0\uC2A4\uD2B8\uB9AC\uB97C \uBC31\uC5C5\uD558\uC2ED\uC2DC\uC624.\n\uC218\uC815\uB420 \uACBD\uC6B0 Windows \uC0AC\uC6A9\uC790\uAC00 \uC774\uB7EC\uD55C \uD0A4\uB97C \uC644\uC804\uD788 \uC81C\uC5B4\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.\n\nWindows \uB808\uC9C0\uC2A4\uD2B8\uB9AC\uB97C \uD3B8\uC9D1\uD558\uACA0\uC2B5\uB2C8\uAE4C? \uADF8\uB7F4 \uACBD\uC6B0 yes\uB97C \uC785\uB825\uD558\uC2ED\uC2DC\uC624 vld.not.interactive=\uC774 \uBA85\uB839\uC740 \uB300\uD654\uC2DD \uBAA8\uB4DC\uC5D0\uC11C\uB9CC \uC2E4\uD589\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \ninteractive \uD50C\uB798\uADF8\uB97C true\uB85C \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4. \uC790\uC138\uD55C \uB0B4\uC6A9\uC740 '--help'\uB97C \uCC38\uC870\uD558\uC2ED\uC2DC\uC624.\n\uB2E4\uB978 \uC635\uC158\uC740 --force \uC635\uC158\uC744 \uC0AC\uC6A9\uD558\uB294 \uAC83\uC785\uB2C8\uB2E4. vld.noconsole=\uC774 \uBA85\uB839\uC740 \uCF58\uC194\uC5D0\uC11C\uB9CC \uC2E4\uD589\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uCF58\uC194\uC5D0 \uC5F0\uACB0\uB41C \uC0C1\uD0DC\uC5D0\uC11C \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC2ED\uC2DC\uC624. diff --git a/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_pt_BR.properties b/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_pt_BR.properties index 97db174936a..d5355c9dba2 100644 --- a/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_pt_BR.properties +++ b/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_pt_BR.properties @@ -173,21 +173,16 @@ new.mp.again=Insira a nova senha mestra novamente old.mp=Insira a senha mestra antiga> bad.node.dir=O n\u00F3 {0} n\u00E3o existe. dry_run_msg=Dump de linha de Invoca\u00E7\u00E3o JVM que poderia ser usado para acionar: -dcom.error.unpacking=Falha ao descompactar a instala\u00E7\u00E3o na m\u00E1quina remota do Windows usando o DCOM.\nO script remoto \u00E9 {0}. Ele retornou: {1} remote.install.dir.already.gone=O diret\u00F3rio remoto ({0}) n\u00E3o existe. N\u00E3o h\u00E1 nada para deletar. remote.install.dir.cant.delete=N\u00E3o \u00E9 poss\u00EDvel deletar o diret\u00F3rio remoto: {0}. Delete-o manualmente. install.dir.exists=O diret\u00F3rio de instala\u00E7\u00E3o remota, {0}, j\u00E1 existe. Usar a -- op\u00E7\u00E3o de for\u00E7a para substitu\u00ED-lo. -install.node.nolocal=O install-node-dcom somente funciona em hosts remotos. {0} \u00E9 este computador. ##### ##### vld ##### vld.windows.only=Este comando destina-se exclusivamente a computadores Windows. vld.missing.dlls=Este comando executa um programa Windows nativo que requer a execu\u00E7\u00E3o de outros arquivos. \nEstes s\u00E3o os arquivos ausentes:\n {0} vld.badtempdir=O diret\u00F3rio tempor\u00E1rio fornecido para Java (java.io.tmpdir), {0}, n\u00E3o \u00E9 um diret\u00F3rio. -vld.app.exists=A ferramenta DCOM j\u00E1 existe ({0}) e n\u00E3o pode ser deletada. \nDelete-a manualmente e reexecute este comando. vld.app.deleted=Isto \u00E9 incomum. A aplica\u00E7\u00E3o {0} j\u00E1 existia. Ela foi deletada sem problemas. -vld.error.extracting.ex=Erro ao tentar extrair a ferramenta de Configura\u00E7\u00E3o DCOM {0}\n{1} -vld.error.extracting=Erro ao tentar extrair a ferramenta de Configura\u00E7\u00E3o DCOM {0} vld.areyousure=Cuidado: Este comando pode modificar as permiss\u00F5es de algumas chaves no registro do Windows.\nAntes de executar este comando, fa\u00E7a backup do registro do Windows.\nA modifica\u00E7\u00E3o permite que o usu\u00E1rio do Windows tenha controle total dessas chaves.\n\nTem certeza de que deseja editar o registro do Windows? Em caso afirmativo, digite yes vld.not.interactive=Este comando s\u00F3 pode ser executado no modo interativo. \nCertifique-se de que o flag interativo tenha sido definindo como true. Consulte '--help' para obter detalhes\nA outra op\u00E7\u00E3o a ser usada \u00E9 --force vld.noconsole=Este comando s\u00F3 pode ser executado a partir de uma console. Tente novamente utilizando uma console. diff --git a/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_zh_CN.properties b/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_zh_CN.properties index 4eb91b605f1..8a50d22c3e4 100644 --- a/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_zh_CN.properties +++ b/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_zh_CN.properties @@ -173,21 +173,16 @@ new.mp.again=\u518D\u6B21\u8F93\u5165\u65B0\u7684\u4E3B\u53E3\u4EE4 old.mp=\u8F93\u5165\u65E7\u7684\u4E3B\u53E3\u4EE4> bad.node.dir=\u8282\u70B9{0}\u4E0D\u5B58\u5728\u3002 dry_run_msg=\u5C06\u7528\u4E8E\u542F\u52A8\u7684 JVM \u8C03\u7528\u884C\u7684\u8F6C\u50A8: -dcom.error.unpacking=\u65E0\u6CD5\u4F7F\u7528 DCOM \u5728\u8FDC\u7A0B Windows \u8BA1\u7B97\u673A\u4E0A\u5BF9\u5B89\u88C5\u89E3\u5305\u3002\n\u8FDC\u7A0B\u811A\u672C\u4E3A{0}\u3002\u5B83\u8FD4\u56DE: {1} remote.install.dir.already.gone=\u8FDC\u7A0B\u76EE\u5F55 ({0}) \u4E0D\u5B58\u5728\u3002\u6CA1\u6709\u8981\u5220\u9664\u7684\u5185\u5BB9\u3002 remote.install.dir.cant.delete=\u65E0\u6CD5\u5220\u9664\u8FDC\u7A0B\u76EE\u5F55: {0}\u3002\u8BF7\u624B\u52A8\u5220\u9664\u6B64\u76EE\u5F55\u3002 install.dir.exists=\u8FDC\u7A0B\u5B89\u88C5\u76EE\u5F55 {0} \u5DF2\u5B58\u5728\u3002\u4F7F\u7528 --force \u9009\u9879\u53EF\u4EE5\u8986\u5199\u6B64\u76EE\u5F55\u3002 -install.node.nolocal=install-node-dcom \u4EC5\u5728\u8FDC\u7A0B\u4E3B\u673A\u4E0A\u8FD0\u884C\u3002{0}\u662F\u6B64\u8BA1\u7B97\u673A\u3002 ##### ##### vld ##### vld.windows.only=\u6B64\u547D\u4EE4\u662F Windows \u8BA1\u7B97\u673A\u4E13\u6709\u7684\u3002 vld.missing.dlls=\u6B64\u547D\u4EE4\u8FD0\u884C\u7684\u672C\u673A Windows \u7A0B\u5E8F\u8981\u6C42\u8FD0\u884C\u5176\u4ED6\u6587\u4EF6\u3002\n\u4E0B\u9762\u662F\u7F3A\u5C11\u7684\u6587\u4EF6:\n{0} vld.badtempdir=Java \u63D0\u4F9B\u7684\u4E34\u65F6\u76EE\u5F55 (java.io.tmpdir) {0}\u4E0D\u662F\u76EE\u5F55\u3002 -vld.app.exists=DCOM \u5DE5\u5177\u5DF2\u5B58\u5728 ({0}), \u65E0\u6CD5\u5220\u9664\u3002\n\u8BF7\u624B\u52A8\u5220\u9664\u5B83\u5E76\u91CD\u65B0\u8FD0\u884C\u6B64\u547D\u4EE4\u3002 vld.app.deleted=\u8FD9\u4E0D\u662F\u5E38\u89C1\u95EE\u9898\u3002\u5E94\u7528\u7A0B\u5E8F{0}\u5DF2\u5B58\u5728\u3002\u5B83\u5DF2\u5220\u9664\u4E14\u6CA1\u6709\u95EE\u9898\u3002 -vld.error.extracting.ex=\u5C1D\u8BD5\u63D0\u53D6 DCOM \u914D\u7F6E\u5DE5\u5177{0}\u65F6\u51FA\u9519\n{1} -vld.error.extracting=\u5C1D\u8BD5\u63D0\u53D6 DCOM \u914D\u7F6E\u5DE5\u5177{0}\u65F6\u51FA\u9519 vld.areyousure=\u6CE8\u610F: \u6B64\u547D\u4EE4\u53EF\u80FD\u4F1A\u4FEE\u6539 Windows \u6CE8\u518C\u8868\u4E2D\u7684\u67D0\u4E9B\u952E\u7684\u6743\u9650\u3002\n\u5728\u8FD0\u884C\u6B64\u547D\u4EE4\u4E4B\u524D, \u8BF7\u5907\u4EFD Windows \u6CE8\u518C\u8868\u3002\n\u8FD9\u79CD\u4FEE\u6539\u5141\u8BB8 Windows \u7528\u6237\u5B8C\u5168\u63A7\u5236\u8FD9\u4E9B\u9879\u3002\n\n\u662F\u5426\u786E\u5B9E\u8981\u7F16\u8F91 Windows \u6CE8\u518C\u8868? \u5982\u679C\u8FD9\u6837\u505A, \u8BF7\u952E\u5165\u5B8C\u6574\u5355\u8BCD yes vld.not.interactive=\u6B64\u547D\u4EE4\u53EA\u80FD\u5728\u4EA4\u4E92\u6A21\u5F0F\u4E0B\u8FD0\u884C\u3002\n\u8BF7\u786E\u4FDD\u5C06\u4EA4\u4E92\u6807\u8BB0\u8BBE\u7F6E\u4E3A\u201C\u771F\u201D\u3002\u6709\u5173\u8BE6\u7EC6\u4FE1\u606F, \u8BF7\u53C2\u89C1 '--help'\n\u5176\u4ED6\u9009\u9879\u5C06\u4F7F\u7528 --force \u9009\u9879 vld.noconsole=\u6B64\u547D\u4EE4\u53EA\u80FD\u4ECE\u63A7\u5236\u53F0\u8FD0\u884C\u3002\u8BF7\u5728\u9644\u52A0\u4E86\u63A7\u5236\u53F0\u7684\u60C5\u51B5\u4E0B\u91CD\u8BD5\u3002 diff --git a/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_zh_TW.properties b/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_zh_TW.properties index 21c008a15fa..3a6f84f384a 100644 --- a/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_zh_TW.properties +++ b/nucleus/cluster/cli-l10n/src/main/resources/com/sun/enterprise/admin/cli/cluster/LocalStrings_zh_TW.properties @@ -37,6 +37,7 @@ # only if the new code is made subject to such option by the copyright # holder. # + cantResolveIpAddress=\u627E\u4E0D\u5230\u4E3B\u6A5F\u540D\u7A31 {0} \u7684 IP \u4F4D\u5740 cantdelete=\u7121\u6CD5\u522A\u9664\u66AB\u5B58\u6A94 {0}\u3002 AgentPortInUse=\u7BC0\u9EDE\u4EE3\u7406\u7A0B\u5F0F\u9023\u63A5\u57E0 {0} \u8655\u65BC\u4F7F\u7528\u4E2D\u72C0\u614B\u3002 @@ -173,21 +174,16 @@ new.mp.again=\u518D\u6B21\u8F38\u5165\u65B0\u7684\u4E3B\u5BC6\u78BC old.mp=\u8ACB\u8F38\u5165\u820A\u7684\u4E3B\u5BC6\u78BC> bad.node.dir=\u7BC0\u9EDE {0} \u4E0D\u5B58\u5728\u3002 dry_run_msg=\u50BE\u5370\u7528\u4F86\u555F\u52D5\u7684 JVM \u547C\u53EB\u884C\uFF1A -dcom.error.unpacking=\u7121\u6CD5\u4F7F\u7528 DCOM \u89E3\u58D3\u7E2E\u9060\u7AEF Windows \u6A5F\u5668\u4E0A\u7684\u5B89\u88DD\u3002\n\u9060\u7AEF\u547D\u4EE4\u6A94\u70BA {0}\u3002\u5176\u50B3\u56DE\uFF1A{1} remote.install.dir.already.gone=\u9060\u7AEF\u76EE\u9304 ({0}) \u4E0D\u5B58\u5728\u3002\u6C92\u6709\u53EF\u522A\u9664\u7684\u9805\u76EE\u3002 remote.install.dir.cant.delete=\u7121\u6CD5\u522A\u9664\u9060\u7AEF\u76EE\u9304\uFF1A{0}\u3002\u8ACB\u624B\u52D5\u52A0\u4EE5\u522A\u9664\u3002 install.dir.exists=\u9060\u7AEF\u5B89\u88DD\u76EE\u9304 {0} \u5DF2\u5B58\u5728\u3002\u8ACB\u4F7F\u7528 --force \u9078\u9805\u52A0\u4EE5\u8986\u5BEB\u3002 -install.node.nolocal=install-node-dcom \u50C5\u6703\u5728\u9060\u7AEF\u4E3B\u6A5F\u4E0A\u904B\u4F5C\u3002{0} \u662F\u672C\u96FB\u8166\u3002 ##### ##### vld ##### vld.windows.only=\u6B64\u547D\u4EE4\u5C08\u7528\u65BC Windows \u96FB\u8166\u3002 vld.missing.dlls=\u6B64\u547D\u4EE4\u57F7\u884C\u7684\u539F\u751F Windows \u7A0B\u5F0F\u9700\u8981\u5176\u4ED6\u6A94\u6848\u624D\u80FD\u57F7\u884C\u3002\n\u4EE5\u4E0B\u662F\u7F3A\u5C11\u7684\u6A94\u6848\uFF1A\n{0} vld.badtempdir=Java \u63D0\u4F9B\u7684\u66AB\u5B58\u76EE\u9304 (java.io.tmpdir) {0} \u4E0D\u662F\u76EE\u9304\u3002 -vld.app.exists=DCOM \u5DE5\u5177\u5DF2\u7D93\u5B58\u5728 ({0}) \u4E14\u7121\u6CD5\u522A\u9664\u3002\n\u8ACB\u624B\u52D5\u5C07\u5B83\u522A\u9664\u4E26\u91CD\u65B0\u57F7\u884C\u6B64\u547D\u4EE4\u3002 vld.app.deleted=\u9019\u662F\u7570\u5E38\u3002\u61C9\u7528\u7A0B\u5F0F {0} \u5DF2\u7D93\u5B58\u5728\u3002\u4E4B\u524D\u522A\u9664\u6642\u4E26\u672A\u767C\u751F\u554F\u984C\u3002 -vld.error.extracting.ex=\u5617\u8A66\u64F7\u53D6 DCOM \u7D44\u614B\u5DE5\u5177 {0} \u6642\u767C\u751F\u932F\u8AA4\n{1} -vld.error.extracting=\u5617\u8A66\u64F7\u53D6 DCOM \u7D44\u614B\u5DE5\u5177 {0} \u6642\u767C\u751F\u932F\u8AA4 vld.areyousure=\u6CE8\u610F\uFF1A\u6B64\u547D\u4EE4\u53EF\u80FD\u6703\u4FEE\u6539 Windows \u767B\u9304\u4E2D\u67D0\u4E9B\u6A5F\u78BC\u7684\u6B0A\u9650\u3002\n\u57F7\u884C\u6B64\u547D\u4EE4\u4E4B\u524D\uFF0C\u8ACB\u5148\u5099\u4EFD Windows \u767B\u9304\u3002\n\u6B64\u4FEE\u6539\u8B93 Windows \u4F7F\u7528\u8005\u80FD\u5920\u5B8C\u5168\u63A7\u5236\u9019\u4E9B\u6A5F\u78BC\u3002\n\n\u78BA\u5B9A\u8981\u7DE8\u8F2F Windows \u767B\u9304\u55CE\uFF1F\u5982\u679C\u662F\uFF0C\u8ACB\u8F38\u5165\u5B8C\u6574\u7684 yes vld.not.interactive=\u6B64\u547D\u4EE4\u53EA\u80FD\u5728\u4E92\u52D5\u5F0F\u6A21\u5F0F\u4E2D\u57F7\u884C\u3002\n\u8ACB\u78BA\u5B9A\u60A8\u5DF2\u7D93\u5C07\u4E92\u52D5\u5F0F\u65D7\u6A19\u8A2D\u70BA true\u3002\u8ACB\u53C3\u95B1 '--help' \u77AD\u89E3\u8A73\u7D30\u8CC7\u8A0A\n\u53E6\u4E00\u500B\u65B9\u5F0F\u662F\u4F7F\u7528 --force \u9078\u9805 vld.noconsole=\u6B64\u547D\u4EE4\u53EA\u80FD\u5F9E\u4E3B\u63A7\u53F0\u57F7\u884C\u3002\u8ACB\u4F7F\u7528\u4E3B\u63A7\u53F0\u518D\u8A66\u4E00\u6B21\u3002 diff --git a/nucleus/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/InstallNodeDcomCommand.java b/nucleus/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/InstallNodeDcomCommand.java deleted file mode 100644 index c1c6f9580d8..00000000000 --- a/nucleus/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/InstallNodeDcomCommand.java +++ /dev/null @@ -1,230 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2011-2013 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -package com.sun.enterprise.admin.cli.cluster; - -import java.util.logging.Level; -import com.sun.enterprise.util.cluster.windows.io.RemoteFileCopyProgress; -import com.sun.enterprise.util.cluster.windows.io.WindowsRemoteFile; -import com.sun.enterprise.util.cluster.windows.io.WindowsRemoteFileSystem; -import com.sun.enterprise.util.cluster.windows.process.WindowsCredentials; -import com.sun.enterprise.util.cluster.windows.process.WindowsException; -import com.sun.enterprise.util.cluster.windows.process.WindowsRemoteScripter; -import com.sun.enterprise.util.net.NetUtils; -import java.io.File; -import java.util.ArrayList; -import java.util.List; -import org.glassfish.api.Param; -import org.glassfish.api.admin.CommandException; -import org.glassfish.hk2.api.PerLookup; -import org.jvnet.hk2.annotations.Service; - -/** - * @author Byron Nevins - */ -@Service(name = "install-node-dcom") -@PerLookup -public class InstallNodeDcomCommand extends InstallNodeBaseCommand { - @Param(name = "windowsuser", shortName = "w", optional = true, defaultValue = "${user.name}") - private String user; - @Param(name = "windowsdomain", shortName = "d", optional = true, defaultValue = "") - private String windowsDomain; - private final List passwords = new ArrayList(); - private String remoteInstallDirString; - - /** - * DCOM won't work right on localhost. Luckily it makes no sense to do that in - * in a real, non-test scenario anyway. - * @throws CommandException - */ - @Override - protected void validate() throws CommandException { - super.validate(); - - for (String host : hosts) { - if (NetUtils.isThisHostLocal(host)) - throw new CommandException(Strings.get("install.node.nolocal", host)); - } - } - - @Override - final String getRawRemoteUser() { - return user; - } - - @Override - int getRawRemotePort() { - return 135; // DCOM port - } - - @Override - String getSshKeyFile() { - return null; // null -- not an empty string! - } - - @Override - void copyToHosts(File zipFile, ArrayList binDirFiles) throws CommandException { - try { - copyToHostsInternal(zipFile, binDirFiles); - } - catch (CommandException ex) { - throw ex; - } - catch (WindowsException ex) { - throw new CommandException(ex); - } - } - - /** - * bnevins: This is exclusively a "user-performance" enhancement. - * We are forcing the failure - * to happen before the very very slow zipfile creation. - * FAIL FAST principle - * This adds a bit of extra overhead to the command... - * Note that allowing multiple hosts makes things MUCH more complicated. - * @throws WindowsException - */ - @Override - final void precopy() throws CommandException { - remoteInstallDirString = getInstallDir().replace('/', '\\'); - - try { - for (String host : hosts) { - String remotePassword = getWindowsPassword(host); - passwords.add(new HostAndPassword(host, remotePassword)); - - if (!getForce()) { - WindowsRemoteFileSystem wrfs = new WindowsRemoteFileSystem(host, getRemoteUser(), remotePassword); - WindowsRemoteFile remoteInstallDir = new WindowsRemoteFile(wrfs, remoteInstallDirString); - - if (remoteInstallDir.exists()) - throw new CommandException(Strings.get("install.dir.exists", remoteInstallDir)); - } - } - } - catch (WindowsException ex) { - throw new CommandException(ex); - } - } - - private void copyToHostsInternal(File zipFile, ArrayList binDirFiles) - throws CommandException, WindowsException { - final String zipFileName = "glassfish_install.zip"; - final String unpackScriptName = "unpack.bat"; - - for (String host : hosts) { - String remotePassword = getPassword(host); - WindowsRemoteFileSystem wrfs = new WindowsRemoteFileSystem(host, getRemoteUser(), remotePassword); - WindowsRemoteFile remoteInstallDir = new WindowsRemoteFile(wrfs, remoteInstallDirString); - remoteInstallDir.mkdirs(getForce()); - WindowsRemoteFile remoteZip = new WindowsRemoteFile(remoteInstallDir, zipFileName); - WindowsRemoteFile unpackScript = new WindowsRemoteFile(remoteInstallDir, unpackScriptName); - //createUnpackScript - System.out.printf("Copying %d bytes", zipFile.length()); - remoteZip.copyFrom(zipFile, new RemoteFileCopyProgress() { - @Override - public void callback(long numcopied, long numtotal) { - //final int percent = (int)((double)numcopied / (double)numtotal * 100.0); - System.out.print("."); - } - @Override - public int getChunkSize() { - return 1048576; - } - }); - System.out.println(""); - String fullZipFileName = remoteInstallDirString + "\\" + zipFileName; - String fullUnpackScriptPath = remoteInstallDirString + "\\" + unpackScriptName; - unpackScript.copyFrom(makeScriptString(remoteInstallDirString, zipFileName)); - if (logger.isLoggable(Level.FINE)) - logger.fine("WROTE FILE TO REMOTE SYSTEM: " + fullZipFileName + - " and " + fullUnpackScriptPath); - unpackOnHosts(host, remotePassword, fullUnpackScriptPath.replace('/', '\\')); - } - } - - private String makeScriptString(String windowsInstallDir, String zipFileName) { - // first line is drive designator to make sure we are on the right drive. E.g. "C:" - StringBuilder scriptString = new StringBuilder(windowsInstallDir.substring(0, 2)); - scriptString.append("\r\n").append("cd \"").append(windowsInstallDir).append("\"\r\n"). - append("jar xvf ").append(zipFileName).append("\r\n"); - - return scriptString.toString(); - } - - private void unpackOnHosts(String host, String remotePassword, - String unpackScript) throws WindowsException, CommandException { - String domain = windowsDomain; - - if (!ok(domain)) - domain = host; - - WindowsCredentials bonafides = new WindowsCredentials(host, domain, getRemoteUser(), remotePassword); - WindowsRemoteScripter scripter = new WindowsRemoteScripter(bonafides); - String out = scripter.run(unpackScript); - - if (out == null || out.length() < 50) - throw new CommandException(Strings.get("dcom.error.unpacking", unpackScript, out)); - - if (logger.isLoggable(Level.FINE)) - logger.fine("Output from Windows Unpacker:\n" + out); - } - - private String getPassword(String host) { - if (!ok(host)) - return null; - - for (HostAndPassword hap : passwords) { - if (host.equals(hap.host)) - return hap.password; - } - - return null; - } - - private static class HostAndPassword { - private final String host; - private final String password; - - public HostAndPassword(String host, String password) { - this.host = host; - this.password = password; - } - } -} diff --git a/nucleus/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/LocalStrings.properties b/nucleus/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/LocalStrings.properties index 432cd4210d1..fd2100380ad 100644 --- a/nucleus/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/LocalStrings.properties +++ b/nucleus/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/LocalStrings.properties @@ -37,7 +37,7 @@ # only if the new code is made subject to such option by the copyright # holder. # -# Portions Copyright [2019] [Payara Foundation and/or affiliates] +# Portions Copyright [2019-2026] [Payara Foundation and/or affiliates] cantResolveIpAddress=Can't find the IP address for the hostname: {0} cantdelete=Cannot delete temporary file {0}. AgentPortInUse=Node agent port {0} is in use. @@ -202,14 +202,12 @@ new.mp.again=Enter the new master password again old.mp=Enter the old master password> bad.node.dir=Node {0} does not exist or is not valid. dry_run_msg=Dump of JVM Invocation line that would be used to launch: -dcom.error.unpacking=Failed to unpack the installation on remote Windows machine using DCOM.\n\ The remote script is {0}. It returned: {1} remote.install.dir.already.gone=The remote directory ({0}) does not exist. \ Nothing to delete. remote.install.dir.cant.delete=Unable to delete the remote directory: {0}. \ Please delete it manually. install.dir.exists=The remote installation directory, {0}, already exists. Use the --force option to overwrite it. -install.node.nolocal=install-node-dcom only operates on remote hosts. {0} is this computer. ##### ##### vld ##### @@ -217,11 +215,7 @@ vld.windows.only=This command is exclusively for Windows computers. vld.missing.dlls=This command runs a native Windows program that requires other files to run. \n\ Here are the missing file(s):\n{0} vld.badtempdir=The Java-provided temp dir (java.io.tmpdir), {0}, is not a directory. -vld.app.exists=The DCOM tool already exists ({0}) and can''t be deleted. \n\ -Please delete it manually and re-run this command. vld.app.deleted=This is unusual. The app, {0}, already existed. It was deleted with no problem. -vld.error.extracting.ex=Error while attempting to extract DCOM Configuration tool {0}\n{1} -vld.error.extracting=Error while attempting to extract DCOM Configuration tool {0} vld.areyousure=Caution: This command might modify the permissions of some keys \ in the Windows registry.\n\ Before running this command, back up the Windows registry.\n\ diff --git a/nucleus/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/NativeRemoteCommandsBase.java b/nucleus/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/NativeRemoteCommandsBase.java index a7bdf9a6fb5..bdffb5af2b4 100644 --- a/nucleus/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/NativeRemoteCommandsBase.java +++ b/nucleus/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/NativeRemoteCommandsBase.java @@ -116,13 +116,6 @@ String getSSHPassword(String node) throws CommandException { return getRemotePassword(node, "AS_ADMIN_SSHPASSWORD"); } - /** - * Get DCOM password from password file or user. - */ - String getWindowsPassword(String node) throws CommandException { - return getRemotePassword(node, "AS_ADMIN_WINDOWSPASSWORD"); - } - /** * Get SSH password from password file or user. */ diff --git a/nucleus/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/SetupLocalDcom.java b/nucleus/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/SetupLocalDcom.java deleted file mode 100644 index 138ee794859..00000000000 --- a/nucleus/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/SetupLocalDcom.java +++ /dev/null @@ -1,248 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2012-2013 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -// Portions Copyright [2019] [Payara Foundation and/or its affiliates] - -package com.sun.enterprise.admin.cli.cluster; - -import com.sun.enterprise.admin.cli.CLICommand; -import com.sun.enterprise.universal.process.ProcessManager; -import com.sun.enterprise.universal.process.ProcessManagerException; -import com.sun.enterprise.util.OS; -import com.sun.enterprise.util.io.FileUtils; -import org.glassfish.api.Param; -import org.glassfish.api.admin.CommandException; -import org.glassfish.api.admin.CommandValidationException; -import org.glassfish.hk2.api.PerLookup; -import org.jvnet.hk2.annotations.Service; - -import java.io.*; -import java.util.ArrayList; -import java.util.List; -import java.util.logging.Level; - -import static com.sun.enterprise.universal.process.ProcessUtils.getExe; -import org.jline.reader.EndOfFileException; -import org.jline.reader.UserInterruptException; - -/* - * @author Byron Nevins - */ -@Service(name = "setup-local-dcom") -@PerLookup -public final class SetupLocalDcom extends CLICommand { - @Param(name = "verbose", shortName = "v", primary = false, optional = true) - boolean verbose; - @Param(name = "force", shortName = "f", primary = false, optional = true) - boolean force; - private static final String[] DEPENDENCIES = new String[]{ - "advapi32.dll", - "kernel32.dll", //"test32.dll", - }; - private static final String CPP_APP_FILENAME = "DcomConfigurator.exe"; - private static final File TMPDIR = new File(System.getProperty("java.io.tmpdir")); - private static final File CPP_APP = new File(TMPDIR, CPP_APP_FILENAME); - - @Override - protected void validate() throws CommandException { - super.validate(); - - if (!OS.isWindowsForSure()) - throw new CommandException(Strings.get("vld.windows.only")); - - try { - buildTerminal(); - buildLineReader(); - - // Check if console is still null - if (lineReader == null) { - throw new CommandException(Strings.get("vld.noconsole")); - } - } finally { - closeTerminal(); - } - - if(!force) - areYouSure(); - - checkPath(); - prepareCppApp(); - } - - @Override - protected int executeCommand() throws CommandException, CommandValidationException { - try { - List cmds = new ArrayList(); - cmds.add(CPP_APP.getAbsolutePath()); - - if (verbose) - cmds.add("--verbose"); - - ProcessManager pm = new ProcessManager(cmds); - pm.execute(); - - int ret = pm.getExitValue(); - - if (verbose || ret != 0) { - logger.log(Level.INFO, "{0}{1}", new Object[]{pm.getStdout(), pm.getStderr()}); - } - - return ret; - } - catch (ProcessManagerException ex) { - throw new CommandException(ex); - } - } - - /** - * make sure that the right DLLs for running the C++ program are in the Path - * @throws CommandException if the right DLLs are not in the path. - */ - private void checkPath() throws CommandException { - List notFound = new ArrayList(); - - for (String dll : DEPENDENCIES) { - File f = getExe(dll); - - if (f == null) - notFound.add(dll); - else { - if (logger.isLoggable(Level.FINER)) - logger.finer("Required DLL Located: " + f); - } - } - - if (!notFound.isEmpty()) { - throw prepareMissingDllMessage(notFound); - } - } - - private static CommandException prepareMissingDllMessage(List notFound) { - StringBuilder sb = new StringBuilder(); - - for (String dll : notFound) { - sb.append('\t').append(dll).append('\n'); - } - String msg = Strings.get("vld.missing.dlls", sb.toString()); - return new CommandException(msg); - } - - private void prepareCppApp() throws CommandException { - if (!TMPDIR.isDirectory()) - throw exceptionMaker("internal.error", Strings.get("vld.badtempdir", TMPDIR)); - - if (!FileUtils.deleteFileMaybe(CPP_APP)) - throw exceptionMaker("vld.app.exists", CPP_APP); - - if (logger.isLoggable(Level.FINER)) - logger.finer(Strings.get("vld.app.deleted", CPP_APP)); - - FileUtils.deleteOnExit(CPP_APP); - - // copy it from inside this jar to the file system - InputStream in = null; - FileOutputStream out = null; - - try { - in = getClass().getResourceAsStream("/lib/" + CPP_APP_FILENAME); - out = new FileOutputStream(CPP_APP); - copyStream(in, out); - } - catch (IOException ex) { - throw exceptionMaker("vld.error.extracting.ex", CPP_APP, ex); - } - finally { - if (out != null) { - try { - out.close(); - } catch (IOException e) { - // ignore - } - } - if (in != null) { - try { - in.close(); - } catch (IOException e) { - // ignore - } - } - } - - if (!CPP_APP.canExecute()) - throw exceptionMaker("vld.error.extracting", CPP_APP); - } - - private static void copyStream(InputStream in, OutputStream out) throws IOException { - if (in == null || out == null) - throw new NullPointerException("internal error: null arguments"); - - byte[] buf = new byte[16384]; - int len; - - while ((len = in.read(buf)) >= 0) { - out.write(buf, 0, len); - } - } - - /* - * note how this method will likely be inlined by the compiler since it is tiny - * and private... - */ - private CommandException exceptionMaker(String key, Object... args) { - if (args == null || args.length == 0) - return new CommandException(Strings.get(key)); - else - return new CommandException(Strings.get(key, args)); - } - - private void areYouSure() throws CommandException { - if (!programOpts.isInteractive()) { - throw new CommandException(Strings.get("vld.not.interactive")); - } - - try { - String answer = lineReader.readLine(String.format("%s: ", Strings.get("vld.areyousure"))); - if (!"yes".equalsIgnoreCase(answer)) { - throw new CommandException(Strings.get("vld.no")); - } - } catch (UserInterruptException | EndOfFileException e) { - // Ignore - } - } -} diff --git a/nucleus/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/UninstallNodeDcomCommand.java b/nucleus/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/UninstallNodeDcomCommand.java deleted file mode 100644 index c3b895797d4..00000000000 --- a/nucleus/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/UninstallNodeDcomCommand.java +++ /dev/null @@ -1,120 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2011-2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -package com.sun.enterprise.admin.cli.cluster; - -import com.sun.enterprise.util.cluster.windows.io.WindowsRemoteFile; -import com.sun.enterprise.util.cluster.windows.io.WindowsRemoteFileSystem; -import com.sun.enterprise.util.net.NetUtils; -import org.glassfish.api.Param; -import org.glassfish.api.admin.CommandException; - -import org.jvnet.hk2.annotations.Service; -import org.glassfish.hk2.api.PerLookup; - -/** - * - * @author Byron Nevins - */ -@Service(name = "uninstall-node-dcom") -@PerLookup -public class UninstallNodeDcomCommand extends UninstallNodeBaseCommand { - @Param(name = "windowsuser", shortName = "w", optional = true, defaultValue = "${user.name}") - private String user; - @Param(name = "windowsdomain", shortName = "d", optional = true, defaultValue = "") - private String windowsDomain; - - /** - * DCOM won't work right on localhost. Luckily it makes no sense to do that in - * in a real, non-test scenario anyway. - * @throws CommandException - */ - @Override - protected void validate() throws CommandException { - super.validate(); - - for (String host : hosts) { - if (NetUtils.isThisHostLocal(host)) - throw new CommandException(Strings.get("install.node.nolocal", host)); - } - } - - @Override - final String getRawRemoteUser() { - return user; - } - - @Override - final int getRawRemotePort() { - return 135; // DCOM port - } - - @Override - final String getSshKeyFile() { - return null; // null -- not an empty string! - } - - @Override - final void deleteFromHosts() throws CommandException { - for (String host : hosts) { - try { - String pw = getWindowsPassword(host); - WindowsRemoteFileSystem wrfs = new WindowsRemoteFileSystem(host, getRemoteUser(), pw); - WindowsRemoteFile remoteInstallDir = new WindowsRemoteFile(wrfs, getInstallDir()); - - if (!remoteInstallDir.exists()) { - throw new CommandException( - Strings.get("remote.install.dir.already.gone", getInstallDir())); - } - remoteInstallDir.delete(); - - // make sure it's gone now... - if (remoteInstallDir.exists()) { - throw new CommandException(Strings.get("remote.install.dir.cant.delete", getInstallDir())); - } - } - catch (CommandException ce) { - throw ce; - } - catch (Exception e) { - throw new CommandException(e); - } - } - } -} diff --git a/nucleus/cluster/cli/src/main/resources/lib/DcomConfigurator.exe b/nucleus/cluster/cli/src/main/resources/lib/DcomConfigurator.exe deleted file mode 100644 index 76c17ca7e63..00000000000 Binary files a/nucleus/cluster/cli/src/main/resources/lib/DcomConfigurator.exe and /dev/null differ diff --git a/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_de.properties b/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_de.properties deleted file mode 100644 index 0eb3a5e8e2c..00000000000 --- a/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_de.properties +++ /dev/null @@ -1,42 +0,0 @@ -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -# -# Copyright (c) 2012-2013 Oracle and/or its affiliates. All rights reserved. -# -# The contents of this file are subject to the terms of either the GNU -# General Public License Version 2 only ("GPL") or the Common Development -# and Distribution License("CDDL") (collectively, the "License"). You -# may not use this file except in compliance with the License. You can -# obtain a copy of the License at -# https://github.com/payara/Payara/blob/main/LICENSE.txt -# See the License for the specific -# language governing permissions and limitations under the License. -# -# When distributing the software, include this License Header Notice in each -# file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -# -# GPL Classpath Exception: -# Oracle designates this particular file as subject to the "Classpath" -# exception as provided by Oracle in the GPL Version 2 section of the License -# file that accompanied this code. -# -# Modifications: -# If applicable, add the following below the License Header, with the fields -# enclosed by brackets [] replaced by your own identifying information: -# "Portions Copyright [year] [name of copyright owner]" -# -# Contributor(s): -# If you wish your version of this file to be governed by only the CDDL or -# only the GPL Version 2, indicate your decision by adding "[Contributor] -# elects to include this software in this distribution under the [CDDL or GPL -# Version 2] license." If you don't indicate a single choice of license, a -# recipient has the option to distribute your version of this file under -# either the CDDL, the GPL Version 2 or to extend the choice of license to -# its licensees as provided above. However, if you add GPL Version 2 code -# and therefore, elected the GPL Version 2 license, then the option applies -# only if the new code is made subject to such option by the copyright -# holder. -# - - -missing_jinterop=Remote-Fehler: Die j-interop- und Jcifs-Librarys sind nicht verf\u00FCgbar. Um native Windows-Komponenten zu verwenden, ist die JAR-Datei "j-interop-repackaged.jar" erforderlich. Diese JAR-Datei ist in allen GlassFish Server-Verteilungen verf\u00FCgbar. Die Librarys in dieser JAR-Datei werden unter der GNU Lesser General Public License (LGPL) freigegeben. diff --git a/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_es.properties b/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_es.properties deleted file mode 100644 index d18ea3e2e87..00000000000 --- a/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_es.properties +++ /dev/null @@ -1,42 +0,0 @@ -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -# -# Copyright (c) 2012-2013 Oracle and/or its affiliates. All rights reserved. -# -# The contents of this file are subject to the terms of either the GNU -# General Public License Version 2 only ("GPL") or the Common Development -# and Distribution License("CDDL") (collectively, the "License"). You -# may not use this file except in compliance with the License. You can -# obtain a copy of the License at -# https://github.com/payara/Payara/blob/main/LICENSE.txt -# See the License for the specific -# language governing permissions and limitations under the License. -# -# When distributing the software, include this License Header Notice in each -# file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -# -# GPL Classpath Exception: -# Oracle designates this particular file as subject to the "Classpath" -# exception as provided by Oracle in the GPL Version 2 section of the License -# file that accompanied this code. -# -# Modifications: -# If applicable, add the following below the License Header, with the fields -# enclosed by brackets [] replaced by your own identifying information: -# "Portions Copyright [year] [name of copyright owner]" -# -# Contributor(s): -# If you wish your version of this file to be governed by only the CDDL or -# only the GPL Version 2, indicate your decision by adding "[Contributor] -# elects to include this software in this distribution under the [CDDL or GPL -# Version 2] license." If you don't indicate a single choice of license, a -# recipient has the option to distribute your version of this file under -# either the CDDL, the GPL Version 2 or to extend the choice of license to -# its licensees as provided above. However, if you add GPL Version 2 code -# and therefore, elected the GPL Version 2 license, then the option applies -# only if the new code is made subject to such option by the copyright -# holder. -# - - -missing_jinterop=fallo remoto: las bibliotecas j-interop y Jcifs no est\u00E1n disponibles. Para utilizar los componentes nativos de Windows, se necesita el archivo JAR j-interop-repackaged.jar: este archivo JAR est\u00E1 disponible en todas las distribuciones de GlassFish Server. Las bibliotecas de este archivo JAR se publicar\u00E1n en la Licencia P\u00FAblica General Menor GNU (LGPL). diff --git a/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_fr.properties b/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_fr.properties deleted file mode 100644 index 481aac66e2e..00000000000 --- a/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_fr.properties +++ /dev/null @@ -1,42 +0,0 @@ -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -# -# Copyright (c) 2012-2013 Oracle and/or its affiliates. All rights reserved. -# -# The contents of this file are subject to the terms of either the GNU -# General Public License Version 2 only ("GPL") or the Common Development -# and Distribution License("CDDL") (collectively, the "License"). You -# may not use this file except in compliance with the License. You can -# obtain a copy of the License at -# https://github.com/payara/Payara/blob/main/LICENSE.txt -# See the License for the specific -# language governing permissions and limitations under the License. -# -# When distributing the software, include this License Header Notice in each -# file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -# -# GPL Classpath Exception: -# Oracle designates this particular file as subject to the "Classpath" -# exception as provided by Oracle in the GPL Version 2 section of the License -# file that accompanied this code. -# -# Modifications: -# If applicable, add the following below the License Header, with the fields -# enclosed by brackets [] replaced by your own identifying information: -# "Portions Copyright [year] [name of copyright owner]" -# -# Contributor(s): -# If you wish your version of this file to be governed by only the CDDL or -# only the GPL Version 2, indicate your decision by adding "[Contributor] -# elects to include this software in this distribution under the [CDDL or GPL -# Version 2] license." If you don't indicate a single choice of license, a -# recipient has the option to distribute your version of this file under -# either the CDDL, the GPL Version 2 or to extend the choice of license to -# its licensees as provided above. However, if you add GPL Version 2 code -# and therefore, elected the GPL Version 2 license, then the option applies -# only if the new code is made subject to such option by the copyright -# holder. -# - - -missing_jinterop=\u00E9chec distant : les biblioth\u00E8ques j-interop et Jcifs ne sont pas disponibles. Pour utiliser les composants Windows natifs, le fichier JAR j-interop-repackaged.jar est obligatoire : ce fichier JAR est disponible dans toutes les distributions GlassFish Server. Les biblioth\u00E8ques de ce fichier JAR sont publi\u00E9es sous la licence publique g\u00E9n\u00E9rale limit\u00E9e (LGPL) GNU. diff --git a/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_it.properties b/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_it.properties deleted file mode 100644 index 1c6726e317c..00000000000 --- a/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_it.properties +++ /dev/null @@ -1,42 +0,0 @@ -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -# -# Copyright (c) 2012-2013 Oracle and/or its affiliates. All rights reserved. -# -# The contents of this file are subject to the terms of either the GNU -# General Public License Version 2 only ("GPL") or the Common Development -# and Distribution License("CDDL") (collectively, the "License"). You -# may not use this file except in compliance with the License. You can -# obtain a copy of the License at -# https://github.com/payara/Payara/blob/main/LICENSE.txt -# See the License for the specific -# language governing permissions and limitations under the License. -# -# When distributing the software, include this License Header Notice in each -# file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -# -# GPL Classpath Exception: -# Oracle designates this particular file as subject to the "Classpath" -# exception as provided by Oracle in the GPL Version 2 section of the License -# file that accompanied this code. -# -# Modifications: -# If applicable, add the following below the License Header, with the fields -# enclosed by brackets [] replaced by your own identifying information: -# "Portions Copyright [year] [name of copyright owner]" -# -# Contributor(s): -# If you wish your version of this file to be governed by only the CDDL or -# only the GPL Version 2, indicate your decision by adding "[Contributor] -# elects to include this software in this distribution under the [CDDL or GPL -# Version 2] license." If you don't indicate a single choice of license, a -# recipient has the option to distribute your version of this file under -# either the CDDL, the GPL Version 2 or to extend the choice of license to -# its licensees as provided above. However, if you add GPL Version 2 code -# and therefore, elected the GPL Version 2 license, then the option applies -# only if the new code is made subject to such option by the copyright -# holder. -# - - -missing_jinterop=errore remoto: le librerie j-interop e Jcifs non sono disponibili. Per usare i componenti Windows nativi, \u00E8 richiesto il file JAR j-interop-repackaged.jar. Questo file JAR \u00E8 disponibile in tutte le distribuzioni di GlassFish Server. Le librerie di questo file JAR vengono rilasciate con la licenza GNU Lesser General Public License (LGPL). diff --git a/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_ja.properties b/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_ja.properties deleted file mode 100644 index 7eba7208d7e..00000000000 --- a/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_ja.properties +++ /dev/null @@ -1,42 +0,0 @@ -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -# -# Copyright (c) 2012-2013 Oracle and/or its affiliates. All rights reserved. -# -# The contents of this file are subject to the terms of either the GNU -# General Public License Version 2 only ("GPL") or the Common Development -# and Distribution License("CDDL") (collectively, the "License"). You -# may not use this file except in compliance with the License. You can -# obtain a copy of the License at -# https://github.com/payara/Payara/blob/main/LICENSE.txt -# See the License for the specific -# language governing permissions and limitations under the License. -# -# When distributing the software, include this License Header Notice in each -# file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -# -# GPL Classpath Exception: -# Oracle designates this particular file as subject to the "Classpath" -# exception as provided by Oracle in the GPL Version 2 section of the License -# file that accompanied this code. -# -# Modifications: -# If applicable, add the following below the License Header, with the fields -# enclosed by brackets [] replaced by your own identifying information: -# "Portions Copyright [year] [name of copyright owner]" -# -# Contributor(s): -# If you wish your version of this file to be governed by only the CDDL or -# only the GPL Version 2, indicate your decision by adding "[Contributor] -# elects to include this software in this distribution under the [CDDL or GPL -# Version 2] license." If you don't indicate a single choice of license, a -# recipient has the option to distribute your version of this file under -# either the CDDL, the GPL Version 2 or to extend the choice of license to -# its licensees as provided above. However, if you add GPL Version 2 code -# and therefore, elected the GPL Version 2 license, then the option applies -# only if the new code is made subject to such option by the copyright -# holder. -# - - -missing_jinterop=\u30EA\u30E2\u30FC\u30C8\u969C\u5BB3: j-interop\u304A\u3088\u3073Jcifs\u30E9\u30A4\u30D6\u30E9\u30EA\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002\u30CD\u30A4\u30C6\u30A3\u30D6\u306AWindows\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u3092\u4F7F\u7528\u3059\u308B\u306B\u306F\u3001j-interop-repackaged.jar JAR\u30D5\u30A1\u30A4\u30EB\u304C\u5FC5\u8981\u3067\u3059\u3002\u3053\u306EJAR\u30D5\u30A1\u30A4\u30EB\u306F\u3001GlassFish Server\u30C7\u30A3\u30B9\u30C8\u30EA\u30D3\u30E5\u30FC\u30B7\u30E7\u30F3\u3067\u4F7F\u7528\u53EF\u80FD\u3067\u3059\u3002\u3053\u306EJAR\u30D5\u30A1\u30A4\u30EB\u306E\u30E9\u30A4\u30D6\u30E9\u30EA\u306F\u3001GNU Lesser General Public License (LGPL)\u306E\u5143\u3067\u30EA\u30EA\u30FC\u30B9\u3055\u308C\u3066\u3044\u307E\u3059\u3002 diff --git a/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_ko.properties b/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_ko.properties deleted file mode 100644 index fe0fda7890a..00000000000 --- a/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_ko.properties +++ /dev/null @@ -1,42 +0,0 @@ -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -# -# Copyright (c) 2012-2013 Oracle and/or its affiliates. All rights reserved. -# -# The contents of this file are subject to the terms of either the GNU -# General Public License Version 2 only ("GPL") or the Common Development -# and Distribution License("CDDL") (collectively, the "License"). You -# may not use this file except in compliance with the License. You can -# obtain a copy of the License at -# https://github.com/payara/Payara/blob/main/LICENSE.txt -# See the License for the specific -# language governing permissions and limitations under the License. -# -# When distributing the software, include this License Header Notice in each -# file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -# -# GPL Classpath Exception: -# Oracle designates this particular file as subject to the "Classpath" -# exception as provided by Oracle in the GPL Version 2 section of the License -# file that accompanied this code. -# -# Modifications: -# If applicable, add the following below the License Header, with the fields -# enclosed by brackets [] replaced by your own identifying information: -# "Portions Copyright [year] [name of copyright owner]" -# -# Contributor(s): -# If you wish your version of this file to be governed by only the CDDL or -# only the GPL Version 2, indicate your decision by adding "[Contributor] -# elects to include this software in this distribution under the [CDDL or GPL -# Version 2] license." If you don't indicate a single choice of license, a -# recipient has the option to distribute your version of this file under -# either the CDDL, the GPL Version 2 or to extend the choice of license to -# its licensees as provided above. However, if you add GPL Version 2 code -# and therefore, elected the GPL Version 2 license, then the option applies -# only if the new code is made subject to such option by the copyright -# holder. -# - - -missing_jinterop=\uC6D0\uACA9 \uC624\uB958: j-interop \uBC0F Jcifs \uB77C\uC774\uBE0C\uB7EC\uB9AC\uB97C \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uC6D0\uC2DC Windows \uAD6C\uC131 \uC694\uC18C\uB97C \uC0AC\uC6A9\uD558\uB824\uBA74 j-interop-repackaged.jar JAR \uD30C\uC77C\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. \uC774 JAR \uD30C\uC77C\uC740 \uBAA8\uB4E0 GlassFish Server \uBC30\uD3EC\uC5D0\uC11C \uC0AC\uC6A9 \uAC00\uB2A5\uD569\uB2C8\uB2E4. \uC774 JAR \uD30C\uC77C\uC758 \uB77C\uC774\uBE0C\uB7EC\uB9AC\uB294 GNU LGPL(Lesser General Public License) \uD558\uC5D0 \uB9B4\uB9AC\uC2A4\uB418\uC5C8\uC2B5\uB2C8\uB2E4. diff --git a/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_pt_BR.properties b/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_pt_BR.properties deleted file mode 100644 index b2f7b286c91..00000000000 --- a/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_pt_BR.properties +++ /dev/null @@ -1,42 +0,0 @@ -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -# -# Copyright (c) 2012-2013 Oracle and/or its affiliates. All rights reserved. -# -# The contents of this file are subject to the terms of either the GNU -# General Public License Version 2 only ("GPL") or the Common Development -# and Distribution License("CDDL") (collectively, the "License"). You -# may not use this file except in compliance with the License. You can -# obtain a copy of the License at -# https://github.com/payara/Payara/blob/main/LICENSE.txt -# See the License for the specific -# language governing permissions and limitations under the License. -# -# When distributing the software, include this License Header Notice in each -# file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -# -# GPL Classpath Exception: -# Oracle designates this particular file as subject to the "Classpath" -# exception as provided by Oracle in the GPL Version 2 section of the License -# file that accompanied this code. -# -# Modifications: -# If applicable, add the following below the License Header, with the fields -# enclosed by brackets [] replaced by your own identifying information: -# "Portions Copyright [year] [name of copyright owner]" -# -# Contributor(s): -# If you wish your version of this file to be governed by only the CDDL or -# only the GPL Version 2, indicate your decision by adding "[Contributor] -# elects to include this software in this distribution under the [CDDL or GPL -# Version 2] license." If you don't indicate a single choice of license, a -# recipient has the option to distribute your version of this file under -# either the CDDL, the GPL Version 2 or to extend the choice of license to -# its licensees as provided above. However, if you add GPL Version 2 code -# and therefore, elected the GPL Version 2 license, then the option applies -# only if the new code is made subject to such option by the copyright -# holder. -# - - -missing_jinterop=falha remota: As bibliotecas j-interop e Jcifs n\u00E3o est\u00E3o dispon\u00EDveis. Para usar componentes nativos do Windows, o arquivo j-interop-repackaged.jar JAR \u00E9 obrigat\u00F3rio: Este arquivo JAR est\u00E1 dispon\u00EDvel em todas as distribui\u00E7\u00F5es do GlassFish Server. As bibliotecas neste arquivo JAR s\u00E3o liberadas sobre a LGPL (GNU Lesser General Public License). diff --git a/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_zh_CN.properties b/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_zh_CN.properties deleted file mode 100644 index c1a48423428..00000000000 --- a/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_zh_CN.properties +++ /dev/null @@ -1,42 +0,0 @@ -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -# -# Copyright (c) 2012-2013 Oracle and/or its affiliates. All rights reserved. -# -# The contents of this file are subject to the terms of either the GNU -# General Public License Version 2 only ("GPL") or the Common Development -# and Distribution License("CDDL") (collectively, the "License"). You -# may not use this file except in compliance with the License. You can -# obtain a copy of the License at -# https://github.com/payara/Payara/blob/main/LICENSE.txt -# See the License for the specific -# language governing permissions and limitations under the License. -# -# When distributing the software, include this License Header Notice in each -# file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -# -# GPL Classpath Exception: -# Oracle designates this particular file as subject to the "Classpath" -# exception as provided by Oracle in the GPL Version 2 section of the License -# file that accompanied this code. -# -# Modifications: -# If applicable, add the following below the License Header, with the fields -# enclosed by brackets [] replaced by your own identifying information: -# "Portions Copyright [year] [name of copyright owner]" -# -# Contributor(s): -# If you wish your version of this file to be governed by only the CDDL or -# only the GPL Version 2, indicate your decision by adding "[Contributor] -# elects to include this software in this distribution under the [CDDL or GPL -# Version 2] license." If you don't indicate a single choice of license, a -# recipient has the option to distribute your version of this file under -# either the CDDL, the GPL Version 2 or to extend the choice of license to -# its licensees as provided above. However, if you add GPL Version 2 code -# and therefore, elected the GPL Version 2 license, then the option applies -# only if the new code is made subject to such option by the copyright -# holder. -# - - -missing_jinterop=\u8FDC\u7A0B\u6545\u969C: j-interop \u548C Jcifs \u5E93\u4E0D\u53EF\u7528\u3002\u8981\u4F7F\u7528\u672C\u673A Windows \u7EC4\u4EF6, \u9700\u8981 j-interop-repackaged.jar JAR \u6587\u4EF6: \u6B64 JAR \u6587\u4EF6\u5728\u6240\u6709 GlassFish Server \u5206\u53D1\u4E2D\u90FD\u53EF\u7528\u3002\u5728 GNU Lesser General Public License (LGPL) \u4E0B\u53D1\u5E03\u6B64 JAR \u6587\u4EF6\u4E2D\u7684\u5E93\u3002 diff --git a/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_zh_TW.properties b/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_zh_TW.properties deleted file mode 100644 index 78390487b5d..00000000000 --- a/nucleus/cluster/common-l10n/src/main/resources/com/sun/enterprise/util/cluster/windows/LocalStrings_zh_TW.properties +++ /dev/null @@ -1,42 +0,0 @@ -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -# -# Copyright (c) 2012-2013 Oracle and/or its affiliates. All rights reserved. -# -# The contents of this file are subject to the terms of either the GNU -# General Public License Version 2 only ("GPL") or the Common Development -# and Distribution License("CDDL") (collectively, the "License"). You -# may not use this file except in compliance with the License. You can -# obtain a copy of the License at -# https://github.com/payara/Payara/blob/main/LICENSE.txt -# See the License for the specific -# language governing permissions and limitations under the License. -# -# When distributing the software, include this License Header Notice in each -# file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -# -# GPL Classpath Exception: -# Oracle designates this particular file as subject to the "Classpath" -# exception as provided by Oracle in the GPL Version 2 section of the License -# file that accompanied this code. -# -# Modifications: -# If applicable, add the following below the License Header, with the fields -# enclosed by brackets [] replaced by your own identifying information: -# "Portions Copyright [year] [name of copyright owner]" -# -# Contributor(s): -# If you wish your version of this file to be governed by only the CDDL or -# only the GPL Version 2, indicate your decision by adding "[Contributor] -# elects to include this software in this distribution under the [CDDL or GPL -# Version 2] license." If you don't indicate a single choice of license, a -# recipient has the option to distribute your version of this file under -# either the CDDL, the GPL Version 2 or to extend the choice of license to -# its licensees as provided above. However, if you add GPL Version 2 code -# and therefore, elected the GPL Version 2 license, then the option applies -# only if the new code is made subject to such option by the copyright -# holder. -# - - -missing_jinterop=\u9060\u7AEF\u932F\u8AA4\uFF1A\u7121\u6CD5\u4F7F\u7528 j-interop \u8207 Jcifs \u7A0B\u5F0F\u5EAB\u3002\u82E5\u8981\u4F7F\u7528\u539F\u751F Windows \u5143\u4EF6\uFF0C\u9700\u6709 j-interop-repackaged.jar JAR \u6A94\u6848\uFF1A\u6240\u6709 GlassFish Server \u767C\u884C\u7248\u672C\u90FD\u6703\u63D0\u4F9B\u6B64 JAR \u6A94\u6848\u3002\u6B64 JAR \u6A94\u6848\u4E2D\u7684\u7A0B\u5F0F\u5EAB\u4F9D\u64DA\u300CGNU \u8F03\u5BEC\u9B06\u901A\u7528\u516C\u5171\u6388\u6B0A (GNU Lesser General Public License\uFF0CLGPL)\u300D\u767C\u884C\u3002 diff --git a/nucleus/cluster/common/osgi.bundle b/nucleus/cluster/common/osgi.bundle index adc767b005e..2cb79d6afba 100644 --- a/nucleus/cluster/common/osgi.bundle +++ b/nucleus/cluster/common/osgi.bundle @@ -37,14 +37,10 @@ # only if the new code is made subject to such option by the copyright # holder. # -# Portions Copyright [2019] [Payara Foundation and/or its affiliates] +# Portions Copyright 2019-2026 Payara Foundation and/or its affiliates Import-Package: \ jcifs.smb;\ -org.jinterop.dcom.common;\ -org.jinterop.dcom.core;\ -org.jinterop.dcom.impls;\ -org.jinterop.dcom.impls.automation;\ password="GlassFish"; resolution:="optional",\ * diff --git a/nucleus/cluster/common/pom.xml b/nucleus/cluster/common/pom.xml index dc5ca5c09ec..2c69607e4d9 100644 --- a/nucleus/cluster/common/pom.xml +++ b/nucleus/cluster/common/pom.xml @@ -98,11 +98,6 @@ admin-util ${project.version} - - fish.payara.server.internal.packager - j-interop-repackaged - ${project.version} - diff --git a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/RemoteType.java b/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/RemoteType.java index 683474d3290..7e4b04da092 100644 --- a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/RemoteType.java +++ b/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/RemoteType.java @@ -38,7 +38,7 @@ * holder. */ -// Portions Copyright [2020] [Payara Foundation and/or its affiliates] +// Portions Copyright [2020-2026] [Payara Foundation and/or its affiliates] package com.sun.enterprise.util.cluster; @@ -48,5 +48,5 @@ * @author Byron Nevins */ public enum RemoteType { - SSH, DCOM, CONFIG, DOCKER + SSH, CONFIG, DOCKER } diff --git a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/LocalStrings.properties b/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/LocalStrings.properties deleted file mode 100644 index 563952d9b8c..00000000000 --- a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/LocalStrings.properties +++ /dev/null @@ -1,44 +0,0 @@ -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -# -# Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. -# -# The contents of this file are subject to the terms of either the GNU -# General Public License Version 2 only ("GPL") or the Common Development -# and Distribution License("CDDL") (collectively, the "License"). You -# may not use this file except in compliance with the License. You can -# obtain a copy of the License at -# https://github.com/payara/Payara/blob/main/LICENSE.txt -# See the License for the specific -# language governing permissions and limitations under the License. -# -# When distributing the software, include this License Header Notice in each -# file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -# -# GPL Classpath Exception: -# Oracle designates this particular file as subject to the "Classpath" -# exception as provided by Oracle in the GPL Version 2 section of the License -# file that accompanied this code. -# -# Modifications: -# If applicable, add the following below the License Header, with the fields -# enclosed by brackets [] replaced by your own identifying information: -# "Portions Copyright [year] [name of copyright owner]" -# -# Contributor(s): -# If you wish your version of this file to be governed by only the CDDL or -# only the GPL Version 2, indicate your decision by adding "[Contributor] -# elects to include this software in this distribution under the [CDDL or GPL -# Version 2] license." If you don't indicate a single choice of license, a -# recipient has the option to distribute your version of this file under -# either the CDDL, the GPL Version 2 or to extend the choice of license to -# its licensees as provided above. However, if you add GPL Version 2 code -# and therefore, elected the GPL Version 2 license, then the option applies -# only if the new code is made subject to such option by the copyright -# holder. -# - -missing_jinterop=remote failure: The j-interop and Jcifs libraries are not available. \ -To use native Windows components, the j-interop-repackaged.jar JAR file is required: \ -This JAR file is available in all GlassFish Server distributions. The libraries in this \ -JAR file are released under the GNU Lesser General Public License (LGPL). diff --git a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/SharedStrings.java b/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/SharedStrings.java deleted file mode 100644 index 6f90c4522c9..00000000000 --- a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/SharedStrings.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ - -package com.sun.enterprise.util.cluster.windows; - -import com.sun.enterprise.universal.i18n.LocalStringsImpl; - -/** - * This is like the omnipresent Strings class. The only difference is that the - * accessors are now public so that consumers in sub-packages can call in here for - * SharedStrings shared across those packages. - * March 10, 2012 - * @author Byron Nevins - */ - -final public class SharedStrings { - private SharedStrings() { - // no instances allowed! - } - - final public static String get(String indexString) { - return strings.get(indexString); - } - - final public static String get(String indexString, Object... objects) { - return strings.get(indexString, objects); - } - - final private static LocalStringsImpl strings = new LocalStringsImpl(SharedStrings.class); -} diff --git a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/io/LocalStrings.properties b/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/io/LocalStrings.properties deleted file mode 100644 index c2e399acd03..00000000000 --- a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/io/LocalStrings.properties +++ /dev/null @@ -1,41 +0,0 @@ -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -# -# Copyright (c) 2010-2012 Oracle and/or its affiliates. All rights reserved. -# -# The contents of this file are subject to the terms of either the GNU -# General Public License Version 2 only ("GPL") or the Common Development -# and Distribution License("CDDL") (collectively, the "License"). You -# may not use this file except in compliance with the License. You can -# obtain a copy of the License at -# https://github.com/payara/Payara/blob/main/LICENSE.txt -# See the License for the specific -# language governing permissions and limitations under the License. -# -# When distributing the software, include this License Header Notice in each -# file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -# -# GPL Classpath Exception: -# Oracle designates this particular file as subject to the "Classpath" -# exception as provided by Oracle in the GPL Version 2 section of the License -# file that accompanied this code. -# -# Modifications: -# If applicable, add the following below the License Header, with the fields -# enclosed by brackets [] replaced by your own identifying information: -# "Portions Copyright [year] [name of copyright owner]" -# -# Contributor(s): -# If you wish your version of this file to be governed by only the CDDL or -# only the GPL Version 2, indicate your decision by adding "[Contributor] -# elects to include this software in this distribution under the [CDDL or GPL -# Version 2] license." If you don't indicate a single choice of license, a -# recipient has the option to distribute your version of this file under -# either the CDDL, the GPL Version 2 or to extend the choice of license to -# its licensees as provided above. However, if you add GPL Version 2 code -# and therefore, elected the GPL Version 2 license, then the option applies -# only if the new code is made subject to such option by the copyright -# holder. -# - -dir.already.exists=Can not create directory - it already exists: {0} diff --git a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/io/RemoteFileCopyProgress.java b/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/io/RemoteFileCopyProgress.java deleted file mode 100644 index 0a5bd44ef9c..00000000000 --- a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/io/RemoteFileCopyProgress.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2011-2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ - -package com.sun.enterprise.util.cluster.windows.io; - - -/** - * - * @author Byron Nevins - */ -public interface RemoteFileCopyProgress { - void callback(long numcopied, long numtotal); - public int getChunkSize(); -} diff --git a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/io/Strings.java b/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/io/Strings.java deleted file mode 100644 index 4c827f80376..00000000000 --- a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/io/Strings.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2010-2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ - -package com.sun.enterprise.util.cluster.windows.io; - -import com.sun.enterprise.universal.i18n.LocalStringsImpl; - -/** - * Strings -- Get your Strings here. - * One file with Strings - * So one class for messing with them! - * Nothing in here is public protected. Only for use by this one java package. - * @author Byron Nevins - */ - -final class Strings { - private Strings() { - // no instances allowed! - } - - final static String get(String indexString) { - return strings.get(indexString); - } - - final static String get(String indexString, Object... objects) { - return strings.get(indexString, objects); - } - - final private static LocalStringsImpl strings = new LocalStringsImpl(Strings.class); -} diff --git a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/io/WindowsRemoteFile.java b/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/io/WindowsRemoteFile.java deleted file mode 100644 index ad56abdbfa4..00000000000 --- a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/io/WindowsRemoteFile.java +++ /dev/null @@ -1,405 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -package com.sun.enterprise.util.cluster.windows.io; - -import com.sun.enterprise.util.cluster.windows.process.WindowsCredentials; -import com.sun.enterprise.util.cluster.windows.process.WindowsException; -import java.io.*; -import java.io.FileOutputStream; -import java.util.*; -import java.util.logging.Level; -import java.util.logging.Logger; -import jcifs.smb.SmbFile; - -/** - * @author Byron Nevins - */ -public final class WindowsRemoteFile { - private SmbFile smbFile; - private WindowsRemoteFileSystem wrfs; - private String smbPath; - - public WindowsRemoteFile(WindowsRemoteFile parent, String path) - throws WindowsException { - try { - wrfs = parent.wrfs; - smbPath = parent.smbPath + removeLeadingAndTrailingSlashes(path) + "/"; - smbFile = new SmbFile(smbPath, wrfs.getAuthorization()); - } - catch (Exception e) { - throw new WindowsException(e); - } - } - - public WindowsRemoteFile(WindowsCredentials bonafides, String path) - throws WindowsException { - this(new WindowsRemoteFileSystem(bonafides), path); - } - - public WindowsRemoteFile(WindowsRemoteFileSystem wrfs, String path) - throws WindowsException { - try { - if (wrfs == null || path == null || path.isEmpty()) - throw new NullPointerException(); - - if (path.indexOf(":") < 0) - throw new IllegalArgumentException("Non-absolute path. No colon in the path"); - - this.wrfs = wrfs; - // this.isDir = isDir; - - // replace backslashes with forward slashes - // replace drive designator(e:) with the default admin share for the drive (e$) - - path = path.replace('\\', '/').replace(':', '$'); - - StringBuilder sb = new StringBuilder("smb://"); - sb.append(wrfs.getHost()).append("/").append(path); - - if (!path.endsWith("/")) - sb.append('/'); - - smbPath = sb.toString(); - //SmbFile remoteRoot = new SmbFile("smb://" + name + "/" + path.replace('\\', '/').replace(':', '$')+"/",createSmbAuth()); - - smbFile = new SmbFile(smbPath, wrfs.getAuthorization()); - } - catch (Exception e) { - throw new WindowsException(e); - } - } - - /** - * THis returns 3 states: - * 1. FIle system can't be accessed or found - * 2. it exists - * 3. it doesn't exist - * @return - * @throws WindowsException - */ - public final boolean exists() throws WindowsException { - try { - return smbFile.exists(); - } - catch (Exception se) { - throw new WindowsException(se); - } - } - - public final String[] list() throws WindowsException { - try { - return smbFile.list(); - } - catch (Exception se) { - throw new WindowsException(se); - } - } - - public final void createNewFile() throws WindowsException { - try { - smbFile.createNewFile(); - } - catch (Exception se) { - throw new WindowsException(se); - } - } - - public final void copyTo(WindowsRemoteFile wf) throws WindowsException { - try { - smbFile.copyTo(wf.smbFile); - } - catch (Exception se) { - throw new WindowsException(se); - } - } - - /** - * Copy the remote Windows file to the given File - * - * @param f The File that will be created or overwritten with the contents of - * this Windows Remote File. - * @throws WindowsException - * @since 3.1.2 - */ - public final void copyTo(final File file) throws WindowsException { - copyTo(file, null); - } - - /** - * Copy the remote Windows file to the given File - * - * @param f The File that will be created or overwritten with the contents of - * this Windows Remote File. - * @param progress The optional callback object that gets called for each - * chunk of data that gets copied over the wire. Setting it to null is OK. - * @throws WindowsException - * @since 3.1.2 - */ - public final void copyTo(final File file, final RemoteFileCopyProgress progress) throws WindowsException { - BufferedInputStream bis = null; - BufferedOutputStream bos = null; - try { - final long filelength = smbFile.length(); - bis = new BufferedInputStream(smbFile.getInputStream()); - bos = new BufferedOutputStream(new FileOutputStream(file)); - - byte[] buf = new byte[getChunkSize(progress, filelength)]; - int numBytes = 0; - long totalBytesCopied = 0; - - while ((numBytes = bis.read(buf)) >= 0) { - bos.write(buf, 0, numBytes); - totalBytesCopied += numBytes; - - // It's OK to send in a null Progress object - if (progress != null) - progress.callback(totalBytesCopied, filelength); - } - } - catch (Exception se) { - throw new WindowsException(se); - } - finally { - if (bis != null) - try { - bis.close(); - } - catch (Exception e) { - // this is SO messy! - } - if (bos != null) - try { - bos.close(); - } - catch (Exception e) { - // this is SO messy! - } - } - } - - public final void delete() throws WindowsException { - try { - smbFile.delete(); - } - catch (Exception se) { - throw new WindowsException(se); - } - } - - public final void mkdirs() throws WindowsException { - mkdirs(false); - } - - public final void mkdirs(boolean force) throws WindowsException { - try { - if (exists()) { - if (force) - delete(); - else - throw new WindowsException(Strings.get("dir.already.exists", getPath())); - } - smbFile.mkdirs(); - } - catch (WindowsException we) { - throw we; - } - catch (Exception se) { - throw new WindowsException(se); - } - } - - /** - * Copies from sin to this WindowsRemoteFile - * @param sin the opened stream. It will automatically be closed here. - * @throws WindowsException if any errors. - */ - public final void copyFrom(final BufferedInputStream sin) throws WindowsException { - copyFrom(sin, null, -1); - } - - /** - * If desired -- make this public sometime in the future. For now there is no - * reason to clog up the public namespace with it... - */ - private final void copyFrom(final BufferedInputStream sin, - final RemoteFileCopyProgress progress, final long filelength) - throws WindowsException { - OutputStream sout = null; - - if (sin == null) - throw new NullPointerException("copyFrom stream arg is null"); - - try { - if (!exists()) - createNewFile(); - - sout = new BufferedOutputStream(smbFile.getOutputStream()); - byte[] buf = new byte[getChunkSize(progress, filelength)]; - int numBytes = 0; - long totalBytesCopied = 0; - - while ((numBytes = sin.read(buf)) >= 0) { - sout.write(buf, 0, numBytes); - totalBytesCopied += numBytes; - - // It's OK to send in a null Progress object - if (progress != null) - progress.callback(totalBytesCopied, filelength); - } - } - catch (Exception e) { - throw new WindowsException(e); - } - finally { - try { - sin.close(); - } - catch (Exception e) { - // nothing can be done! - } - try { - sout.close(); - } - catch (Exception e) { - // nothing can be done! - } - } - } - - public final void copyFrom(File from, RemoteFileCopyProgress progress) - throws WindowsException { - - try { - if (from == null || !from.isFile()) - throw new IllegalArgumentException("copyFrom file arg is bad: " + from); - - long filesize = from.length(); - BufferedInputStream sin = new BufferedInputStream(new FileInputStream(from)); - copyFrom(sin, progress, filesize); - } - catch (WindowsException e) { - throw e; - } - catch (Exception e) { - throw new WindowsException(e); - } - } - - /* - * Use this for tiny files -- like scripts that are created on-the-fly from a String - */ - public final void copyFrom(Collection from) throws WindowsException { - if (from == null || from.isEmpty()) - throw new IllegalArgumentException("copyFrom String-array arg is empty"); - - StringBuilder sb = new StringBuilder(); - - for (String s : from) { - // since we will write with a writer -- the \n will get translated correctly - sb.append(s).append('\n'); - } - copyFrom(sb.toString()); - } - /* - * Use this for tiny files -- like scripts that are created on-the-fly from a String - */ - - public final void copyFrom(String from) throws WindowsException { - try { - if (from == null || from.isEmpty()) - throw new IllegalArgumentException("copyFrom String arg is empty"); - - if (!exists()) - createNewFile(); - - PrintWriter pw = new PrintWriter(new BufferedOutputStream(smbFile.getOutputStream())); - pw.print(from); - - try { - pw.close(); - } - catch (Exception e) { - // nothing can be done! - } - } - catch (Exception e) { - throw new WindowsException(e); - } - } - - public final void setLastModified(long when) throws WindowsException { - // time is the usual -- msec from 1/1/1970 - // Shows you just how huge a long is. THe number of milliseconds from (probably) - // before you were born fits easily into a long! - try { - smbFile.setLastModified(when); - } - catch (Exception se) { - throw new WindowsException(se); - } - - } - // note that the path is ALWAYS appended with one and only one slash!! - // THis is important for smb calls... - - public final String getPath() { - return smbPath; - } - - private String removeLeadingAndTrailingSlashes(String path) { - while (path.startsWith("/") || path.startsWith("\\")) - path = path.substring(1); - - while (path.endsWith("/") || path.endsWith("\\")) - path = path.substring(0, path.length() - 1); - - return path; - } - - private int getChunkSize(RemoteFileCopyProgress progress, long filelength) { - int chunksize = progress == null ? 1048576 : progress.getChunkSize(); - - // be careful! filelength is a long!!! - if(filelength < Integer.MAX_VALUE && chunksize > (int)filelength && filelength > 0) - return (int)filelength; - - return chunksize; - } -} diff --git a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/io/WindowsRemoteFileSystem.java b/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/io/WindowsRemoteFileSystem.java deleted file mode 100644 index 1eaa6e2267b..00000000000 --- a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/io/WindowsRemoteFileSystem.java +++ /dev/null @@ -1,123 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2011-2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -package com.sun.enterprise.util.cluster.windows.io; - -import com.sun.enterprise.util.cluster.windows.SharedStrings; -import com.sun.enterprise.util.cluster.windows.process.WindowsCredentials; -import com.sun.enterprise.util.cluster.windows.process.WindowsException; -import java.net.*; -import jcifs.smb.NtlmPasswordAuthentication; - -/** - * Wrap the implementation details for the way we get access to remote - * Windows files. - * Note: null args == NPE - * @author Byron Nevins - */ -public class WindowsRemoteFileSystem { - private final String host; - private final NtlmPasswordAuthentication authorization; - - public WindowsRemoteFileSystem(WindowsCredentials cr) throws WindowsException { - // if host and domain are the same we can use the IP address of the host - // otherwise use the domain name. - boolean useDomain; - String hostName = cr.getHost(); - String domain = cr.getDomain(); - - if (!domain.equals(hostName)) - useDomain = true; - else - useDomain = false; - - host = getIP(hostName); - - try { - if (useDomain) - authorization = new NtlmPasswordAuthentication(domain, cr.getUser(), cr.getPassword()); - else - authorization = new NtlmPasswordAuthentication(host, cr.getUser(), cr.getPassword()); - } - catch (NoClassDefFoundError err) { - throw new WindowsException(SharedStrings.get("missing_jinterop")); - } - } - - public WindowsRemoteFileSystem(String hostname, NtlmPasswordAuthentication auth) throws WindowsException { - host = getIP(hostname); - authorization = auth; - - if (auth == null) - throw new WindowsException(SharedStrings.get("missing_jinterop")); - } - - public WindowsRemoteFileSystem(String hostname, String username, String password) throws WindowsException { - host = getIP(hostname); - try { - authorization = new NtlmPasswordAuthentication(host, username, password); - } - catch (NoClassDefFoundError err) { - throw new WindowsException(SharedStrings.get("missing_jinterop")); - } - } - - /** - * @return the host - */ - public String getHost() { - return host; - } - - /** - * @return the authorization - */ - public NtlmPasswordAuthentication getAuthorization() { - return authorization; - } - - private String getIP(String hostname) { - try { - return InetAddress.getByName(hostname).getHostAddress(); - } - catch (Exception e) { - return hostname; - } - } -} diff --git a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/LocalStrings.properties b/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/LocalStrings.properties deleted file mode 100644 index 664b4c22eeb..00000000000 --- a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/LocalStrings.properties +++ /dev/null @@ -1,42 +0,0 @@ -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -# -# Copyright (c) 2010-2012 Oracle and/or its affiliates. All rights reserved. -# -# The contents of this file are subject to the terms of either the GNU -# General Public License Version 2 only ("GPL") or the Common Development -# and Distribution License("CDDL") (collectively, the "License"). You -# may not use this file except in compliance with the License. You can -# obtain a copy of the License at -# https://github.com/payara/Payara/blob/main/LICENSE.txt -# See the License for the specific -# language governing permissions and limitations under the License. -# -# When distributing the software, include this License Header Notice in each -# file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -# -# GPL Classpath Exception: -# Oracle designates this particular file as subject to the "Classpath" -# exception as provided by Oracle in the GPL Version 2 section of the License -# file that accompanied this code. -# -# Modifications: -# If applicable, add the following below the License Header, with the fields -# enclosed by brackets [] replaced by your own identifying information: -# "Portions Copyright [year] [name of copyright owner]" -# -# Contributor(s): -# If you wish your version of this file to be governed by only the CDDL or -# only the GPL Version 2, indicate your decision by adding "[Contributor] -# elects to include this software in this distribution under the [CDDL or GPL -# Version 2] license." If you don't indicate a single choice of license, a -# recipient has the option to distribute your version of this file under -# either the CDDL, the GPL Version 2 or to extend the choice of license to -# its licensees as provided above. However, if you add GPL Version 2 code -# and therefore, elected the GPL Version 2 license, then the option applies -# only if the new code is made subject to such option by the copyright -# holder. -# - -WMI.init.error=Error setting up remote connection to WMI - diff --git a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/Strings.java b/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/Strings.java deleted file mode 100644 index b10daf2806d..00000000000 --- a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/Strings.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2010-2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ - -package com.sun.enterprise.util.cluster.windows.process; - -import com.sun.enterprise.universal.i18n.LocalStringsImpl; - -/** - * Strings -- Get your Strings here. - * One file with Strings - * So one class for messing with them! - * Nothing in here is public protected. Only for use by this one java package. - * @author Byron Nevins - */ - -final class Strings { - private Strings() { - // no instances allowed! - } - - final static String get(String indexString) { - return strings.get(indexString); - } - - final static String get(String indexString, Object... objects) { - return strings.get(indexString, objects); - } - - final private static LocalStringsImpl strings = new LocalStringsImpl(Strings.class); -} diff --git a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/WindowsCredentials.java b/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/WindowsCredentials.java deleted file mode 100644 index 5eddf459401..00000000000 --- a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/WindowsCredentials.java +++ /dev/null @@ -1,87 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2011-2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ - -package com.sun.enterprise.util.cluster.windows.process; - -import static com.sun.enterprise.util.StringUtils.ok; - -/** - * A simple C-struct style class for organizing auth info for Windows - * @author Byron Nevins - */ -public class WindowsCredentials { - private final String host; - private final String domain; - private final String user; - private final String password; - - /** - * - * @param host - IP address ("1.2.3.4" format) or name of the remote machine - * @param domain - domain that user is in -- if no Windows Domain - use hostname - * @param user - username - * @param password - password - */ - public WindowsCredentials(String host, String domain, String user, String password) { - this.host = host; - this.domain = domain; - this.user = user; - this.password = password; - - if(!ok(host) || !ok(domain) || !ok(user) || !ok(password)) - throw new IllegalArgumentException("Bad argument."); - } - - public final String getHost() { - return host; - } - - public final String getDomain() { - return domain; - } - - public final String getUser() { - return user; - } - - public final String getPassword() { - return password; - } -} diff --git a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/WindowsException.java b/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/WindowsException.java deleted file mode 100644 index 616ceb33f59..00000000000 --- a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/WindowsException.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2011-2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ - -/* - * ProcessStreamDrainer.java - * - * Created on October 26, 2006, 9:56 PM - * - */ - -package com.sun.enterprise.util.cluster.windows.process; - - -/** - * Simple checked exception class for Windows errors. We do NOT want - * to throw j-interop exception classes out of this module. - * The class is just a type -- it does not add any behavior - * @author Byron Nevins - */ -public class WindowsException extends Exception { - - // do NOT use the base-class ctor that uses Throwable - // we don't want j-interop exceptions leaking out. - public WindowsException(String message) { - super(message); - } - public WindowsException(Throwable t) { - super(t.getMessage()); - } -} - diff --git a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/WindowsRemoteAsadmin.java b/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/WindowsRemoteAsadmin.java deleted file mode 100644 index 5ebca0f7f76..00000000000 --- a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/WindowsRemoteAsadmin.java +++ /dev/null @@ -1,104 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2011-2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -package com.sun.enterprise.util.cluster.windows.process; - -import com.sun.enterprise.util.StringUtils; -import java.util.*; -import java.util.logging.Level; -import org.jinterop.dcom.common.JISystem; -import org.jinterop.dcom.core.IJIComObject; -import org.jinterop.dcom.core.JIComServer; -import org.jinterop.dcom.core.JIProgId; -import org.jinterop.dcom.core.JISession; -import org.jinterop.dcom.core.JIString; -import org.jinterop.dcom.core.JIVariant; -import org.jinterop.dcom.impls.JIObjectFactory; -import org.jinterop.dcom.impls.automation.IJIDispatch; - -/** - * Wrapper for calling asadmin -- since it is done all the time, this convenience class - * was created - * @author Byron Nevins - */ -public class WindowsRemoteAsadmin extends WindowsRemoteScripter { - private final String asadminRemotePath; - - public WindowsRemoteAsadmin(String remoteInstallRoot, WindowsCredentials bonafides) { - super(bonafides); - remoteInstallRoot = remoteInstallRoot.replace('/', '\\'); - - if (!remoteInstallRoot.endsWith("\\")) - remoteInstallRoot += "\\"; - - asadminRemotePath = StringUtils.quotePathIfNecessary(remoteInstallRoot + "lib\\nadmin.bat"); - } - - /** - * Run a remote asadmin script command - * @param cmdArgs e.g. "start-local-instance", "i1" - * @return the stdout from the asadmin command - * - */ - public String run(Collection cmdArgs) throws WindowsException { - StringBuilder sb = new StringBuilder(asadminRemotePath); - sb.append(' '); - - for (String s : cmdArgs) { - sb.append(s).append(' '); - } - - return super.run(sb.toString()); - } - - /** - * Run a remote asadmin script command - * @param cmd e.g. "start-local-instance i1" - * @return the stdout from the asadmin command - * - */ - @Override - public final String run(String cmd) throws WindowsException { - StringBuilder sb = new StringBuilder(asadminRemotePath); - sb.append(' '); - sb.append(cmd); - - return super.run(sb.toString()); - } -} diff --git a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/WindowsRemotePinger.java b/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/WindowsRemotePinger.java deleted file mode 100644 index 4bd5f40d39f..00000000000 --- a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/WindowsRemotePinger.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2011-2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -package com.sun.enterprise.util.cluster.windows.process; - -import java.util.logging.Level; -import org.jinterop.dcom.common.JISystem; -import org.jinterop.dcom.core.IJIComObject; -import org.jinterop.dcom.core.JIComServer; -import org.jinterop.dcom.core.JIProgId; -import org.jinterop.dcom.core.JISession; -import org.jinterop.dcom.core.JIString; -import org.jinterop.dcom.core.JIVariant; -import org.jinterop.dcom.impls.JIObjectFactory; -import org.jinterop.dcom.impls.automation.IJIDispatch; - -/** - * See if remote is alive. Simply run "asadmin version" and look for the string - * "GlassFish" in the output. That can't possibly happen unless everything is - * setup OK. - - * @author Byron Nevins - */ -public class WindowsRemotePinger { - - private WindowsRemotePinger() { - // all static class. No instances allowed. - } - - public static boolean ping(String remoteInstallRoot, WindowsCredentials bonafides) throws WindowsException { - WindowsRemoteAsadmin rasadmin = new WindowsRemoteAsadmin(remoteInstallRoot, bonafides); - String out = rasadmin.run("version"); - return out.indexOf("GlassFish") >= 0; - } -} diff --git a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/WindowsRemoteScripter.java b/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/WindowsRemoteScripter.java deleted file mode 100644 index 9395e7bf604..00000000000 --- a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/WindowsRemoteScripter.java +++ /dev/null @@ -1,148 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2011-2013 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -package com.sun.enterprise.util.cluster.windows.process; - -import com.sun.enterprise.util.cluster.windows.SharedStrings; -import java.util.Collection; -import java.util.logging.Level; -import org.jinterop.dcom.common.JISystem; -import org.jinterop.dcom.core.*; -import org.jinterop.dcom.impls.JIObjectFactory; -import org.jinterop.dcom.impls.automation.IJIDispatch; - -/** - * Call a script on a remote Windows system - * @author bnevins - */ -public class WindowsRemoteScripter { - private final WindowsCredentials bonafides; - private String outputStream = "StdOut"; - - public WindowsRemoteScripter(WindowsCredentials bonafides) { - this.bonafides = bonafides; - } - - /* - * You get your choice of stderr OR stdout. Getting both is hairy and too - * difficult. - * The default is stdout - */ - public final void wantStdErr() { - outputStream = "StdErr"; - } - - /** - * Run a remote script command. - * Convenience method which creates one big String from the substrings - * @param cmd e.g. "C:/glassfish4/bin/asadmin" "start-local-instance" "i1" - * @return The stdout of the command - */ - public String run(Collection cmdArgs) throws WindowsException { - if (cmdArgs == null || cmdArgs.isEmpty()) - throw new IllegalArgumentException("Internal Error: No args to run"); - - StringBuilder sb = new StringBuilder(); - - for (String s: cmdArgs) { - sb.append(s).append(' '); - } - - return run(sb.toString()); - } - - /** - * Run a remote script command - * @param cmd e.g. "C:/glassfish4/bin/asadmin start-local-instance i1" - * @return The stdout of the command - */ - public String run(String cmd) throws WindowsException { - if (cmd == null || cmd.isEmpty()) - throw new IllegalArgumentException("Internal Error: No args to run"); - - try { - // JISystem is **extremely** verbose! - JISystem.getLogger().setLevel(Level.SEVERE); - - // Create a session - JISession session = JISession.createSession(bonafides.getDomain(), - bonafides.getUser(), bonafides.getPassword()); - session.useSessionSecurity(true); - - // Execute command - JIComServer comStub = new JIComServer(JIProgId.valueOf("WScript.Shell"), - bonafides.getHost(), session); - IJIComObject unknown = comStub.createInstance(); - IJIComObject comobject = unknown.queryInterface(IJIDispatch.IID); - IJIDispatch shell = (IJIDispatch) JIObjectFactory.narrowObject(comobject); - - Object[] scriptArgs = new Object[]{ - new JIString("%comspec% /c " + cmd) - }; - - // ref: http://stackoverflow.com/questions/6781340/how-to-call-a-remote-bat-file-using-jinterop - - JIVariant results[] = shell.callMethodA("Exec", scriptArgs); - final IJIDispatch wbemObjectSet_dispatch = - (IJIDispatch) JIObjectFactory.narrowObject((results[0]).getObjectAsComObject()); - - JIVariant stdOutJIVariant = wbemObjectSet_dispatch.get(outputStream); - - IJIDispatch stdOut = - (IJIDispatch) JIObjectFactory.narrowObject(stdOutJIVariant.getObjectAsComObject()); - - // Read all from stdOut - StringBuilder sb = new StringBuilder(); - - while (!((JIVariant) stdOut.get("AtEndOfStream")).getObjectAsBoolean()) { - sb.append(stdOut.callMethodA("ReadAll").getObjectAsString().getString()); - } - - return sb.toString(); - } - catch (NoClassDefFoundError err) { - throw new WindowsException(SharedStrings.get("missing_jinterop")); - } - catch (Exception e) { - // do NOT allow j-interop exceptions to leak - // out of the module. - throw new WindowsException(e.toString()); - } - } -} diff --git a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/WindowsWmi.java b/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/WindowsWmi.java deleted file mode 100644 index 0cf6a07cb45..00000000000 --- a/nucleus/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/WindowsWmi.java +++ /dev/null @@ -1,193 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2011-2013 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -package com.sun.enterprise.util.cluster.windows.process; - -import com.sun.enterprise.util.cluster.windows.SharedStrings; -import java.io.IOException; -import java.net.UnknownHostException; -import java.util.*; -import java.util.logging.Level; -import java.util.logging.Logger; -import org.jinterop.dcom.common.IJIUnreferenced; -import org.jinterop.dcom.common.JIException; -import org.jinterop.dcom.common.JISystem; -import org.jinterop.dcom.core.IJIComObject; -import org.jinterop.dcom.core.JIArray; -import org.jinterop.dcom.core.JICallBuilder; -import org.jinterop.dcom.core.JIComServer; -import org.jinterop.dcom.core.JIFlags; -import org.jinterop.dcom.core.JIProgId; -import org.jinterop.dcom.core.JISession; -import org.jinterop.dcom.core.JIString; -import org.jinterop.dcom.core.JIVariant; -import org.jinterop.dcom.impls.JIObjectFactory; -import org.jinterop.dcom.impls.automation.IJIDispatch; -import org.jinterop.dcom.impls.automation.IJIEnumVariant; - -/** - * Windows Management Interface - * Tests if it's possible to connect to WMI - * @author bnevins - */ -public class WindowsWmi { - private IJIDispatch dispatch; - private JIComServer comStub; - private IJIComObject unknown; - private JISession session; - private IJIComObject comObject; - private Object[] crazyLongMicrosoftArgs; - private JIVariant variant; - private int count = -1; - private String processInfo[]; - - public WindowsWmi(WindowsCredentials bonafides) throws WindowsException { - try { - JISystem.getLogger().setLevel(Level.INFO); - JISystem.setInBuiltLogHandler(false); - JISystem.setAutoRegisteration(true); - - crazyLongMicrosoftArgs = new Object[]{ - new JIString(bonafides.getHost()), - JIVariant.OPTIONAL_PARAM(), - JIVariant.OPTIONAL_PARAM(), - JIVariant.OPTIONAL_PARAM(), - JIVariant.OPTIONAL_PARAM(), - JIVariant.OPTIONAL_PARAM(), - Integer.valueOf(0), - JIVariant.OPTIONAL_PARAM()}; - - session = JISession.createSession(bonafides.getDomain(), - bonafides.getUser(), bonafides.getPassword()); - session.useSessionSecurity(true); - session.setGlobalSocketTimeout(5000); - comStub = new JIComServer(JIProgId.valueOf("WbemScripting.SWbemLocator"), - bonafides.getHost(), session); - - unknown = comStub.createInstance(); - - //ISWbemLocator - comObject = (IJIComObject) unknown.queryInterface("76A6415B-CB41-11d1-8B02-00600806D9B6"); - //This will obtain the dispatch interface - dispatch = (IJIDispatch) JIObjectFactory.narrowObject(comObject.queryInterface(IJIDispatch.IID)); - setCount(); - setInfo(); - killme(); - } - catch (NoClassDefFoundError err) { - throw new WindowsException(SharedStrings.get("missing_jinterop")); - } - catch (Exception e) { - dispatch = null; - count = -1; - } - - if (!initialized()) - throw new WindowsException(Strings.get("WMI.init.error")); - } - - public final int getCount() throws WindowsException { - return count; - } - - public final String[] getInfo() throws WindowsException { - return processInfo; - } - - private void setCount() throws WindowsException { - try { - JIVariant[] results = dispatch.callMethodA("ConnectServer", crazyLongMicrosoftArgs); - IJIDispatch wbemServices_dispatch = (IJIDispatch) JIObjectFactory.narrowObject((results[0]).getObjectAsComObject()); - JIVariant[] results2 = wbemServices_dispatch.callMethodA("InstancesOf", new Object[]{new JIString("Win32_Process"), Integer.valueOf(0), JIVariant.OPTIONAL_PARAM()}); - IJIDispatch wbemObjectSet_dispatch = (IJIDispatch) JIObjectFactory.narrowObject((results2[0]).getObjectAsComObject()); - variant = wbemObjectSet_dispatch.get("_NewEnum"); - JIVariant Count = wbemObjectSet_dispatch.get("Count"); - count = Count.getObjectAsInt(); - } - catch (Exception e) { - throw new WindowsException(e); - } - } - - /** - * not strictly necessary but it was so difficult to write the code that I can't - * bear to throw it away! - * @throws WindowsException - */ - private void setInfo() throws WindowsException { - try { - processInfo = new String[count]; - IJIComObject comObj = variant.getObjectAsComObject(); - - // todo is this needed? - comObj.registerUnreferencedHandler(new IJIUnreferenced() { - public void unReferenced() { - } - }); - - IJIEnumVariant enumVARIANT = - (IJIEnumVariant) JIObjectFactory.narrowObject(comObj.queryInterface(IJIEnumVariant.IID)); - - for (int i = 0; i < count; i++) { - Object[] values = enumVARIANT.next(1); - JIArray array = (JIArray) values[0]; - Object[] arrayObj = (Object[]) array.getArrayInstance(); - for (int j = 0; j < arrayObj.length; j++) { - IJIDispatch wbemObject_dispatch = (IJIDispatch) JIObjectFactory.narrowObject(((JIVariant) arrayObj[j]).getObjectAsComObject()); - JIVariant variant2 = (JIVariant) (wbemObject_dispatch.callMethodA("GetObjectText_", new Object[]{Integer.valueOf(1)}))[0]; - - // normally arrayObj.length is 1 - if (j == 0) - processInfo[i] = variant2.getObjectAsString().getString(); - } - } - } - catch (Exception e) { - throw new WindowsException(e); - } - } - - private void killme() throws JIException { - JISession.destroySession(session); - } - - private boolean initialized() { - return dispatch != null; - } -} diff --git a/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_de.properties b/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_de.properties index 34cab65b556..0048eadc4f5 100644 --- a/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_de.properties +++ b/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_de.properties @@ -37,10 +37,9 @@ # only if the new code is made subject to such option by the copyright # holder. # - +# Portions Copyright 2026 Payara Foundation and/or its affiliates internal.error=Interner Fehler: {0} -not.dcom.node=Knoten {0} ist kein DCOM-Knoten. Der Typ ist {1}. no.password=Ung\u00FCltige Konfiguration f\u00FCr den Knoten.\\n Der Knoten erfordert einen ssh-connector, der wiederum ein ssh-auth-Element mit einem Kennwort enth\u00E4lt. no.host=Ung\u00FCltige Konfiguration f\u00FCr den Knoten.\n Der Knoten erfordert einen Remote-Knotennamen. no.username=Ung\u00FCltige Konfiguration f\u00FCr den Knoten.\\n Der Knoten erfordert einen ssh-connector, der wiederum ein ssh-auth-Element mit einem Benutzernamen enth\u00E4lt.\\nUngew\u00F6hnlicherweise ist auch kein Benutzername in der Systemeigenschaft "user.name" festgelegt diff --git a/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_es.properties b/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_es.properties index 502ec40a476..55921ece177 100644 --- a/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_es.properties +++ b/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_es.properties @@ -37,10 +37,9 @@ # only if the new code is made subject to such option by the copyright # holder. # - +# Portions Copyright 2026 Payara Foundation and/or its affiliates internal.error=Error interno: {0}. -not.dcom.node=El nodo {0} no es un nodo DCOM. Su tipo es {1}. no.password=Configuraci\u00F3n incorrecta para el nodo.\\n El nodo necesita un conector ssh que contenga un elemento de autenticaci\u00F3n ssh con una contrase\u00F1a. no.host=Configuraci\u00F3n incorrecta para el nodo.\n El nodo necesita un nombre de nodo remoto. no.username=Configuraci\u00F3n incorrecta pare el nodo.\n El nodo necesita un conector ssh que contenga un elemento de autenticaci\u00F3n ssh que tenga el nombre de usuario.\nDe la misma forma, no tiene ning\u00FAn nombre de usuario definido en la propiedad de sistema user.name diff --git a/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_fr.properties b/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_fr.properties index 54c7d5d2210..32b56dc1437 100644 --- a/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_fr.properties +++ b/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_fr.properties @@ -37,10 +37,9 @@ # only if the new code is made subject to such option by the copyright # holder. # - +# Portions Copyright 2026 Payara Foundation and/or its affiliates internal.error=Erreur interne : {0} -not.dcom.node=Le noeud {0} n''est pas un noeud DCOM. Il est de type {1}. no.password=Configuration incorrecte pour le noeud.\n Le noeud exige un \u00E9l\u00E9ment ssh-connector qui contient \u00E0 son tour un \u00E9l\u00E9ment ssh-auth poss\u00E9dant un mot de passe. no.host=Configuration incorrecte pour le noeud.\n Le noeud exige un nom de noeud distant. no.username=Configuration incorrecte pour le noeud.\n Le noeud exige un \u00E9l\u00E9ment ssh-connector qui contient \u00E0 son tour un \u00E9l\u00E9ment ssh-auth poss\u00E9dant le nom utilisateur.\nCurieusement, vous n'avez aucun nom utilisateur d\u00E9fini dans la propri\u00E9t\u00E9 syst\u00E8me user.name diff --git a/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_it.properties b/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_it.properties index de1a0563460..569273f4191 100644 --- a/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_it.properties +++ b/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_it.properties @@ -37,10 +37,9 @@ # only if the new code is made subject to such option by the copyright # holder. # - +# Portions Copyright 2026 Payara Foundation and/or its affiliates internal.error=Errore interno: {0} -not.dcom.node=Il nodo {0} non \u00E8 un nodo DCOM. Il tipo di nodo \u00E8 {1}. no.password=Configurazione non valida per il nodo.\n Il nodo richiede un ssh-connector che a sua volta contiene un elemento ssh-auth con una password. no.host=Configurazione non valida per il nodo.\n Il nodo richiede un nome di nodo remoto. no.username=Configurazione non valida per il nodo.\n Il nodo richiede un ssh-connector che a sua volta contiene un elemento ssh-auth con un nome utente.\nStranamente, non \u00E8 impostato alcun nome utente neppure nella propriet\u00E0 di sistema user.name. diff --git a/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_ja.properties b/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_ja.properties index 0499b2ccf8e..4140d53969d 100644 --- a/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_ja.properties +++ b/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_ja.properties @@ -37,10 +37,9 @@ # only if the new code is made subject to such option by the copyright # holder. # - +# Portions Copyright 2026 Payara Foundation and/or its affiliates internal.error=\u5185\u90E8\u30A8\u30E9\u30FC: {0} -not.dcom.node=\u30CE\u30FC\u30C9{0}\u306FDCOM\u30CE\u30FC\u30C9\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u30CE\u30FC\u30C9\u306E\u30BF\u30A4\u30D7\u306F{1}\u3067\u3059\u3002 no.password=\u30CE\u30FC\u30C9\u306E\u69CB\u6210\u304C\u6B63\u3057\u304F\u3042\u308A\u307E\u305B\u3093\u3002\n \u30CE\u30FC\u30C9\u306B\u306F\u3001\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u6301\u3064ssh-auth\u8981\u7D20\u3092\u542B\u3080ssh\u30B3\u30CD\u30AF\u30BF\u304C\u5FC5\u8981\u3067\u3059\u3002 no.host=\u30CE\u30FC\u30C9\u306E\u69CB\u6210\u304C\u6B63\u3057\u304F\u3042\u308A\u307E\u305B\u3093\u3002\n \u30CE\u30FC\u30C9\u306B\u306F\u3001\u30EA\u30E2\u30FC\u30C8\u30FB\u30CE\u30FC\u30C9\u540D\u304C\u5FC5\u8981\u3067\u3059\u3002 no.username=\u30CE\u30FC\u30C9\u306E\u69CB\u6210\u304C\u6B63\u3057\u304F\u3042\u308A\u307E\u305B\u3093\u3002\n \u30CE\u30FC\u30C9\u306B\u306F\u3001\u30E6\u30FC\u30B6\u30FC\u540D\u3092\u6301\u3064ssh-auth\u8981\u7D20\u3092\u542B\u3080ssh\u30B3\u30CD\u30AF\u30BF\u304C\u5FC5\u8981\u3067\u3059\u3002\n\u307E\u305F\u3001\u30B7\u30B9\u30C6\u30E0\u30FB\u30D7\u30ED\u30D1\u30C6\u30A3\u306Euser.name\u306B\u3082\u30E6\u30FC\u30B6\u30FC\u540D\u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002 diff --git a/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_ko.properties b/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_ko.properties index c0a7c40686a..08dcd2c0e18 100644 --- a/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_ko.properties +++ b/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_ko.properties @@ -37,10 +37,9 @@ # only if the new code is made subject to such option by the copyright # holder. # - +# Portions Copyright 2026 Payara Foundation and/or its affiliates internal.error=\uB0B4\uBD80 \uC624\uB958: {0} -not.dcom.node={0} \uB178\uB4DC\uB294 DCOM \uB178\uB4DC\uAC00 \uC544\uB2D9\uB2C8\uB2E4. \uC720\uD615\uC774 {1}\uC785\uB2C8\uB2E4. no.password=\uB178\uB4DC \uAD6C\uC131\uC774 \uC798\uBABB\uB418\uC5C8\uC2B5\uB2C8\uB2E4.\n \uBE44\uBC00\uBC88\uD638\uAC00 \uC788\uB294 ssh-auth \uC694\uC18C\uB97C \uD3EC\uD568\uD558\uB294 ssh-connector\uAC00 \uB178\uB4DC\uC5D0 \uD544\uC694\uD569\uB2C8\uB2E4. no.host=\uB178\uB4DC \uAD6C\uC131\uC774 \uC798\uBABB\uB418\uC5C8\uC2B5\uB2C8\uB2E4.\n \uB178\uB4DC\uC5D0 \uC6D0\uACA9 \uB178\uB4DC \uC774\uB984\uC774 \uD544\uC694\uD569\uB2C8\uB2E4. no.username=\uB178\uB4DC \uAD6C\uC131\uC774 \uC798\uBABB\uB418\uC5C8\uC2B5\uB2C8\uB2E4.\n \uC0AC\uC6A9\uC790 \uC774\uB984\uC774 \uC788\uB294 ssh-auth \uC694\uC18C\uB97C \uD3EC\uD568\uD558\uB294 ssh-connector\uAC00 \uB178\uB4DC\uC5D0 \uD544\uC694\uD569\uB2C8\uB2E4.\n\uC2DC\uC2A4\uD15C \uC18D\uC131 user.name\uC5D0 \uC0AC\uC6A9\uC790 \uC774\uB984\uC774 \uC124\uC815\uB418\uC5B4 \uC788\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. diff --git a/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_pt_BR.properties b/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_pt_BR.properties index 54fa6b9f68e..05841128d98 100644 --- a/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_pt_BR.properties +++ b/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_pt_BR.properties @@ -37,10 +37,9 @@ # only if the new code is made subject to such option by the copyright # holder. # - +# Portions Copyright 2026 Payara Foundation and/or its affiliates internal.error=Erro Interno: {0} -not.dcom.node=O n\u00F3 {0} n\u00E3o \u00E9 um n\u00F3 DCOM. Seu tipo \u00E9 {1}. no.password=Configura\u00E7\u00E3o incorreta para o n\u00F3.\n O n\u00F3 requer um ssh-connector que, por sua vez, contenha um elemento ssh-auth com uma senha. no.host=Configura\u00E7\u00E3o incorreta para o n\u00F3.\n O n\u00F3 requer um nome de n\u00F3 remoto. no.username=Configura\u00E7\u00E3o incorreta para o n\u00F3.\n O n\u00F3 requer um ssh-connector que, por sua vez, contenha um elemento ssh-auth com um nome de usu\u00E1rio.\nEstranhamente, al\u00E9m disso, voc\u00EA n\u00E3o tem um nome de usu\u00E1rio definido na Propriedade do Sistema user.name diff --git a/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_zh_CN.properties b/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_zh_CN.properties index ad1f04a78ca..83c2e6ce31f 100644 --- a/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_zh_CN.properties +++ b/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_zh_CN.properties @@ -37,10 +37,9 @@ # only if the new code is made subject to such option by the copyright # holder. # - +# Portions Copyright 2026 Payara Foundation and/or its affiliates internal.error=\u5185\u90E8\u9519\u8BEF: {0} -not.dcom.node=\u8282\u70B9{0}\u4E0D\u662F DCOM \u8282\u70B9\u3002\u5B83\u7684\u7C7B\u578B\u662F{1}\u3002 no.password=\u8282\u70B9\u7684\u914D\u7F6E\u9519\u8BEF\u3002\n \u8282\u70B9\u9700\u8981 ssh-connector, \u540E\u8005\u53C8\u5305\u542B\u5177\u6709\u53E3\u4EE4\u7684 ssh-auth \u5143\u7D20\u3002 no.host=\u8282\u70B9\u7684\u914D\u7F6E\u9519\u8BEF\u3002\n \u8282\u70B9\u9700\u8981\u8FDC\u7A0B\u8282\u70B9\u540D\u79F0\u3002 no.username=\u8282\u70B9\u7684\u914D\u7F6E\u9519\u8BEF\u3002\n \u8282\u70B9\u9700\u8981 ssh-connector, \u540E\u8005\u53C8\u5305\u542B\u5177\u6709\u7528\u6237\u540D\u7684 ssh-auth \u5143\u7D20\u3002\n\u5947\u602A\u7684\u662F, \u60A8\u5728\u7CFB\u7EDF\u5C5E\u6027 user.name \u4E2D\u4E5F\u8FD8\u6CA1\u6709\u8BBE\u7F6E\u7528\u6237\u540D diff --git a/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_zh_TW.properties b/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_zh_TW.properties index ab50dffc276..80d9a3bf8b6 100644 --- a/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_zh_TW.properties +++ b/nucleus/cluster/ssh-l10n/src/main/resources/org/glassfish/cluster/ssh/util/LocalStrings_zh_TW.properties @@ -37,10 +37,9 @@ # only if the new code is made subject to such option by the copyright # holder. # - +# Portions Copyright 2026 Payara Foundation and/or its affiliates internal.error=\u5167\u90E8\u932F\u8AA4\uFF1A{0} -not.dcom.node=\u7BC0\u9EDE {0} \u4E0D\u662F DCOM \u7BC0\u9EDE\u3002\u5B83\u7684\u985E\u578B\u662F {1}\u3002 no.password=\u932F\u8AA4\u7684\u7BC0\u9EDE\u7D44\u614B\u3002\n \u7BC0\u9EDE\u9700\u8981\u7684 ssh-connector \u5FC5\u9808\u5305\u542B\u5177\u6709\u5BC6\u78BC\u7684 ssh-auth \u5143\u7D20\u3002 no.host=\u932F\u8AA4\u7684\u7BC0\u9EDE\u7D44\u614B\u3002\n \u7BC0\u9EDE\u9700\u6709\u9060\u7AEF\u7BC0\u9EDE\u540D\u7A31\u3002 no.username=\u932F\u8AA4\u7684\u7BC0\u9EDE\u7D44\u614B\u3002\n \u7BC0\u9EDE\u9700\u8981\u7684 ssh-connector \u5FC5\u9808\u5305\u542B\u5177\u6709\u4F7F\u7528\u8005\u540D\u7A31\u7684 ssh-auth \u5143\u7D20\u3002\n\u60A8\u5728\u300C\u7CFB\u7D71\u7279\u6027\u300Duser.name \u4E2D\u4E5F\u6C92\u6709\u8A2D\u5B9A\u4F7F\u7528\u8005\u540D\u7A31 diff --git a/nucleus/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/connect/NodeRunner.java b/nucleus/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/connect/NodeRunner.java index 91433b5d695..ba36af19765 100644 --- a/nucleus/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/connect/NodeRunner.java +++ b/nucleus/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/connect/NodeRunner.java @@ -37,6 +37,7 @@ * only if the new code is made subject to such option by the copyright * holder. */ +// Portions Copyright 2026 Payara Foundation and/or affiliates package org.glassfish.cluster.ssh.connect; import java.io.*; @@ -50,8 +51,6 @@ import com.sun.enterprise.config.serverbeans.Node; import com.sun.enterprise.util.SystemPropertyConstants; import com.sun.enterprise.util.StringUtils; -import org.glassfish.cluster.ssh.launcher.SSHLauncher; -import org.glassfish.cluster.ssh.connect.NodeRunnerSsh; import org.glassfish.common.util.admin.AuthTokenManager; import org.glassfish.hk2.api.ServiceLocator; @@ -83,16 +82,6 @@ public boolean isSshNode(Node node) { return node.getType().equals("SSH"); } - public boolean isDcomNode(Node node) { - - if (node == null) { - throw new IllegalArgumentException("Node is null"); - } - if (node.getType() == null) - return false; - return node.getType().equals("DCOM"); - } - /** * Run an asadmin command on a Node. The node may be local or remote. If * it is remote then SSH is used to execute the command on the node. @@ -227,13 +216,7 @@ private int runAdminCommandOnRemoteNode(Node node, StringBuilder output, return result; } - if ("DCOM".equals(type)) { - NodeRunnerDcom nrd = new NodeRunnerDcom(logger); - nrd.runAdminCommandOnRemoteNode(node, output, args, stdinLines); - return determineStatus(args, output); - } - - throw new UnsupportedOperationException("Node is not of type SSH or DCOM"); + throw new UnsupportedOperationException("Node is not of type SSH"); } private void trace(String s) { diff --git a/nucleus/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/connect/NodeRunnerDcom.java b/nucleus/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/connect/NodeRunnerDcom.java deleted file mode 100644 index 3603eff1c2d..00000000000 --- a/nucleus/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/connect/NodeRunnerDcom.java +++ /dev/null @@ -1,218 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2011 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -// Portions Copyright [2017] [Payara Foundation and/or its affiliates] -package org.glassfish.cluster.ssh.connect; - -import com.sun.enterprise.util.cluster.Paths; -import com.sun.enterprise.util.cluster.windows.process.WindowsRemoteAsadmin; -import com.sun.enterprise.util.cluster.windows.io.WindowsRemoteFile; -import java.util.*; -import java.util.logging.*; - -import com.sun.enterprise.util.cluster.windows.process.WindowsException; -import org.glassfish.api.admin.SSHCommandExecutionException; -import com.sun.enterprise.config.serverbeans.Node; -import com.sun.enterprise.util.cluster.windows.io.WindowsRemoteFileSystem; -import org.glassfish.cluster.ssh.util.DcomInfo; -import org.glassfish.common.util.admin.AsadminInput; -import static com.sun.enterprise.util.StringUtils.ok; -import java.security.SecureRandom; - -public class NodeRunnerDcom { - private final Logger logger; - private Node node; - private WindowsRemoteFile authTokenFile; - private String authTokenFilePath; - private DcomInfo dcomInfo; - - public NodeRunnerDcom(Logger logger) { - this.logger = logger; - } - - /* - * return 0 is success, otherwise failure - */ - public final int runAdminCommandOnRemoteNode(Node thisNode, StringBuilder output, - List args, - List stdinLines) throws - SSHCommandExecutionException, IllegalArgumentException, - UnsupportedOperationException { - - String humanreadable = null; - try { - this.node = thisNode; - dcomInfo = new DcomInfo(node); - List fullcommand = new ArrayList(); - WindowsRemoteAsadmin asadmin = dcomInfo.getAsadmin(); - - if (stdinLines != null && !stdinLines.isEmpty()) - setupAuthTokenFile(fullcommand, stdinLines); - - fullcommand.addAll(args); - humanreadable = dcomInfo.getNadminPath() + " " + commandListToString(fullcommand); - - - // This is where the rubber meets the road... - String out = asadmin.run(fullcommand); - output.append(out); - logger.info(Strings.get("remote.command.summary", humanreadable, out)); - return determineStatus(args); - } - catch (WindowsException ex) { - throw new SSHCommandExecutionException(Strings.get( - "remote.command.error", ex.getMessage(), humanreadable), ex); - } - finally { - teardownAuthTokenFile(); - } - } - - private void trace(String s) { - logger.fine(String.format("%s: %s", this.getClass().getSimpleName(), s)); - } - - private static String commandListToString(List command) { - StringBuilder fullCommand = new StringBuilder(); - - for (String s : command) { - fullCommand.append(" "); - fullCommand.append(s); - } - - return fullCommand.toString(); - } - - /* - * BE CAREFUL -- Don't introduce "Distributed Concurrency Bugs" - * e.g. you have to make sure the filename is unique. - * 1. create a remote file - * 2. copy the token/auth stuff into it - * 3. add the correct args to the remote commandline - * Put the file in the same directory that nadmin lives in (lib) - */ - private void setupAuthTokenFile(List cmd, List stdin) throws WindowsException { - WindowsRemoteFileSystem wrfs = new WindowsRemoteFileSystem(dcomInfo.getCredentials()); - authTokenFilePath = dcomInfo.getNadminParentPath() + "\\token_" + System.nanoTime() + new SecureRandom().nextInt(1000); - authTokenFilePath = createUniqueFilename(dcomInfo.getNadminParentPath()); - authTokenFile = new WindowsRemoteFile(wrfs, authTokenFilePath); - authTokenFile.copyFrom(stdin); - - cmd.add(AsadminInput.CLI_INPUT_OPTION); - cmd.add(authTokenFilePath); - } - - private void teardownAuthTokenFile() { - if (authTokenFile != null) - try { - authTokenFile.delete(); - } - catch (WindowsException ex) { - logger.warning(Strings.get("cant.delete", dcomInfo.getHost(), authTokenFilePath)); - } - } - - private String createUniqueFilename(String path) { - String random = "" + System.nanoTime(); - - // just use the last 16 numbers - if(random.length() > 16) - random = random.substring(random.length() - 16); - - random += "" + new SecureRandom().nextInt(10000); - - return path + "\\DELETE_ME_" + random; - } - - - /* hack TODO do not know how to get int status back from Windows - * Stick in code that handles particular commands that we can figure out - * the status. - */ - private int determineStatus(List args) { - if (args == null) - throw new NullPointerException(); - - if (args.size() < 2) - return 0; - - String instanceName = args.get(args.size() - 1); - - if (isCommand(args, "_delete-instance-filesystem")) { - try { - String dir = Paths.getInstanceDirPath(node, instanceName); - WindowsRemoteFile instanceDir = new WindowsRemoteFile(dcomInfo.getCredentials(), dir); - return instanceDir.exists() ? 1 : 0; - } - catch (WindowsException ex) { - return 0; - } - } - else if (isCommand(args, "_create-instance-filesystem")) { - try { - String dir = Paths.getDasPropsPath(node); - WindowsRemoteFile dasProps = new WindowsRemoteFile(dcomInfo.getCredentials(), dir); - - if (dasProps.exists()) - return 0; - - // uh-oh. Wipe out the instance directory that was created - dir = Paths.getInstanceDirPath(node, instanceName); - WindowsRemoteFile instanceDir = new WindowsRemoteFile(dcomInfo.getCredentials(), dir); - instanceDir.delete(); - return 1; - } - catch (WindowsException ex) { - return 1; - } - } - return 0; - } - - private boolean isCommand(List args, final String cmd) { - if (!ok(cmd)) - return false; - - for (String arg : args) - if (arg != null && arg.equals(cmd)) - return true; - - return false; - } -} diff --git a/nucleus/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/util/DcomInfo.java b/nucleus/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/util/DcomInfo.java deleted file mode 100644 index 10dccaa3b3e..00000000000 --- a/nucleus/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/util/DcomInfo.java +++ /dev/null @@ -1,204 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2011-2013 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -package org.glassfish.cluster.ssh.util; - -import com.sun.enterprise.config.serverbeans.Node; -import com.sun.enterprise.config.serverbeans.SshAuth; -import com.sun.enterprise.config.serverbeans.SshConnector; -import com.sun.enterprise.universal.glassfish.TokenResolver; -import com.sun.enterprise.util.cluster.windows.process.WindowsCredentials; -import com.sun.enterprise.util.cluster.windows.process.WindowsException; -import com.sun.enterprise.util.cluster.windows.process.WindowsRemoteAsadmin; -import com.sun.enterprise.util.StringUtils; -import com.sun.enterprise.util.SystemPropertyConstants; -import java.util.*; -import static com.sun.enterprise.util.StringUtils.ok; - -/** - * Put this ugly painful intricate parsing in one place to avoid code-bloat... - * This class is guaranteed thread-safe and immutable - * @author Byron Nevins - */ -public final class DcomInfo { - private final WindowsCredentials credentials; - private final Node node; - private final String password; - private final String host; - private final String user; - private final String windowsDomain; - private final String remoteNodeRootDirectory; - // CONFUSING PAIN POINT. The "installdir" means the parent directory of glassfish - // installroot means the glassfish dir. E.g. - // installdir == d:/glassfish4 and installroot == d:/glassfish4/glassfish - // - private final String remoteInstallRoot; - private final String nadminPath; - private final String nadminParentPath; - - public DcomInfo(Node theNode) throws WindowsException { - // Create a resolver that can replace system properties in strings - // System Properties can change at any time so do NOT cache this object - TokenResolver resolver = new TokenResolver( - new HashMap((Map) (System.getProperties()))); - - node = theNode; - - if (node == null) - throw new WindowsException( - Strings.get("internal.error", "Node is null")); - - if (!isDcomNode(node)) - throw new WindowsException(Strings.get("not.dcom.node", - getNode().getName(), getNode().getType())); - - SshConnector conn = node.getSshConnector(); - if (conn == null) - throw new WindowsException(Strings.get("no.password")); - - SshAuth auth = conn.getSshAuth(); - if (auth == null) - throw new WindowsException(Strings.get("no.password")); - - String notFinal = auth.getPassword(); - if (!ok(notFinal)) - throw new WindowsException(Strings.get("no.password")); - - password = DcomUtils.resolvePassword(notFinal); - - notFinal = node.getNodeHost(); - if (!ok(notFinal)) - notFinal = conn.getSshHost(); - if (!ok(notFinal)) - throw new WindowsException(Strings.get("no.host")); - host = resolver.resolve(notFinal); - - notFinal = auth.getUserName(); - if (!ok(notFinal)) - notFinal = System.getProperty("user.name"); - if (!ok(notFinal)) - throw new WindowsException(Strings.get("no.username")); - user = resolver.resolve(notFinal); - - notFinal = node.getWindowsDomain(); - if (!ok(notFinal)) - notFinal = host; - windowsDomain = resolver.resolve(notFinal); - - notFinal = node.getInstallDirUnixStyle(); - if (!ok(notFinal)) - throw new WindowsException(Strings.get("no.lib.dir")); - - if (!notFinal.endsWith("/")) - notFinal += "/"; - - notFinal += SystemPropertyConstants.getComponentName(); - remoteInstallRoot = StringUtils.quotePathIfNecessary(notFinal); - notFinal += "/lib"; - notFinal = StringUtils.quotePathIfNecessary(notFinal); - notFinal = notFinal.replace('/', '\\'); - nadminParentPath = notFinal; - nadminPath = notFinal + "\\nadmin.bat"; - - String notFinal2 = node.getNodeDirAbsolute(); - - if (notFinal2 == null) { - // no special nodedir -- use the defaults - notFinal2 = remoteInstallRoot; // e.g. "d:/glassfish4/glassfish" - notFinal2 += "/nodes"; - } - notFinal2 = notFinal2.replace('/', '\\'); - - if (!notFinal2.endsWith("\\")) - notFinal2 += '\\'; - - remoteNodeRootDirectory = notFinal2 + node.getName(); - - credentials = new WindowsCredentials(getHost(), getWindowsDomain(), - getUser(), getPassword()); - } - - public String getRemoteNodeRootDirectory() { - return remoteNodeRootDirectory; - } - - public String getRemoteInstallRoot() { - return remoteInstallRoot; - } - - public String getNadminPath() { - return nadminPath; - } - - public String getNadminParentPath() { - return nadminParentPath; - } - - public WindowsCredentials getCredentials() { - return credentials; - } - - public Node getNode() { - return node; - } - - public String getPassword() { - return password; - } - - public String getHost() { - return host; - } - - public String getUser() { - return user; - } - - public String getWindowsDomain() { - return windowsDomain; - } - - public WindowsRemoteAsadmin getAsadmin() { - return new WindowsRemoteAsadmin(remoteInstallRoot, credentials); - } - - private static boolean isDcomNode(Node node) { - return "DCOM".equals(node.getType()); - } -} diff --git a/nucleus/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/util/DcomUtils.java b/nucleus/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/util/DcomUtils.java deleted file mode 100644 index 7068e0b4919..00000000000 --- a/nucleus/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/util/DcomUtils.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2011-2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -package org.glassfish.cluster.ssh.util; - -import java.util.ArrayList; -import java.util.List; - -import org.glassfish.internal.api.RelativePathResolver; - -/** - * I hate to copy&paste identical code into more than one class. - * Hence this class! - * @author Byron Nevins - */ -public final class DcomUtils { - private DcomUtils() { - // no instances allowed! - } - - public static String resolvePassword(String raw) { - try { - return RelativePathResolver.getRealPasswordFromAlias(raw); - } catch (Exception e) { - return raw; - } - } - - public static List resolvePasswordToList(String raw) { - List tokens = new ArrayList(1); - String password = resolvePassword(raw); - tokens.add("AS_ADMIN_WINDOWSPASSWORD=" + password); - return tokens; - } -} diff --git a/nucleus/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/util/LocalStrings.properties b/nucleus/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/util/LocalStrings.properties index 94c7e5f044d..a089ee0d59e 100644 --- a/nucleus/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/util/LocalStrings.properties +++ b/nucleus/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/util/LocalStrings.properties @@ -36,9 +36,10 @@ # and therefore, elected the GPL Version 2 license, then the option applies # only if the new code is made subject to such option by the copyright # holder. +# +# Portions Copyright 2026 Payara Foundation and/or its affiliates internal.error=Internal Error: {0} -not.dcom.node=Node {0} is not a DCOM node. Its type is {1}. no.password=Bad configuration for the node.\n The node requires \ a ssh-connector that in turn contains an ssh-auth element that has a password. no.host=Bad configuration for the node.\n The node requires a remote node name. diff --git a/nucleus/cluster/windows/Native/DcomConfigurator/DcomConfigurator.cpp b/nucleus/cluster/windows/Native/DcomConfigurator/DcomConfigurator.cpp deleted file mode 100644 index 16c0d968be9..00000000000 --- a/nucleus/cluster/windows/Native/DcomConfigurator/DcomConfigurator.cpp +++ /dev/null @@ -1,181 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -// DcomConfigurator.cpp : Defines the entry point for the console application. -// - -#include "stdafx.h" - -static WCHAR BUF[1024]; - -int _tmain(int argc, _TCHAR* argv[]) -{ - DcomConfigurator con(argc, argv); - if(con.isHelp()) { - con.usage(); - return 0; - } - return con.configure(); -} - -DcomConfigurator::DcomConfigurator(int argc, _TCHAR* argv[]) { - verbose = false; - help = false; - force = false; - admin = new Persona(WinBuiltinAdministratorsSid); - adminOwnerId = admin->getSidString(); - scriptingOwnerId = getOwnerString(HKEY_CLASSES_ROOT, REG_SCRIPTING); - wmiOwnerId = getOwnerString(HKEY_CLASSES_ROOT, REG_WMI); - parse(argc, argv); - - if(verbose) - setVerbose(); // let utils know -} - -DcomConfigurator::~DcomConfigurator() { - delete admin; -} - -void DcomConfigurator::usage() -{ - verbose = true; - p("Usage: DCOMConfigurator [-h|--help] [-v|--verbose] [-f|--force] [-n|--dry-run]\n"); - p("\n"); - p("DCOM Configurator attempts to change permissions and possibly the ownership of 2 Registry keys.\nThe keys allow access to WMI and Scripting.\n"); - p("\n"); - p("[-h|--help] Show this help\n"); - p("[-v|--verbose] Explain what happened\n"); - p("[-f|--force] Forces Ownership Takeover of a Registry Key\n"); - p("[-n|--dry-run] Don't really do it\n"); - - - bool b = is64(); - if(b) { - p("\nYou are running on 64 bit Windows. The 2 keys are automatically mapped to 32-bit registry keys.\n"); - p("This is of no concern unless you use the Registry Editor (regedit.exe). In that case you need to look in (1) instead of (2)\n"); - p("(1) HKEY_CLASSES_ROOT\\Wow6432Node\\CLSID\\...\n"); - p("(2) HKEY_CLASSES_ROOT\\CLSID\\...\n"); - } - else - p("\nYou are running on 32 bit Windows."); -} - -/** - * Ugly and fast to develop. Feel free to improve it... - * Probably should re-work if an item #5 or 6 is added. - */ - -void DcomConfigurator::parse(int argc, _TCHAR* argv[]) -{ - for(int i = 1; i < argc; i++) { - // only do this code below 0 or 1 time - if(verbose == false) { - if(!lstrcmpi(L"-v", argv[i]) || !lstrcmpi(L"--verbose", argv[i])) { - verbose = true; - wp(L">>>>>>>>>>>>> <<<<<<<<<<<<<\n"); - wp(L">>>>>>>>>>>>> Set to Verbose Mode <<<<<<<<<<<<<\n"); - wp(L">>>>>>>>>>>>> <<<<<<<<<<<<<\n"); - } - } - if(!lstrcmpi(L"-h", argv[i]) || !lstrcmpi(L"--help", argv[i])) { - help = true; - } - if(!lstrcmpi(L"-f", argv[i]) || !lstrcmpi(L"--force", argv[i])) { - force = true; - } - } -} - -int DcomConfigurator::configure() { - Persona admin(WinBuiltinAdministratorsSid); - - if(verbose) - printOwners(); - - int ret = configureRegKeys() == TRUE ? 0 : 1; - - if(verbose) - cout << message; - - return ret; -} - -void DcomConfigurator::printOwners() { - wprintf(L"Administrators group SID: [%s]\n", adminOwnerId); - wprintf(L"Key: [%s] Owner: [%s]\n", REG_SCRIPTING, scriptingOwnerId); - wprintf(L"Key: [%s] Owner: [%s]\n", REG_WMI, wmiOwnerId); - - if(is64()) { - wprintf(L"Redirected Key: [%s]\n", REG_SCRIPTING_WOW, scriptingOwnerId); - wprintf(L"Redirected Key: [%s]\n", REG_WMI_WOW, wmiOwnerId); - } -} - -BOOL DcomConfigurator::configureRegKeys() { - BOOL ret = TRUE; - BOOL ret2 = TRUE; - - if(!Equal(adminOwnerId, scriptingOwnerId) || force) { - ret = TakeOwnership((LPTSTR)REG_SCRIPTING_FULL); - message += "Took ownership and adjusted permissions of Scripting Registry Key.\n"; - } - else - message += "No need to adjust the Scripting Registry Key.\n"; - - - if(!Equal(adminOwnerId, wmiOwnerId) || force) { - ret2 = TakeOwnership((LPTSTR)REG_WMI_FULL); - message += "Took ownership and adjusted permissions of WMI Registry Key.\n"; - } - else - message += "No need to adjust the WMI Registry Key.\n"; - - return ret && ret2; -} - -void DcomConfigurator::p(LPCSTR msg) { - if(verbose) - printf(msg); -} - -void DcomConfigurator::wp(LPCWSTR wmsg) { - if(verbose) - wprintf(wmsg); -} - diff --git a/nucleus/cluster/windows/Native/DcomConfigurator/DcomConfigurator.h b/nucleus/cluster/windows/Native/DcomConfigurator/DcomConfigurator.h deleted file mode 100644 index e32dcc77a61..00000000000 --- a/nucleus/cluster/windows/Native/DcomConfigurator/DcomConfigurator.h +++ /dev/null @@ -1,73 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -#pragma once -using namespace std; - -#include "Persona.h" -#include - -class DcomConfigurator -{ -public: - DcomConfigurator(int argc, _TCHAR* argv[]); - ~DcomConfigurator(); - int configure(); - inline bool isHelp() { return help; } - void usage(); -protected: - bool help; -private: - void printOwners(); - void printOwners(Persona& admin); - BOOL configureRegKeys(); - void DcomConfigurator::parse(int argc, _TCHAR* argv[]); - void p(LPCSTR); - void wp(LPCWSTR); - bool verbose; - bool force; - - LPCTSTR scriptingOwnerId; - LPCTSTR wmiOwnerId; - LPCTSTR adminOwnerId; - Persona* admin; - string message; -}; - - diff --git a/nucleus/cluster/windows/Native/DcomConfigurator/DcomConfigurator.vcxproj b/nucleus/cluster/windows/Native/DcomConfigurator/DcomConfigurator.vcxproj deleted file mode 100644 index bbe3c0822d7..00000000000 --- a/nucleus/cluster/windows/Native/DcomConfigurator/DcomConfigurator.vcxproj +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - Debug - Win32 - - - Foo - Win32 - - - Release - Win32 - - - - {0B3C0FDC-4D28-4915-BC7A-2C11E5E4C5B6} - Win32Proj - DcomConfigurator - - - - Application - true - Unicode - - - Application - false - true - Unicode - - - Application - false - true - Unicode - - - - - - - - - - - - - - - - true - - - false - - - false - - - - Use - Level3 - Disabled - WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) - - - Console - true - - - - - Level3 - Use - MaxSpeed - true - true - WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) - MultiThreaded - - - Console - true - true - true - - - - - Level3 - Use - MaxSpeed - true - true - WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) - - - Console - true - true - true - - - - - - - - - - - - - - - - - - Create - Create - Create - - - - - - - diff --git a/nucleus/cluster/windows/Native/DcomConfigurator/DcomConfigurator.vcxproj.filters b/nucleus/cluster/windows/Native/DcomConfigurator/DcomConfigurator.vcxproj.filters deleted file mode 100644 index 27b2d4b565f..00000000000 --- a/nucleus/cluster/windows/Native/DcomConfigurator/DcomConfigurator.vcxproj.filters +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms - - - - - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - diff --git a/nucleus/cluster/windows/Native/DcomConfigurator/DcomConfigurator.vcxproj.user b/nucleus/cluster/windows/Native/DcomConfigurator/DcomConfigurator.vcxproj.user deleted file mode 100644 index 731350e252a..00000000000 --- a/nucleus/cluster/windows/Native/DcomConfigurator/DcomConfigurator.vcxproj.user +++ /dev/null @@ -1,44 +0,0 @@ - - - - diff --git a/nucleus/cluster/windows/Native/DcomConfigurator/Persona.cpp b/nucleus/cluster/windows/Native/DcomConfigurator/Persona.cpp deleted file mode 100644 index 46654d22f7a..00000000000 --- a/nucleus/cluster/windows/Native/DcomConfigurator/Persona.cpp +++ /dev/null @@ -1,66 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -#include "StdAfx.h" -#include "Persona.h" - -// WinBuiltinAdministratorsSid - -Persona::Persona(WELL_KNOWN_SID_TYPE builtinSid) -{ - sidSize = SECURITY_MAX_SID_SIZE; - psid = (SID*)LocalAlloc(LMEM_FIXED, sidSize); - CreateWellKnownSid(builtinSid, NULL, psid, &sidSize); - ConvertSidToStringSid(psid, &sidString); -} - - - -Persona::~Persona(void) -{ - LocalFree(sidString); - LocalFree(psid); -} -PSID Persona::getSid() { - return psid; -} - -LPCTSTR Persona::getSidString() { - return sidString; -} diff --git a/nucleus/cluster/windows/Native/DcomConfigurator/Persona.h b/nucleus/cluster/windows/Native/DcomConfigurator/Persona.h deleted file mode 100644 index 8a966a586d4..00000000000 --- a/nucleus/cluster/windows/Native/DcomConfigurator/Persona.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -#pragma once -class Persona -{ -public: - Persona(WELL_KNOWN_SID_TYPE builtinSid); - ~Persona(void); - PSID getSid(); - LPCTSTR getSidString(); -private: - LPTSTR sidString; - PSID psid; - DWORD sidSize; -}; - - diff --git a/nucleus/cluster/windows/Native/DcomConfigurator/ReadMe.txt b/nucleus/cluster/windows/Native/DcomConfigurator/ReadMe.txt deleted file mode 100644 index b7bc8985088..00000000000 --- a/nucleus/cluster/windows/Native/DcomConfigurator/ReadMe.txt +++ /dev/null @@ -1,79 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -======================================================================== - CONSOLE APPLICATION : DcomConfigurator Project Overview -======================================================================== - -AppWizard has created this DcomConfigurator application for you. - -This file contains a summary of what you will find in each of the files that -make up your DcomConfigurator application. - - -DcomConfigurator.vcxproj - This is the main project file for VC++ projects generated using an Application Wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - Application Wizard. - -DcomConfigurator.vcxproj.filters - This is the filters file for VC++ projects generated using an Application Wizard. - It contains information about the association between the files in your project - and the filters. This association is used in the IDE to show grouping of files with - similar extensions under a specific node (for e.g. ".cpp" files are associated with the - "Source Files" filter). - -DcomConfigurator.cpp - This is the main application source file. - -///////////////////////////////////////////////////////////////////////////// -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named DcomConfigurator.pch and a precompiled types file named StdAfx.obj. - -///////////////////////////////////////////////////////////////////////////// -Other notes: - -AppWizard uses "TODO:" comments to indicate parts of the source code you -should add to or customize. - -///////////////////////////////////////////////////////////////////////////// diff --git a/nucleus/cluster/windows/Native/DcomConfigurator/RegistryManager.cpp b/nucleus/cluster/windows/Native/DcomConfigurator/RegistryManager.cpp deleted file mode 100644 index 3619cad314c..00000000000 --- a/nucleus/cluster/windows/Native/DcomConfigurator/RegistryManager.cpp +++ /dev/null @@ -1,433 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -// RegistryManager.cpp : Defines the entry point for the console application. -// - -#include "stdafx.h" -#include "RegUtils.h" -#include "RegItem.h" -#include "Persona.h" - -#define MAX_KEY_LENGTH 255 -#define MAX_VALUE_NAME 16383 - -// messy but fast. Need to start using a C++ String class... - -static LPCTSTR REG_SCRIPTING = TEXT("CLSID\\{72C24DD5-D70A-438B-8A42-98424B88AFB8}"); -static LPCTSTR REG_WMI = TEXT("CLSID\\{76A64158-CB41-11D1-8B02-00600806D9B6}"); -static LPCTSTR REG_SCRIPTING_FULL = TEXT("CLASSES_ROOT\\CLSID\\{72C24DD5-D70A-438B-8A42-98424B88AFB8}"); -static LPCTSTR REG_WMI_FULL = TEXT("CLASSES_ROOT\\CLSID\\{76A64158-CB41-11D1-8B02-00600806D9B6}"); - -//static LPCTSTR REG_SCRIPTING_FULL = TEXT("MACHINE\\SOFTWARE\\Classes\\CLSID\\{72C24DD5-D70A-438B-8A42-98424B88AFB8}"); -//static LPCTSTR REG_WMI_FULL = TEXT("MACHINE\\SOFTWARE\\Classes\\CLSID\\{76A64158-CB41-11D1-8B02-00600806D9B6}"); - -void QueryKey(HKEY hKey); -BOOL TakeOwnership(LPTSTR lpszOwnFile); -BOOL TakeOwnership(LPTSTR key, bool noReflection) ; -BOOL TakeOwnershipNoRelection(LPTSTR key) ; - -BOOL is64() -{ - SYSTEM_INFO si; - - GetNativeSystemInfo(&si); - - if (si.wProcessorArchitecture && PROCESSOR_ARCHITECTURE_INTEL) - return FALSE; - else - return TRUE; -} - -/* -void displayError(DWORD dwError, LPCTSTR key) -{ -LPVOID lpvMessageBuffer; - -if(dwError == ERROR_SUCCESS) -return; - -// can you believe this junk? -if (!FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, -NULL, dwError, -MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), //The user default language -(LPTSTR)&lpvMessageBuffer, 0, NULL)) -{ -wprintf (L"FormatMessage failed: 0x%x\n", GetLastError()); -return; -} - -wprintf(L"key: %s, error num: %d, error msg: %s\n", key, dwError, (LPTSTR)lpvMessageBuffer); -LocalFree(lpvMessageBuffer); -} -*/ - -void junk() -{ - -} - -void readKeys(LPCTSTR *keys, int numKeys, REGSAM sam) -{ - //RegSetKeySecurity(NULL,NULL,NULL); - SECURITY_INFORMATION setOwner = OWNER_SECURITY_INFORMATION; - HKEY hkey; - DWORD psdsize = 1; - sam |= KEY_ENUMERATE_SUB_KEYS; - - for(int i = 0; i < numKeys; i++) { - LONG err = RegOpenKeyEx(HKEY_CLASSES_ROOT, keys[i], 0, sam, &hkey); - - if(err == 0 && hkey != 0) { - PSID owner; - BOOL ownerDefaulted; - LPTSTR ownerSidString; - // first call gets the %$#@ size! - RegGetKeySecurity(hkey, OWNER_SECURITY_INFORMATION, NULL, &psdsize); - - - - PSECURITY_DESCRIPTOR psd = LocalAlloc(LMEM_FIXED, psdsize); - RegGetKeySecurity(hkey, OWNER_SECURITY_INFORMATION, psd, &psdsize); - GetSecurityDescriptorOwner(psd, &owner, &ownerDefaulted); - ConvertSidToStringSid(owner, &ownerSidString); - wprintf(TEXT("Key = %s, SID of owner = %s\n"), keys[i], ownerSidString); - - - //SetSecurityDescriptorOwner(psd, - - //RegSetKeySecurity(hkey, setOwner, psd); - - //SetSecurityDescriptorOwner - - - LocalFree(psd); - } - else - displayError(err, keys[i]); - } -} - - -void takeOwnership(HKEY root, LPCTSTR subkey, Persona &admin) -{ - //RegSetKeySecurity(NULL,NULL,NULL); - SECURITY_INFORMATION setOwner = OWNER_SECURITY_INFORMATION; - HKEY hkey; - DWORD psdsize = 1; - - LONG err = RegOpenKeyEx(root, subkey, 0, KEY_ALL_ACCESS /*KEY_READ*/, &hkey); - - if(err == 0 && hkey != 0) { - BOOL ownerDefaulted = 0; - - // first call gets the %$#@ size! - RegGetKeySecurity(hkey, OWNER_SECURITY_INFORMATION, NULL, &psdsize); - - PSECURITY_DESCRIPTOR psd = LocalAlloc(LMEM_FIXED, psdsize); - RegGetKeySecurity(hkey, OWNER_SECURITY_INFORMATION, psd, &psdsize); - SetSecurityDescriptorOwner(psd, admin.getSid(), 0); - RegSetKeySecurity(hkey, setOwner, psd); - LocalFree(psd); - } - else - displayError(err, subkey); -} - -LPCTSTR getOwnerString(HKEY root, LPCTSTR subkey) -{ - SECURITY_INFORMATION setOwner = OWNER_SECURITY_INFORMATION; - HKEY hkey; - DWORD psdsize = 1; - REGSAM sam = KEY_READ | KEY_ENUMERATE_SUB_KEYS; - - LONG err = RegOpenKeyEx(root, subkey, 0, sam, &hkey); - - if(err == 0 && hkey != 0) { - PSID owner; - BOOL ownerDefaulted = 0; - LPTSTR ownerSidString; - // first call gets the %$#@ size! - RegGetKeySecurity(hkey, OWNER_SECURITY_INFORMATION, NULL, &psdsize); - PSECURITY_DESCRIPTOR psd = LocalAlloc(LMEM_FIXED, psdsize); - RegGetKeySecurity(hkey, OWNER_SECURITY_INFORMATION, psd, &psdsize); - GetSecurityDescriptorOwner(psd, &owner, &ownerDefaulted); - ConvertSidToStringSid(owner, &ownerSidString); - return ownerSidString; - LocalFree(psd); - } - else - return NULL; -} - -void enumKeys(HKEY hkeyparent, LPCTSTR subkey) -{ - //TCHAR subname[MAX_KEY_LENGTH]; // buffer for subkey name - int i = 0; - HKEY hkey; - DWORD psdsize = 1; - REGSAM sam = KEY_READ | KEY_ENUMERATE_SUB_KEYS; - //FILETIME ftLastWriteTime; // last write time - - LONG err = RegOpenKeyEx(hkeyparent, subkey, 0, sam, &hkey); - - if(err != 0 || hkey == 0) - printf("ERROR in enumKeys()"); - - QueryKey(hkey); - - /* - do - { - cbName = MAX_KEY_LENGTH; - long result = RegEnumKeyEx(hkey, i, subname, &cbName, NULL, NULL, NULL, &ftLastWriteTime); - - if(result == ERROR_NO_MORE_ITEMS) - break; - - if(result == ERROR_SUCCESS) - wprintf(L"ENUM==> name: %s\n", subname); - else - printf("Error enumming\n"); - } - while(++i > 0); - */ -} - - -void QueryKey(HKEY hKey) -{ - TCHAR achKey[MAX_KEY_LENGTH]; // buffer for subkey name - DWORD cbName; // size of name string - TCHAR achClass[MAX_PATH] = TEXT(""); // buffer for class name - DWORD cchClassName = MAX_PATH; // size of class string - DWORD cSubKeys=0; // number of subkeys - DWORD cbMaxSubKey; // longest subkey size - DWORD cchMaxClass; // longest class string - DWORD cValues; // number of values for key - DWORD cchMaxValue; // longest value name - DWORD cbMaxValueData; // longest value data - DWORD cbSecurityDescriptor; // size of security descriptor - FILETIME ftLastWriteTime; // last write time - - DWORD i, retCode; - - TCHAR achValue[MAX_VALUE_NAME]; - DWORD cchValue = MAX_VALUE_NAME; - - // Get the class name and the value count. - retCode = RegQueryInfoKey( - hKey, // key handle - achClass, // buffer for class name - &cchClassName, // size of class string - NULL, // reserved - &cSubKeys, // number of subkeys - &cbMaxSubKey, // longest subkey size - &cchMaxClass, // longest class string - &cValues, // number of values for this key - &cchMaxValue, // longest value name - &cbMaxValueData, // longest value data - &cbSecurityDescriptor, // security descriptor - &ftLastWriteTime); // last write time - - // Enumerate the subkeys, until RegEnumKeyEx fails. - - if (cSubKeys) - { - printf( "\nNumber of subkeys: %d\n", cSubKeys); - - for (i=0; i -#include -#include -#include -#include -#include -#include -#include - -#include "Utilities.h" -#include "Persona.h" -#include "DcomConfigurator.h" - - - - -// TODO: reference additional headers your program requires here diff --git a/nucleus/cluster/windows/Native/DcomConfigurator/targetver.h b/nucleus/cluster/windows/Native/DcomConfigurator/targetver.h deleted file mode 100644 index 797344df187..00000000000 --- a/nucleus/cluster/windows/Native/DcomConfigurator/targetver.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -#pragma once - -// Including SDKDDKVer.h defines the highest available Windows platform. - -// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and -// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. - -#define _WIN32_WINNT _WIN32_WINNT_WINXP -#define WINVER _WIN32_WINNT_WINXP -#include diff --git a/nucleus/cluster/windows/Native/Native.sln b/nucleus/cluster/windows/Native/Native.sln deleted file mode 100644 index b45fd6a7d3f..00000000000 --- a/nucleus/cluster/windows/Native/Native.sln +++ /dev/null @@ -1,94 +0,0 @@ -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -# -# Copyright (c) 2011-2012 Oracle and/or its affiliates. All rights reserved. -# -# The contents of this file are subject to the terms of either the GNU -# General Public License Version 2 only ("GPL") or the Common Development -# and Distribution License("CDDL") (collectively, the "License"). You -# may not use this file except in compliance with the License. You can -# obtain a copy of the License at -# https://github.com/payara/Payara/blob/main/LICENSE.txt -# See the License for the specific -# language governing permissions and limitations under the License. -# -# When distributing the software, include this License Header Notice in each -# file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -# -# GPL Classpath Exception: -# Oracle designates this particular file as subject to the "Classpath" -# exception as provided by Oracle in the GPL Version 2 section of the License -# file that accompanied this code. -# -# Modifications: -# If applicable, add the following below the License Header, with the fields -# enclosed by brackets [] replaced by your own identifying information: -# "Portions Copyright [year] [name of copyright owner]" -# -# Contributor(s): -# If you wish your version of this file to be governed by only the CDDL or -# only the GPL Version 2, indicate your decision by adding "[Contributor] -# elects to include this software in this distribution under the [CDDL or GPL -# Version 2] license." If you don't indicate a single choice of license, a -# recipient has the option to distribute your version of this file under -# either the CDDL, the GPL Version 2 or to extend the choice of license to -# its licensees as provided above. However, if you add GPL Version 2 code -# and therefore, elected the GPL Version 2 license, then the option applies -# only if the new code is made subject to such option by the copyright -# holder. -# - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DcomConfigurator", "DcomConfigurator\DcomConfigurator.vcxproj", "{0B3C0FDC-4D28-4915-BC7A-2C11E5E4C5B6}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WSProxy", "WSProxy\WSProxy.csproj", "{3642D3E0-103D-405F-89C7-49F70046A2A8}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Mixed Platforms = Debug|Mixed Platforms - Debug|Win32 = Debug|Win32 - Debug|x86 = Debug|x86 - Foo|Mixed Platforms = Foo|Mixed Platforms - Foo|Win32 = Foo|Win32 - Foo|x86 = Foo|x86 - Release|Mixed Platforms = Release|Mixed Platforms - Release|Win32 = Release|Win32 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {0B3C0FDC-4D28-4915-BC7A-2C11E5E4C5B6}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {0B3C0FDC-4D28-4915-BC7A-2C11E5E4C5B6}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {0B3C0FDC-4D28-4915-BC7A-2C11E5E4C5B6}.Debug|Win32.ActiveCfg = Debug|Win32 - {0B3C0FDC-4D28-4915-BC7A-2C11E5E4C5B6}.Debug|Win32.Build.0 = Debug|Win32 - {0B3C0FDC-4D28-4915-BC7A-2C11E5E4C5B6}.Debug|x86.ActiveCfg = Debug|Win32 - {0B3C0FDC-4D28-4915-BC7A-2C11E5E4C5B6}.Foo|Mixed Platforms.ActiveCfg = Foo|Win32 - {0B3C0FDC-4D28-4915-BC7A-2C11E5E4C5B6}.Foo|Mixed Platforms.Build.0 = Foo|Win32 - {0B3C0FDC-4D28-4915-BC7A-2C11E5E4C5B6}.Foo|Win32.ActiveCfg = Foo|Win32 - {0B3C0FDC-4D28-4915-BC7A-2C11E5E4C5B6}.Foo|Win32.Build.0 = Foo|Win32 - {0B3C0FDC-4D28-4915-BC7A-2C11E5E4C5B6}.Foo|x86.ActiveCfg = Foo|Win32 - {0B3C0FDC-4D28-4915-BC7A-2C11E5E4C5B6}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {0B3C0FDC-4D28-4915-BC7A-2C11E5E4C5B6}.Release|Mixed Platforms.Build.0 = Release|Win32 - {0B3C0FDC-4D28-4915-BC7A-2C11E5E4C5B6}.Release|Win32.ActiveCfg = Release|Win32 - {0B3C0FDC-4D28-4915-BC7A-2C11E5E4C5B6}.Release|Win32.Build.0 = Release|Win32 - {0B3C0FDC-4D28-4915-BC7A-2C11E5E4C5B6}.Release|x86.ActiveCfg = Release|Win32 - {3642D3E0-103D-405F-89C7-49F70046A2A8}.Debug|Mixed Platforms.ActiveCfg = Debug|x86 - {3642D3E0-103D-405F-89C7-49F70046A2A8}.Debug|Mixed Platforms.Build.0 = Debug|x86 - {3642D3E0-103D-405F-89C7-49F70046A2A8}.Debug|Win32.ActiveCfg = Debug|x86 - {3642D3E0-103D-405F-89C7-49F70046A2A8}.Debug|x86.ActiveCfg = Debug|x86 - {3642D3E0-103D-405F-89C7-49F70046A2A8}.Debug|x86.Build.0 = Debug|x86 - {3642D3E0-103D-405F-89C7-49F70046A2A8}.Foo|Mixed Platforms.ActiveCfg = Release|x86 - {3642D3E0-103D-405F-89C7-49F70046A2A8}.Foo|Mixed Platforms.Build.0 = Release|x86 - {3642D3E0-103D-405F-89C7-49F70046A2A8}.Foo|Win32.ActiveCfg = Release|x86 - {3642D3E0-103D-405F-89C7-49F70046A2A8}.Foo|x86.ActiveCfg = Release|x86 - {3642D3E0-103D-405F-89C7-49F70046A2A8}.Foo|x86.Build.0 = Release|x86 - {3642D3E0-103D-405F-89C7-49F70046A2A8}.Release|Mixed Platforms.ActiveCfg = Release|x86 - {3642D3E0-103D-405F-89C7-49F70046A2A8}.Release|Mixed Platforms.Build.0 = Release|x86 - {3642D3E0-103D-405F-89C7-49F70046A2A8}.Release|Win32.ActiveCfg = Release|x86 - {3642D3E0-103D-405F-89C7-49F70046A2A8}.Release|x86.ActiveCfg = Release|x86 - {3642D3E0-103D-405F-89C7-49F70046A2A8}.Release|x86.Build.0 = Release|x86 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/nucleus/cluster/windows/Native/WSProxy/Program.cs b/nucleus/cluster/windows/Native/WSProxy/Program.cs deleted file mode 100644 index 45672284f1f..00000000000 --- a/nucleus/cluster/windows/Native/WSProxy/Program.cs +++ /dev/null @@ -1,64 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2011-2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ - -using System; -using System.Collections.Generic; -using System.Linq; -using System.ServiceProcess; -using System.Text; - -namespace WSProxy -{ - static class Program - { - /// - /// The main entry point for the application. - /// - static void Main() - { - ServiceBase[] ServicesToRun; - ServicesToRun = new ServiceBase[] - { - new Service1() - }; - ServiceBase.Run(ServicesToRun); - } - } -} diff --git a/nucleus/cluster/windows/Native/WSProxy/Properties/AssemblyInfo.cs b/nucleus/cluster/windows/Native/WSProxy/Properties/AssemblyInfo.cs deleted file mode 100644 index dab0e6e276b..00000000000 --- a/nucleus/cluster/windows/Native/WSProxy/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,75 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2011-2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("WSProxy")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Microsoft")] -[assembly: AssemblyProduct("WSProxy")] -[assembly: AssemblyCopyright("Copyright © Oracle 2012")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("edc239ff-9ac1-45dd-973d-8bbbff83346d")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/nucleus/cluster/windows/Native/WSProxy/Service1.Designer.cs b/nucleus/cluster/windows/Native/WSProxy/Service1.Designer.cs deleted file mode 100644 index 991a091db15..00000000000 --- a/nucleus/cluster/windows/Native/WSProxy/Service1.Designer.cs +++ /dev/null @@ -1,77 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2011-2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ - -namespace WSProxy -{ - partial class Service1 - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Component Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - components = new System.ComponentModel.Container(); - this.ServiceName = "Service1"; - } - - #endregion - } -} diff --git a/nucleus/cluster/windows/Native/WSProxy/Service1.cs b/nucleus/cluster/windows/Native/WSProxy/Service1.cs deleted file mode 100644 index f4b95e1b4a7..00000000000 --- a/nucleus/cluster/windows/Native/WSProxy/Service1.cs +++ /dev/null @@ -1,67 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2011-2012 Oracle and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/main/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. - * - * GPL Classpath Exception: - * Oracle designates this particular file as subject to the "Classpath" - * exception as provided by Oracle in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ - -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Diagnostics; -using System.Linq; -using System.ServiceProcess; -using System.Text; - -namespace WSProxy -{ - public partial class Service1 : ServiceBase - { - public Service1() - { - InitializeComponent(); - } - - protected override void OnStart(string[] args) - { - } - - protected override void OnStop() - { - } - } -} diff --git a/nucleus/cluster/windows/Native/WSProxy/WSProxy.csproj b/nucleus/cluster/windows/Native/WSProxy/WSProxy.csproj deleted file mode 100644 index 5598edfc1a2..00000000000 --- a/nucleus/cluster/windows/Native/WSProxy/WSProxy.csproj +++ /dev/null @@ -1,105 +0,0 @@ - - - - - Debug - x86 - 8.0.30703 - 2.0 - {3642D3E0-103D-405F-89C7-49F70046A2A8} - WinExe - Properties - WSProxy - WSProxy - v4.0 - Client - 512 - - - x86 - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - x86 - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - Component - - - Service1.cs - - - - - - - diff --git a/nucleus/cluster/windows/Native/WSProxy/clean.bat b/nucleus/cluster/windows/Native/WSProxy/clean.bat deleted file mode 100644 index 543ac4f3278..00000000000 --- a/nucleus/cluster/windows/Native/WSProxy/clean.bat +++ /dev/null @@ -1,43 +0,0 @@ -@echo off -REM -REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -REM -REM Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. -REM -REM The contents of this file are subject to the terms of either the GNU -REM General Public License Version 2 only ("GPL") or the Common Development -REM and Distribution License("CDDL") (collectively, the "License"). You -REM may not use this file except in compliance with the License. You can -REM obtain a copy of the License at -REM https://github.com/payara/Payara/blob/main/LICENSE.txt -REM See the License for the specific -REM language governing permissions and limitations under the License. -REM -REM When distributing the software, include this License Header Notice in each -REM file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -REM -REM GPL Classpath Exception: -REM Oracle designates this particular file as subject to the "Classpath" -REM exception as provided by Oracle in the GPL Version 2 section of the License -REM file that accompanied this code. -REM -REM Modifications: -REM If applicable, add the following below the License Header, with the fields -REM enclosed by brackets [] replaced by your own identifying information: -REM "Portions Copyright [year] [name of copyright owner]" -REM -REM Contributor(s): -REM If you wish your version of this file to be governed by only the CDDL or -REM only the GPL Version 2, indicate your decision by adding "[Contributor] -REM elects to include this software in this distribution under the [CDDL or GPL -REM Version 2] license." If you don't indicate a single choice of license, a -REM recipient has the option to distribute your version of this file under -REM either the CDDL, the GPL Version 2 or to extend the choice of license to -REM its licensees as provided above. However, if you add GPL Version 2 code -REM and therefore, elected the GPL Version 2 license, then the option applies -REM only if the new code is made subject to such option by the copyright -REM holder. -REM -@echo off -rmdir bin /s/q -rmdir obj /s/q diff --git a/nucleus/cluster/windows/Native/clean.bat b/nucleus/cluster/windows/Native/clean.bat deleted file mode 100644 index 36416a89567..00000000000 --- a/nucleus/cluster/windows/Native/clean.bat +++ /dev/null @@ -1,50 +0,0 @@ -@echo off -REM -REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -REM -REM Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. -REM -REM The contents of this file are subject to the terms of either the GNU -REM General Public License Version 2 only ("GPL") or the Common Development -REM and Distribution License("CDDL") (collectively, the "License"). You -REM may not use this file except in compliance with the License. You can -REM obtain a copy of the License at -REM https://github.com/payara/Payara/blob/main/LICENSE.txt -REM See the License for the specific -REM language governing permissions and limitations under the License. -REM -REM When distributing the software, include this License Header Notice in each -REM file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -REM -REM GPL Classpath Exception: -REM Oracle designates this particular file as subject to the "Classpath" -REM exception as provided by Oracle in the GPL Version 2 section of the License -REM file that accompanied this code. -REM -REM Modifications: -REM If applicable, add the following below the License Header, with the fields -REM enclosed by brackets [] replaced by your own identifying information: -REM "Portions Copyright [year] [name of copyright owner]" -REM -REM Contributor(s): -REM If you wish your version of this file to be governed by only the CDDL or -REM only the GPL Version 2, indicate your decision by adding "[Contributor] -REM elects to include this software in this distribution under the [CDDL or GPL -REM Version 2] license." If you don't indicate a single choice of license, a -REM recipient has the option to distribute your version of this file under -REM either the CDDL, the GPL Version 2 or to extend the choice of license to -REM its licensees as provided above. However, if you add GPL Version 2 code -REM and therefore, elected the GPL Version 2 license, then the option applies -REM only if the new code is made subject to such option by the copyright -REM holder. -REM -@echo off -del *.suo /s -del *.sdf /s -del *.opensdf /s -rmdir release /s/q -rmdir WSProxy\bin /s/q -rmdir WSProxy\obj /s/q -rmdir DcomConfigurator\Release /s/q -rmdir DcomConfigurator\Debug /s/q - diff --git a/nucleus/cluster/windows/Native/compare.bat b/nucleus/cluster/windows/Native/compare.bat deleted file mode 100644 index 315fe2d6e8b..00000000000 --- a/nucleus/cluster/windows/Native/compare.bat +++ /dev/null @@ -1,41 +0,0 @@ -@echo off -REM -REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -REM -REM Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. -REM -REM The contents of this file are subject to the terms of either the GNU -REM General Public License Version 2 only ("GPL") or the Common Development -REM and Distribution License("CDDL") (collectively, the "License"). You -REM may not use this file except in compliance with the License. You can -REM obtain a copy of the License at -REM https://github.com/payara/Payara/blob/main/LICENSE.txt -REM See the License for the specific -REM language governing permissions and limitations under the License. -REM -REM When distributing the software, include this License Header Notice in each -REM file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -REM -REM GPL Classpath Exception: -REM Oracle designates this particular file as subject to the "Classpath" -REM exception as provided by Oracle in the GPL Version 2 section of the License -REM file that accompanied this code. -REM -REM Modifications: -REM If applicable, add the following below the License Header, with the fields -REM enclosed by brackets [] replaced by your own identifying information: -REM "Portions Copyright [year] [name of copyright owner]" -REM -REM Contributor(s): -REM If you wish your version of this file to be governed by only the CDDL or -REM only the GPL Version 2, indicate your decision by adding "[Contributor] -REM elects to include this software in this distribution under the [CDDL or GPL -REM Version 2] license." If you don't indicate a single choice of license, a -REM recipient has the option to distribute your version of this file under -REM either the CDDL, the GPL Version 2 or to extend the choice of license to -REM its licensees as provided above. However, if you add GPL Version 2 code -REM and therefore, elected the GPL Version 2 license, then the option applies -REM only if the new code is made subject to such option by the copyright -REM holder. -REM -comp Release\DcomConfigurator.exe ..\..\cli\src\main\resources\lib\DcomConfigurator.exe diff --git a/nucleus/cluster/windows/Native/deploy.bat b/nucleus/cluster/windows/Native/deploy.bat deleted file mode 100644 index d86a6836114..00000000000 --- a/nucleus/cluster/windows/Native/deploy.bat +++ /dev/null @@ -1,41 +0,0 @@ -@echo off -REM -REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -REM -REM Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. -REM -REM The contents of this file are subject to the terms of either the GNU -REM General Public License Version 2 only ("GPL") or the Common Development -REM and Distribution License("CDDL") (collectively, the "License"). You -REM may not use this file except in compliance with the License. You can -REM obtain a copy of the License at -REM https://github.com/payara/Payara/blob/main/LICENSE.txt -REM See the License for the specific -REM language governing permissions and limitations under the License. -REM -REM When distributing the software, include this License Header Notice in each -REM file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -REM -REM GPL Classpath Exception: -REM Oracle designates this particular file as subject to the "Classpath" -REM exception as provided by Oracle in the GPL Version 2 section of the License -REM file that accompanied this code. -REM -REM Modifications: -REM If applicable, add the following below the License Header, with the fields -REM enclosed by brackets [] replaced by your own identifying information: -REM "Portions Copyright [year] [name of copyright owner]" -REM -REM Contributor(s): -REM If you wish your version of this file to be governed by only the CDDL or -REM only the GPL Version 2, indicate your decision by adding "[Contributor] -REM elects to include this software in this distribution under the [CDDL or GPL -REM Version 2] license." If you don't indicate a single choice of license, a -REM recipient has the option to distribute your version of this file under -REM either the CDDL, the GPL Version 2 or to extend the choice of license to -REM its licensees as provided above. However, if you add GPL Version 2 code -REM and therefore, elected the GPL Version 2 license, then the option applies -REM only if the new code is made subject to such option by the copyright -REM holder. -REM -copy Release\DcomConfigurator.exe ..\..\cli\src\main\resources\lib\DcomConfigurator.exe diff --git a/nucleus/cluster/windows/README.txt b/nucleus/cluster/windows/README.txt deleted file mode 100644 index 475bb1d27a7..00000000000 --- a/nucleus/cluster/windows/README.txt +++ /dev/null @@ -1 +0,0 @@ -I THINK this is the source for the DcomConfigurator.exe that can be found under nucleus/cluster/cli? \ No newline at end of file diff --git a/nucleus/core/logging/src/main/java/com/sun/enterprise/server/logging/logviewer/backend/LogFilterForInstance.java b/nucleus/core/logging/src/main/java/com/sun/enterprise/server/logging/logviewer/backend/LogFilterForInstance.java index 088a3689ef9..8c7f2c47354 100644 --- a/nucleus/core/logging/src/main/java/com/sun/enterprise/server/logging/logviewer/backend/LogFilterForInstance.java +++ b/nucleus/core/logging/src/main/java/com/sun/enterprise/server/logging/logviewer/backend/LogFilterForInstance.java @@ -37,7 +37,7 @@ * only if the new code is made subject to such option by the copyright * holder. * - * Portions Copyright [2017-2018] Payara Foundation and/or affiliates + * Portions Copyright [2017-2026] Payara Foundation and/or affiliates */ package com.sun.enterprise.server.logging.logviewer.backend; @@ -46,9 +46,6 @@ import com.sun.enterprise.config.serverbeans.Node; import com.sun.enterprise.config.serverbeans.Nodes; import com.sun.enterprise.config.serverbeans.Server; -import com.sun.enterprise.util.cluster.windows.io.WindowsRemoteFile; -import com.sun.enterprise.util.cluster.windows.io.WindowsRemoteFileSystem; -import com.sun.enterprise.util.cluster.windows.process.WindowsException; import com.trilead.ssh2.SCPClient; import com.trilead.ssh2.SFTPv3DirectoryEntry; import com.trilead.ssh2.SFTPv3FileAttributes; @@ -64,7 +61,6 @@ import org.glassfish.cluster.ssh.launcher.SSHLauncher; import org.glassfish.cluster.ssh.sftp.SFTPClient; -import org.glassfish.cluster.ssh.util.DcomInfo; import org.glassfish.hk2.api.ServiceLocator; /** @@ -157,31 +153,6 @@ public File downloadGivenInstanceLogFile(ServiceLocator habitat, Server targetSe } } sftpClient.close(); - } else if (node.getType().equals("DCOM")) { - - File logFileDirectoryOnServer = makingDirectory(domainRoot + File.separator + "logs" - + File.separator + instanceName); - - - String loggingDir = getLoggingDirectoryForNode(instanceLogFileName, node, sNode, instanceName); - - try { - DcomInfo info = new DcomInfo(node); - WindowsRemoteFileSystem wrfs = new WindowsRemoteFileSystem(info.getHost(), info.getUser(), info.getPassword()); - - if (logFileName == null || logFileName.equals("")) { - logFileName = "server.log"; - } - WindowsRemoteFile wrf = new WindowsRemoteFile(wrfs, loggingDir + File.separator + logFileName); - - instanceLogFile = new File(logFileDirectoryOnServer + File.separator + logFileName); - - wrf.copyTo(instanceLogFile); - } catch (WindowsException ex) { - throw new IOException("Unable to download instance log file from DCOM Instance Node"); - } - - } return instanceLogFile; @@ -242,29 +213,6 @@ public void downloadAllInstanceLogFiles(ServiceLocator habitat, Server targetSer SCPClient scpClient = sshL.getSCPClient(); scpClient.get(remoteFileNames, tempDirectoryOnServer); - } else if (node.getType().equals("DCOM")) { - - List instanceLogFileNames = getInstanceLogFileNames(habitat, targetServer, domain, logger, instanceName, instanceLogFileDirectory); - - String sourceDir = getLoggingDirectoryForNode(instanceLogFileDirectory, node, sNode, instanceName); - - try { - DcomInfo info = new DcomInfo(node); - - WindowsRemoteFileSystem wrfs = new WindowsRemoteFileSystem(info.getHost(), info.getUser(), info.getPassword()); - - for (int i = 0; i < instanceLogFileNames.size(); i++) { - - String logFileName = (String) instanceLogFileNames.get(i); - WindowsRemoteFile wrf = new WindowsRemoteFile(wrfs, sourceDir + File.separator + logFileName); - File instanceLogFile = new File(tempDirectoryOnServer + File.separator + logFileName); - wrf.copyTo(instanceLogFile); - } - } catch (WindowsException ex) { - throw new IOException("Unable to download instance log file from DCOM Instance Node"); - } - - } } @@ -359,29 +307,6 @@ public List getInstanceLogFileNames(ServiceLocator habitat, Server targe } sftpClient.close(); - } else if (node.getType().equals("DCOM")) { - - String loggingDir = getLoggingDirectoryForNode(instanceLogFileDetails, node, sNode, instanceName); - - try { - DcomInfo info = new DcomInfo(node); - WindowsRemoteFileSystem wrfs = new WindowsRemoteFileSystem(info.getHost(), info.getUser(), info.getPassword()); - WindowsRemoteFile wrf = new WindowsRemoteFile(wrfs, loggingDir); - String[] allLogFileNames = wrf.list(); - - for (String allLogFileName : allLogFileNames) { - File file = new File(allLogFileName); - String fileName = file.getName(); - // code to remove . and .. file which is return - if (!fileName.equals(".") && !fileName.equals("..") && fileName.contains(".log") - && !fileName.contains(".log.")) { - instanceLogFileNamesAsString.add(fileName); - } - } - } catch (WindowsException ex) { - throw new IOException("Unable to get instance log file names from DCOM Instance Node"); - } - } return instanceLogFileNamesAsString; diff --git a/nucleus/packager/external/j-interop/osgi.bundle b/nucleus/packager/external/j-interop/osgi.bundle deleted file mode 100644 index 7cbe958c660..00000000000 --- a/nucleus/packager/external/j-interop/osgi.bundle +++ /dev/null @@ -1,48 +0,0 @@ -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -# -# Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. -# -# The contents of this file are subject to the terms of either the GNU -# General Public License Version 2 only ("GPL") or the Common Development -# and Distribution License("CDDL") (collectively, the "License"). You -# may not use this file except in compliance with the License. You can -# obtain a copy of the License at -# https://github.com/payara/Payara/blob/main/LICENSE.txt -# See the License for the specific -# language governing permissions and limitations under the License. -# -# When distributing the software, include this License Header Notice in each -# file and include the License file at legal/OPEN-SOURCE-LICENSE.txt. -# -# GPL Classpath Exception: -# Oracle designates this particular file as subject to the "Classpath" -# exception as provided by Oracle in the GPL Version 2 section of the License -# file that accompanied this code. -# -# Modifications: -# If applicable, add the following below the License Header, with the fields -# enclosed by brackets [] replaced by your own identifying information: -# "Portions Copyright [year] [name of copyright owner]" -# -# Contributor(s): -# If you wish your version of this file to be governed by only the CDDL or -# only the GPL Version 2, indicate your decision by adding "[Contributor] -# elects to include this software in this distribution under the [CDDL or GPL -# Version 2] license." If you don't indicate a single choice of license, a -# recipient has the option to distribute your version of this file under -# either the CDDL, the GPL Version 2 or to extend the choice of license to -# its licensees as provided above. However, if you add GPL Version 2 code -# and therefore, elected the GPL Version 2 license, then the option applies -# only if the new code is made subject to such option by the copyright -# holder. -# - -Export-Package: \ -jcifs.smb;\ -org.jinterop.dcom.common;\ -org.jinterop.dcom.core;\ -org.jinterop.dcom.impls;\ -org.jinterop.dcom.impls.automation;\ -password="GlassFish";\ -mandatory:=password diff --git a/nucleus/packager/external/j-interop/pom.xml b/nucleus/packager/external/j-interop/pom.xml deleted file mode 100644 index bd76bfb3d12..00000000000 --- a/nucleus/packager/external/j-interop/pom.xml +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - fish.payara.server.internal.packager - nucleus-external - 7.2026.2-SNAPSHOT - - 4.0.0 - j-interop-repackaged - j-interop repackaged as a module - - - - org.apache.maven.plugins - maven-jar-plugin - - - default-jar - - true - - - - - - org.apache.felix - maven-bundle-plugin - - - - *;scope=compile;inline=true - - !jakarta.servlet,!jakarta.servlet.http,* - - !* - - ${project.groupId}:${project.artifactId} - - - true - - - - osgi-bundle - package - - bundle - - - - - - - - - - org.jinterop - j-interop - 2.0.4 - true - - - org.jinterop - j-interopdeps - 2.0.4 - true - - - org.samba.jcifs - jcifs - 1.3.3 - true - - - - - mode - Byron Nevins - Oracle Corporation - - developer - - - - diff --git a/nucleus/packager/external/pom.xml b/nucleus/packager/external/pom.xml index b432fcfdd13..00e0cdd60e3 100644 --- a/nucleus/packager/external/pom.xml +++ b/nucleus/packager/external/pom.xml @@ -66,7 +66,6 @@ ldapbp vboxjws trilead-ssh2 - j-interop antlr opentracing-repackaged opentelemetry-repackaged diff --git a/nucleus/packager/nucleus-cluster/pom.xml b/nucleus/packager/nucleus-cluster/pom.xml index 3fabeede063..1446115db6b 100644 --- a/nucleus/packager/nucleus-cluster/pom.xml +++ b/nucleus/packager/nucleus-cluster/pom.xml @@ -83,12 +83,6 @@ ${project.version} true - - fish.payara.server.internal.packager - j-interop-repackaged - ${project.version} - true - fish.payara.server.internal.packager trilead-ssh2-repackaged