diff --git a/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_de.properties b/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_de.properties index 78dfd411500..13fac302c4f 100644 --- a/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_de.properties +++ b/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/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] [Payara Foundation and/or its affiliates] +# Portions Copyright 2016-2026 Payara Foundation and/or its affiliates ## 'server' is the name of the server instance. No Not Translate it. tree.adminServer=Server (Admin-Server) @@ -50,7 +50,6 @@ msg.JS.confirmDeleteAuditModules=Die ausgew\u00E4hlten Auditmodule werden gel\u0 msg.JS.confirmDeleteMsgSecurities=Die ausgew\u00E4hlten Nachrichtensicherheitskonfigurationen werden gel\u00F6scht. Fortfahren? msg.JS.confirmDeleteMsgProviders=Die ausgew\u00E4hlten Provider werden gel\u00F6scht. Fortfahren? msg.JS.confirmDeleteUser=Die ausgew\u00E4hlten Benutzer werden gel\u00F6scht. Fortfahren? -msg.JS.confirmDeleteLifecycle=Die ausgew\u00E4hlten Lebenszyklusmodule werden gel\u00F6scht. Fortfahren? msg.JS.confirmDeleteProfiler=Profiler wird gel\u00F6scht. Fortfahren? msg.JS.confirmDeleteConfigs=Die ausgew\u00E4hlten Konfigurationen werden gel\u00F6scht. Fortfahren? msg.JS.confirmRotateLog=Logdatei w\u00FCrde rotiert werden. Fortfahren ? @@ -415,26 +414,6 @@ jvmReport.Memory=Speicher jvmReport.ClLoading=Klassenladevorgang jvmReport.ThDump=Thread-Dump -lifecycleModules.title=Lebenszyklusmodule -lifecycleModules.titleHelp=Ein Lebenszyklusmodul f\u00FChrt Aufgaben durch, wenn es von einem oder mehreren Ereignissen w\u00E4hrend des Lebenszyklus des Servers ausgel\u00F6st wird. M\u00F6gliche Triggerserverereignisse: Initialisierung, Hochfahren, Bereit zur Bearbeitung von Anforderungen und Herunterfahren. Lebenszyklusmodule sind nicht Teil der Java-Spezifikation, stellen jedoch eine Erweiterung zu Payara Server dar. -lifecycleModule.editPageTitle=Lebenszyklusmodul bearbeiten -lifecycleModule.editPageTitleHelp=\u00C4ndern Sie ein vorhandenes Lebenszyklusmodul. -lifecycleModule.newPageTitle=Neues Lebenszyklusmodul -lifecycleModule.newPageTitleHelp=Ein Lebenszyklusmodul f\u00FChrt Aufgaben durch, wenn es von einem oder mehreren Ereignissen w\u00E4hrend des Lebenszyklus des Servers ausgel\u00F6st wird. M\u00F6gliche Triggerserverereignisse: Initialisierung, Hochfahren, Bereit zur Bearbeitung von Anforderungen und Herunterfahren. -lifecycleModule.targetPageTitle=Lebenszyklusmodul-Ziele -lifecycleModule.targetPageTitleHelp=Verwalten Sie die Ziele (Cluster und Standalone-Serverinstanzen), auf denen dieses Lebenszyklusmodul verf\u00FCgbar ist. - -lifecycleModule.classname=Klassenname: -lifecycleModule.classnameHelp=Der Name darf ausschlie\u00DFlich alphanumerische Zeichen, Unterstriche, Bindestriche oder Punkte enthalten. -lifecycleModule.classPath=Classpath: -lifecycleModule.classPathHelp=Kann leer sein, wenn die Klasse bereits im Server-Classpath vorhanden ist. -lifecycleModule.loadOrder=Ladereihenfolge: -lifecycleModule.loadOrderHelp=Reihenfolge, in der die Lebenszyklusmodule beim Hochfahren des Servers geladen werden. Module mit kleineren Ganzzahlen werden eher geladen. -lifecycleModule.onLoadFailure=Bei Ladefehler: -lifecycleModule.preventStart=Hochfahren der Instanz verhindern -lifecycleModule.onLoadFailureHelp=Wenn das Modul nicht geladen werden kann, Instanz nicht starten. - - button.DeleteProfiler=Profiler l\u00F6schen button.CreateProfiler=Profiler erstellen button.enableSecureAdmin=Sichere Administration aktivieren diff --git a/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_es.properties b/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_es.properties index 2274a8a0267..0cc75294010 100644 --- a/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_es.properties +++ b/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_es.properties @@ -37,7 +37,7 @@ # only if the new code is made subject to such option by the copyright # holder. # -# Portions Copyright [2016-2019] [Payara Foundation and/or its affiliates] +# Portions Copyright 2016-2026 Payara Foundation and/or its affiliates ## 'server' is the name of the server instance. No Not Translate it. tree.adminServer=server (Servidor de Administraci\u00F3n) @@ -50,7 +50,6 @@ msg.JS.confirmDeleteAuditModules=Se suprimir\u00E1n los m\u00F3dulos de auditor\ msg.JS.confirmDeleteMsgSecurities=Se suprimir\u00E1n las configuraciones de seguridad de mensajes seleccionadas. \u00BFDesea continuar? msg.JS.confirmDeleteMsgProviders=Se suprimir\u00E1n los proveedores seleccionados. \u00BFDesea continuar? msg.JS.confirmDeleteUser=Se suprimir\u00E1n los usuarios seleccionados. \u00BFDesea continuar? -msg.JS.confirmDeleteLifecycle=Se suprimir\u00E1n los m\u00F3dulos de ciclo de vida seleccionados. \u00BFDesea continuar? msg.JS.confirmDeleteProfiler=Se suprimir\u00E1 el analizador de perfiles. \u00BFDesea continuar? msg.JS.confirmDeleteConfigs=Se suprimir\u00E1n las configuraciones seleccionadas. \u00BFDesea continuar? msg.JS.confirmRotateLog=El archivo log se rotar\u00EDa. \u00BFDesea continuar? @@ -415,26 +414,6 @@ jvmReport.Memory=Memoria jvmReport.ClLoading=Carga de Clase jvmReport.ThDump=Volcado de Threads -lifecycleModules.title=M\u00F3dulos de Ciclo de Vida -lifecycleModules.titleHelp=Un m\u00F3dulo de ciclo de vida realiza tareas cuando uno o varios eventos del ciclo de vida del servidor disparan este componente. Entre los posibles eventos de disparador del servidor se incluyen: inicializaci\u00F3n, inicio, listo para atender las solicitudes y cierre. Los m\u00F3dulos de ciclo de vida no forman parte de la especificaci\u00F3n Java, pero son una mejora de Payara Server. -lifecycleModule.editPageTitle=Editar M\u00F3dulo de Ciclo de Vida -lifecycleModule.editPageTitleHelp=Modifique un m\u00F3dulo del ciclo de vida existente. -lifecycleModule.newPageTitle=Nuevo M\u00F3dulo de Ciclo de Vida -lifecycleModule.newPageTitleHelp=Un m\u00F3dulo de ciclo de vida realiza tareas cuando uno o varios eventos del ciclo de vida del servidor disparan este componente. Entre los posibles eventos de disparador del servidor se incluyen: inicializaci\u00F3n, inicio, listo para atender las solicitudes y cierre. -lifecycleModule.targetPageTitle=Destinos del M\u00F3dulo de Ciclo de Vida -lifecycleModule.targetPageTitleHelp=Gestione los destinos (clusters e instancias del servidor independientes) en que este m\u00F3dulo de ciclo de vida est\u00E1 disponible. - -lifecycleModule.classname=Nombre de Clase: -lifecycleModule.classnameHelp=El nombre s\u00F3lo debe contener caracteres alfanum\u00E9ricos, de subrayado, guiones y puntos. -lifecycleModule.classPath=Classpath: -lifecycleModule.classPathHelp=Puede estar en blanco si la clase ya est\u00E1 incluida en la classpath del servidor. -lifecycleModule.loadOrder=Orden de Carga: -lifecycleModule.loadOrderHelp=Orden en que se cargan los m\u00F3dulos del ciclo de vida cuando se inicia el servidor. Los m\u00F3dulos con n\u00FAmeros enteros m\u00E1s bajos se cargan antes. -lifecycleModule.onLoadFailure=Ante Fallo de Carga: -lifecycleModule.preventStart=Evitar Inicio de Instancia -lifecycleModule.onLoadFailureHelp=Si falla la carga del m\u00F3dulo, no inicie la instancia. - - button.DeleteProfiler=Suprimir Analizador de Perfiles button.CreateProfiler=Crear Analizador de Perfiles button.enableSecureAdmin=Activar Administraci\u00F3n Segura diff --git a/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_fr.properties b/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_fr.properties index 7bb1297a0ad..25d09204b08 100644 --- a/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_fr.properties +++ b/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/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] [Payara Foundation and/or its affiliates] +# Portions Copyright 2016-2026 Payara Foundation and/or its affiliates ## 'server' is the name of the server instance. No Not Translate it. tree.adminServer=serveur (serveur d'administration) @@ -50,7 +50,6 @@ msg.JS.confirmDeleteAuditModules=Les modules d\u2019audit s\u00E9lectionn\u00E9s msg.JS.confirmDeleteMsgSecurities=Les configurations de s\u00E9curit\u00E9 des messages s\u00E9lectionn\u00E9es vont \u00EAtre supprim\u00E9es. Voulez-vous continuer ? msg.JS.confirmDeleteMsgProviders=Les fournisseurs s\u00E9lectionn\u00E9s vont \u00EAtre supprim\u00E9s. Voulez-vous continuer ? msg.JS.confirmDeleteUser=Les utilisateurs s\u00E9lectionn\u00E9s vont \u00EAtre supprim\u00E9s. Voulez-vous continuer ? -msg.JS.confirmDeleteLifecycle=Les modules de cycle de vie s\u00E9lectionn\u00E9s vont \u00EAtre supprim\u00E9s. Voulez-vous continuer ? msg.JS.confirmDeleteProfiler=L\u2019analyseur de perfomarnces va \u00EAtre supprim\u00E9. Voulez-vous continuer ? msg.JS.confirmDeleteConfigs=Les configurations s\u00E9lectionn\u00E9es vont \u00EAtre supprim\u00E9es. Voulez-vous continuer ? msg.JS.confirmRotateLog=Le fichier journal va changer. Voulez-vous continuer ? @@ -415,26 +414,6 @@ jvmReport.Memory=M\u00E9moire jvmReport.ClLoading=Chargement de classe jvmReport.ThDump=Vidage de thread -lifecycleModules.title=Modules de cycle de vie -lifecycleModules.titleHelp=Un module de cycle de vie ex\u00E9cute des t\u00E2ches lorsqu'il est d\u00E9clench\u00E9 par des \u00E9v\u00E9nements dans le cycle de vie du serveur. Les \u00E9v\u00E9nements serveur pouvant servir de d\u00E9clencheurs sont les suivants : initialisation, d\u00E9marrage, pr\u00EAt pour le traitement des demandes et arr\u00EAt. Les modules de cycle de vie ne font pas partie de la sp\u00E9cification Java, mais ils constituent un enrichissement de Payara Server. -lifecycleModule.editPageTitle=Modifier le module de cycle de vie -lifecycleModule.editPageTitleHelp=Modifiez un module du cycle de vie existant. -lifecycleModule.newPageTitle=Nouveau module de cycle de vie -lifecycleModule.newPageTitleHelp=Un module de cycle de vie ex\u00E9cute des t\u00E2ches lorsqu'il est d\u00E9clench\u00E9 par des \u00E9v\u00E9nements dans le cycle de vie du serveur. Les \u00E9v\u00E9nements serveur pouvant servir de d\u00E9clencheurs sont les suivants : initialisation, d\u00E9marrage, pr\u00EAt pour le traitement des demandes et arr\u00EAt. -lifecycleModule.targetPageTitle=Cibles de module de cycle de vie -lifecycleModule.targetPageTitleHelp=G\u00E9rez les cibles (clusters et instances de serveur autonomes) sur lesquelles le module de cycle de vie est disponible. - -lifecycleModule.classname=Nom de classe : -lifecycleModule.classnameHelp=Le nom ne peut contenir que des caract\u00E8res alphanum\u00E9riques, des traits de soulignement, des tirets ou des points. -lifecycleModule.classPath=Classpath : -lifecycleModule.classPathHelp=Peut \u00EAtre laiss\u00E9 vide si la classe est d\u00E9j\u00E0 indiqu\u00E9e dans la variable classpath du serveur. -lifecycleModule.loadOrder=Ordre de chargement : -lifecycleModule.loadOrderHelp=Ordre dans lequel les modules du cycle de vie sont charg\u00E9s au d\u00E9marrage du serveur. Les modules pourvus de nombres entiers inf\u00E9rieurs sont charg\u00E9s en premier. -lifecycleModule.onLoadFailure=Echec lors du chargement : -lifecycleModule.preventStart=Emp\u00EAcher le d\u00E9marrage de l'instance -lifecycleModule.onLoadFailureHelp=Si le chargement du module \u00E9choue, ne d\u00E9marrez pas l'instance. - - button.DeleteProfiler=Supprimer l'analyseur de perfomarnces button.CreateProfiler=Cr\u00E9er un analyseur de perfomarnces button.enableSecureAdmin=Activer l'administration s\u00E9curis\u00E9e diff --git a/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_it.properties b/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_it.properties index d7aff2dad2c..2168ffe4fe7 100644 --- a/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_it.properties +++ b/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/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] [Payara Foundation and/or its affiliates] +# Portions Copyright 2016-2026 Payara Foundation and/or its affiliates ## 'server' is the name of the server instance. No Not Translate it. tree.adminServer=server (server di amministrazione) @@ -50,7 +50,6 @@ msg.JS.confirmDeleteAuditModules=Il modulo o i moduli di audit selezionati verra msg.JS.confirmDeleteMsgSecurities=La configurazione o le configurazioni della sicurezza dei messaggi selezionate verranno eliminate. Continuare? msg.JS.confirmDeleteMsgProviders=Il provider o i provider selezionati verranno eliminati. Continuare? msg.JS.confirmDeleteUser=L\u2019utente o gli utenti selezionati verranno eliminati. Continuare? -msg.JS.confirmDeleteLifecycle=Il modulo o i moduli del ciclo di vita selezionati verranno eliminati. Continuare? msg.JS.confirmDeleteProfiler=Il profiler verr\u00E0 eliminato. Continuare? msg.JS.confirmDeleteConfigs=La configurazione o le configurazioni selezionate verranno eliminate. Continuare? msg.JS.confirmRotateLog=Verrebbe eseguita la rotazione del file di log. Continuare? @@ -415,26 +414,6 @@ jvmReport.Memory=Memoria jvmReport.ClLoading=Caricamento classi jvmReport.ThDump=Dump dei thread -lifecycleModules.title=Moduli del ciclo di vita -lifecycleModules.titleHelp=Un modulo del ciclo di vita esegue task quando viene attivato da uno o pi\u00F9 eventi nel ciclo di vita del server. I possibili eventi di attivazione del server sono: inizializzazione, avvio, preparazione all'elaborazione delle richieste e chiusura. I moduli del ciclo di vita non fanno parte della specifica Java, ma sono un miglioramento apportato a Payara Server. -lifecycleModule.editPageTitle=Modifica modulo ciclo di vita -lifecycleModule.editPageTitleHelp=Modifica un modulo del ciclo di vita esistente. -lifecycleModule.newPageTitle=Nuovo modulo ciclo di vita -lifecycleModule.newPageTitleHelp=Un modulo del ciclo di vita esegue task quando viene attivato da uno o pi\u00F9 eventi nel ciclo di vita del server. I possibili eventi di attivazione del server sono: inizializzazione, avvio, preparazione all'elaborazione delle richieste e chiusura. -lifecycleModule.targetPageTitle=Destinazioni moduli del ciclo di vita -lifecycleModule.targetPageTitleHelp=Consente di gestire le destinazioni (cluster e istanze server standalone) in cui \u00E8 disponibile il modulo del ciclo di vita. - -lifecycleModule.classname=Nome classe: -lifecycleModule.classnameHelp=Il nome deve contenere solo caratteri alfanumerici, caratteri di sottolineatura, lineette o punti. -lifecycleModule.classPath=Classpath: -lifecycleModule.classPathHelp=Il campo pu\u00F2 essere vuoto se la classe si trova gi\u00E0 nel classpath del server. -lifecycleModule.loadOrder=Ordine di caricamento: -lifecycleModule.loadOrderHelp=Ordine in cui vengono caricati i moduli del ciclo di vita all'avvio del server. I moduli con numeri interi pi\u00F9 piccoli vengono caricati prima. -lifecycleModule.onLoadFailure=In caso di errore di caricamento: -lifecycleModule.preventStart=Impedisci avvio istanza -lifecycleModule.onLoadFailureHelp=Se il caricamento del modulo ha esito negativo, l'istanza non viene avviata. - - button.DeleteProfiler=Elimina profiler button.CreateProfiler=Crea profiler button.enableSecureAdmin=Abilita amministrazione sicura diff --git a/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_ja.properties b/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_ja.properties index 45100429263..da3ddb2f524 100644 --- a/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_ja.properties +++ b/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_ja.properties @@ -37,7 +37,7 @@ # only if the new code is made subject to such option by the copyright # holder. # -# Portions Copyright [2016] [Payara Foundation and/or its affiliates] +# Portions Copyright 2016-2026 Payara Foundation and/or its affiliates ## 'server' is the name of the server instance. No Not Translate it. tree.adminServer=\u30B5\u30FC\u30D0\u30FC(\u7BA1\u7406\u30B5\u30FC\u30D0\u30FC) @@ -50,7 +50,6 @@ msg.JS.confirmDeleteAuditModules=\u9078\u629E\u3057\u305F\u76E3\u67FB\u30E2\u30B msg.JS.confirmDeleteMsgSecurities=\u9078\u629E\u3057\u305F\u30E1\u30C3\u30BB\u30FC\u30B8\u30FB\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u69CB\u6210\u306F\u524A\u9664\u3055\u308C\u307E\u3059\u3002\u7D9A\u884C\u3057\u307E\u3059\u304B\u3002 msg.JS.confirmDeleteMsgProviders=\u9078\u629E\u3057\u305F\u30D7\u30ED\u30D0\u30A4\u30C0\u306F\u524A\u9664\u3055\u308C\u307E\u3059\u3002\u7D9A\u884C\u3057\u307E\u3059\u304B\u3002 msg.JS.confirmDeleteUser=\u9078\u629E\u3057\u305F\u30E6\u30FC\u30B6\u30FC\u306F\u524A\u9664\u3055\u308C\u307E\u3059\u3002\u7D9A\u884C\u3057\u307E\u3059\u304B\u3002 -msg.JS.confirmDeleteLifecycle=\u9078\u629E\u3057\u305F\u30E9\u30A4\u30D5\u30B5\u30A4\u30AF\u30EB\u30FB\u30E2\u30B8\u30E5\u30FC\u30EB\u306F\u524A\u9664\u3055\u308C\u307E\u3059\u3002\u7D9A\u884C\u3057\u307E\u3059\u304B\u3002 msg.JS.confirmDeleteProfiler=\u30D7\u30ED\u30D5\u30A1\u30A4\u30EB\u304C\u524A\u9664\u3055\u308C\u307E\u3059\u3002\u7D9A\u884C\u3057\u307E\u3059\u304B\u3002 msg.JS.confirmDeleteConfigs=\u9078\u629E\u3057\u305F\u69CB\u6210\u304C\u524A\u9664\u3055\u308C\u307E\u3059\u3002\u7D9A\u884C\u3057\u307E\u3059\u304B\u3002 msg.JS.confirmRotateLog=\u30ED\u30B0\u30FB\u30D5\u30A1\u30A4\u30EB\u306F\u30ED\u30FC\u30C6\u30FC\u30B7\u30E7\u30F3\u3055\u308C\u307E\u3059\u3002\u7D9A\u884C\u3057\u307E\u3059\u304B\u3002 @@ -422,26 +421,6 @@ jvmReport.Memory=\u30E1\u30E2\u30EA\u30FC jvmReport.ClLoading=\u30AF\u30E9\u30B9\u306E\u30ED\u30FC\u30C9 jvmReport.ThDump=\u30B9\u30EC\u30C3\u30C9\u30FB\u30C0\u30F3\u30D7 -lifecycleModules.title=\u30E9\u30A4\u30D5\u30B5\u30A4\u30AF\u30EB\u30FB\u30E2\u30B8\u30E5\u30FC\u30EB -lifecycleModules.titleHelp=\u30E9\u30A4\u30D5\u30B5\u30A4\u30AF\u30EB\u30FB\u30E2\u30B8\u30E5\u30FC\u30EB\u306F\u3001\u30B5\u30FC\u30D0\u30FC\u306E\u30E9\u30A4\u30D5\u30B5\u30A4\u30AF\u30EB\u306B\u304A\u3051\u308B1\u3064\u307E\u305F\u306F\u8907\u6570\u306E\u30A4\u30D9\u30F3\u30C8\u306B\u3088\u3063\u3066\u30C8\u30EA\u30AC\u30FC\u3055\u308C\u305F\u3068\u304D\u306B\u30BF\u30B9\u30AF\u3092\u5B9F\u884C\u3057\u307E\u3059\u3002\u53EF\u80FD\u306A\u30C8\u30EA\u30AC\u30FC\u30FB\u30B5\u30FC\u30D0\u30FC\u30FB\u30A4\u30D9\u30F3\u30C8\u306F\u3001\u521D\u671F\u5316\u3001\u8D77\u52D5\u3001\u30B5\u30FC\u30D3\u30B9\u30FB\u30EA\u30AF\u30A8\u30B9\u30C8\u306B\u5BFE\u3059\u308B\u6E96\u5099\u3001\u30B7\u30E3\u30C3\u30C8\u30C0\u30A6\u30F3\u3067\u3059\u3002\u30E9\u30A4\u30D5\u30B5\u30A4\u30AF\u30EB\u30FB\u30E2\u30B8\u30E5\u30FC\u30EB\u306FJava\u4ED5\u69D8\u306E\u4E00\u90E8\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u304C\u3001Payara Server\u306E\u62E1\u5F35\u6A5F\u80FD\u3067\u3059\u3002 -lifecycleModule.editPageTitle=\u30E9\u30A4\u30D5\u30B5\u30A4\u30AF\u30EB\u30FB\u30E2\u30B8\u30E5\u30FC\u30EB\u306E\u7DE8\u96C6 -lifecycleModule.editPageTitleHelp=\u65E2\u5B58\u306E\u30E9\u30A4\u30D5\u30B5\u30A4\u30AF\u30EB\u30FB\u30E2\u30B8\u30E5\u30FC\u30EB\u3092\u5909\u66F4\u3057\u307E\u3059\u3002 -lifecycleModule.newPageTitle=\u65B0\u898F\u30E9\u30A4\u30D5\u30B5\u30A4\u30AF\u30EB\u30FB\u30E2\u30B8\u30E5\u30FC\u30EB -lifecycleModule.newPageTitleHelp=\u30E9\u30A4\u30D5\u30B5\u30A4\u30AF\u30EB\u30FB\u30E2\u30B8\u30E5\u30FC\u30EB\u306F\u3001\u30B5\u30FC\u30D0\u30FC\u306E\u30E9\u30A4\u30D5\u30B5\u30A4\u30AF\u30EB\u306B\u304A\u3051\u308B1\u3064\u307E\u305F\u306F\u8907\u6570\u306E\u30A4\u30D9\u30F3\u30C8\u306B\u3088\u3063\u3066\u30C8\u30EA\u30AC\u30FC\u3055\u308C\u305F\u3068\u304D\u306B\u30BF\u30B9\u30AF\u3092\u5B9F\u884C\u3057\u307E\u3059\u3002\u53EF\u80FD\u306A\u30C8\u30EA\u30AC\u30FC\u30FB\u30B5\u30FC\u30D0\u30FC\u30FB\u30A4\u30D9\u30F3\u30C8\u306F\u3001\u521D\u671F\u5316\u3001\u8D77\u52D5\u3001\u30B5\u30FC\u30D3\u30B9\u30FB\u30EA\u30AF\u30A8\u30B9\u30C8\u306B\u5BFE\u3059\u308B\u6E96\u5099\u3001\u30B7\u30E3\u30C3\u30C8\u30C0\u30A6\u30F3\u3067\u3059\u3002 -lifecycleModule.targetPageTitle=\u30E9\u30A4\u30D5\u30B5\u30A4\u30AF\u30EB\u30FB\u30E2\u30B8\u30E5\u30FC\u30EB\u30FB\u30BF\u30FC\u30B2\u30C3\u30C8 -lifecycleModule.targetPageTitleHelp=\u3053\u306E\u30E9\u30A4\u30D5\u30B5\u30A4\u30AF\u30EB\u30FB\u30E2\u30B8\u30E5\u30FC\u30EB\u3092\u4F7F\u7528\u3067\u304D\u308B\u30BF\u30FC\u30B2\u30C3\u30C8(\u30AF\u30E9\u30B9\u30BF\u304A\u3088\u3073\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3\u30FB\u30B5\u30FC\u30D0\u30FC\u30FB\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9)\u3092\u7BA1\u7406\u3057\u307E\u3059\u3002 - -lifecycleModule.classname=\u30AF\u30E9\u30B9\u540D: -lifecycleModule.classnameHelp=\u540D\u524D\u306B\u542B\u3081\u308B\u3053\u3068\u304C\u3067\u304D\u308B\u306E\u306F\u3001\u82F1\u6570\u5B57\u3001\u30A2\u30F3\u30C0\u30FC\u30B9\u30B3\u30A2\u3001\u30C0\u30C3\u30B7\u30E5\u3001\u307E\u305F\u306F\u30C9\u30C3\u30C8\u306E\u5404\u6587\u5B57\u306E\u307F\u3067\u3059\u3002 -lifecycleModule.classPath=\u30AF\u30E9\u30B9\u30FB\u30D1\u30B9: -lifecycleModule.classPathHelp=\u30B5\u30FC\u30D0\u30FC\u306E\u30AF\u30E9\u30B9\u30FB\u30D1\u30B9\u306B\u3059\u3067\u306B\u30AF\u30E9\u30B9\u304C\u542B\u307E\u308C\u308B\u5834\u5408\u306F\u7A7A\u767D\u306B\u3067\u304D\u307E\u3059\u3002 -lifecycleModule.loadOrder=\u30ED\u30FC\u30C9\u9806\u5E8F: -lifecycleModule.loadOrderHelp=\u30B5\u30FC\u30D0\u30FC\u306E\u8D77\u52D5\u6642\u306B\u30E9\u30A4\u30D5\u30B5\u30A4\u30AF\u30EB\u30FB\u30E2\u30B8\u30E5\u30FC\u30EB\u304C\u30ED\u30FC\u30C9\u3055\u308C\u308B\u9806\u5E8F\u3002\u6574\u6570\u3067\u6307\u5B9A\u3057\u307E\u3059\u3002\u3053\u306E\u6570\u5024\u304C\u5C0F\u3055\u3044\u30E2\u30B8\u30E5\u30FC\u30EB\u307B\u3069\u5148\u306B\u30ED\u30FC\u30C9\u3055\u308C\u307E\u3059\u3002 -lifecycleModule.onLoadFailure=\u30ED\u30FC\u30C9\u969C\u5BB3\u6642: -lifecycleModule.preventStart=\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u3092\u8D77\u52D5\u3057\u306A\u3044 -lifecycleModule.onLoadFailureHelp=\u30E2\u30B8\u30E5\u30FC\u30EB\u306E\u30ED\u30FC\u30C9\u306B\u5931\u6557\u3057\u305F\u5834\u5408\u306F\u3001\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u3092\u8D77\u52D5\u3057\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002 - - button.DeleteProfiler=\u30D7\u30ED\u30D5\u30A1\u30A4\u30E9\u306E\u524A\u9664 button.CreateProfiler=\u30D7\u30ED\u30D5\u30A1\u30A4\u30E9\u306E\u4F5C\u6210 button.enableSecureAdmin=\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u4FDD\u8B77\u3055\u308C\u305F\u7BA1\u7406\u306E\u6709\u52B9\u5316 diff --git a/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_ko.properties b/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_ko.properties index 4a9e8174bb0..fb300b4af79 100644 --- a/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_ko.properties +++ b/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/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-2019] [Payara Foundation and/or its affiliates] +# Portions Copyright 2016-2026 Payara Foundation and/or its affiliates ## 'server' is the name of the server instance. No Not Translate it. tree.adminServer=server(\uAD00\uB9AC \uC11C\uBC84) @@ -50,7 +50,6 @@ msg.JS.confirmDeleteAuditModules=\uC120\uD0DD\uD55C \uAC10\uC0AC \uBAA8\uB4C8\uC msg.JS.confirmDeleteMsgSecurities=\uC120\uD0DD\uD55C \uBA54\uC2DC\uC9C0 \uBCF4\uC548 \uAD6C\uC131\uC774 \uC0AD\uC81C\uB429\uB2C8\uB2E4. \uACC4\uC18D\uD558\uACA0\uC2B5\uB2C8\uAE4C? msg.JS.confirmDeleteMsgProviders=\uC120\uD0DD\uD55C \uC81C\uACF5\uC790\uAC00 \uC0AD\uC81C\uB429\uB2C8\uB2E4. \uACC4\uC18D\uD558\uACA0\uC2B5\uB2C8\uAE4C? msg.JS.confirmDeleteUser=\uC120\uD0DD\uD55C \uC0AC\uC6A9\uC790\uAC00 \uC0AD\uC81C\uB429\uB2C8\uB2E4. \uACC4\uC18D\uD558\uACA0\uC2B5\uB2C8\uAE4C? -msg.JS.confirmDeleteLifecycle=\uC120\uD0DD\uD55C \uC218\uBA85 \uC8FC\uAE30 \uBAA8\uB4C8\uC774 \uC0AD\uC81C\uB429\uB2C8\uB2E4. \uACC4\uC18D\uD558\uACA0\uC2B5\uB2C8\uAE4C? msg.JS.confirmDeleteProfiler=\uD504\uB85C\uD30C\uC77C\uB7EC\uAC00 \uC0AD\uC81C\uB429\uB2C8\uB2E4. \uACC4\uC18D\uD558\uACA0\uC2B5\uB2C8\uAE4C? msg.JS.confirmDeleteConfigs=\uC120\uD0DD\uD55C \uAD6C\uC131\uC774 \uC0AD\uC81C\uB429\uB2C8\uB2E4. \uACC4\uC18D\uD558\uACA0\uC2B5\uB2C8\uAE4C? msg.JS.confirmRotateLog=\uB85C\uADF8 \uD30C\uC77C\uC774 \uD68C\uC804\uB429\uB2C8\uB2E4. \uACC4\uC18D\uD558\uACA0\uC2B5\uB2C8\uAE4C? @@ -415,26 +414,6 @@ jvmReport.Memory=\uBA54\uBAA8\uB9AC jvmReport.ClLoading=\uD074\uB798\uC2A4 \uB85C\uB529 jvmReport.ThDump=\uC2A4\uB808\uB4DC \uB364\uD504 -lifecycleModules.title=\uC218\uBA85 \uC8FC\uAE30 \uBAA8\uB4C8 -lifecycleModules.titleHelp=\uC218\uBA85 \uC8FC\uAE30 \uBAA8\uB4C8\uC740 \uC11C\uBC84\uC758 \uC218\uBA85 \uC8FC\uAE30\uC5D0\uC11C \uD55C \uAC1C \uC774\uC0C1\uC758 \uC774\uBCA4\uD2B8\uB85C \uC2E4\uD589\uB418\uBA74 \uC791\uC5C5\uC744 \uC218\uD589\uD569\uB2C8\uB2E4. \uBC1C\uC0DD\uD560 \uC218 \uC788\uB294 \uD2B8\uB9AC\uAC70 \uC11C\uBC84 \uC774\uBCA4\uD2B8\uC5D0\uB294 \uCD08\uAE30\uD654, \uC2DC\uC791, \uC694\uCCAD \uC11C\uBE44\uC2A4 \uC900\uBE44 \uBC0F \uC885\uB8CC \uB4F1\uC774 \uC788\uC2B5\uB2C8\uB2E4. \uC218\uBA85 \uC8FC\uAE30 \uBAA8\uB4C8\uC740 Java \uC0AC\uC591\uC758 \uC77C\uBD80\uAC00 \uC544\uB2C8\uC9C0\uB9CC Payara Server\uC758 \uAC1C\uC120 \uC0AC\uD56D\uC785\uB2C8\uB2E4. -lifecycleModule.editPageTitle=\uC218\uBA85 \uC8FC\uAE30 \uBAA8\uB4C8 \uD3B8\uC9D1 -lifecycleModule.editPageTitleHelp=\uAE30\uC874 \uC218\uBA85 \uC8FC\uAE30 \uBAA8\uB4C8\uC744 \uC218\uC815\uD569\uB2C8\uB2E4. -lifecycleModule.newPageTitle=\uC0C8 \uC218\uBA85 \uC8FC\uAE30 \uBAA8\uB4C8 -lifecycleModule.newPageTitleHelp=\uC218\uBA85 \uC8FC\uAE30 \uBAA8\uB4C8\uC740 \uC11C\uBC84\uC758 \uC218\uBA85 \uC8FC\uAE30\uC5D0\uC11C \uD55C \uAC1C \uC774\uC0C1\uC758 \uC774\uBCA4\uD2B8\uB85C \uC2E4\uD589\uB418\uBA74 \uC791\uC5C5\uC744 \uC218\uD589\uD569\uB2C8\uB2E4. \uBC1C\uC0DD\uD560 \uC218 \uC788\uB294 \uD2B8\uB9AC\uAC70 \uC11C\uBC84 \uC774\uBCA4\uD2B8\uC5D0\uB294 \uCD08\uAE30\uD654, \uC2DC\uC791, \uC694\uCCAD \uC11C\uBE44\uC2A4 \uC900\uBE44 \uBC0F \uC885\uB8CC \uB4F1\uC774 \uC788\uC2B5\uB2C8\uB2E4. -lifecycleModule.targetPageTitle=\uC218\uBA85 \uC8FC\uAE30 \uBAA8\uB4C8 \uB300\uC0C1 -lifecycleModule.targetPageTitleHelp=\uC774 \uC218\uBA85 \uC8FC\uAE30 \uBAA8\uB4C8\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC788\uB294 \uB300\uC0C1(\uD074\uB7EC\uC2A4\uD130 \uBC0F \uB3C5\uB9BD\uD615 \uC11C\uBC84 \uC778\uC2A4\uD134\uC2A4)\uC744 \uAD00\uB9AC\uD569\uB2C8\uB2E4. - -lifecycleModule.classname=\uD074\uB798\uC2A4 \uC774\uB984: -lifecycleModule.classnameHelp=\uC774\uB984\uC5D0\uB294 \uC601\uC22B\uC790, \uBC11\uC904, \uB300\uC2DC \uB610\uB294 \uC810 \uBB38\uC790\uB9CC \uC0AC\uC6A9\uD574\uC57C \uD569\uB2C8\uB2E4. -lifecycleModule.classPath=\uD074\uB798\uC2A4 \uACBD\uB85C: -lifecycleModule.classPathHelp=\uD074\uB798\uC2A4\uAC00 \uC11C\uBC84 \uD074\uB798\uC2A4 \uACBD\uB85C\uC5D0 \uC774\uBBF8 \uC788\uB294 \uACBD\uC6B0 \uBE44\uC6CC\uB458 \uC218 \uC788\uC2B5\uB2C8\uB2E4. -lifecycleModule.loadOrder=\uB85C\uB4DC \uC21C\uC11C: -lifecycleModule.loadOrderHelp=\uC11C\uBC84\uB97C \uC2DC\uC791\uD560 \uB54C \uC218\uBA85 \uC8FC\uAE30 \uBAA8\uB4C8\uC774 \uB85C\uB4DC\uB418\uB294 \uC21C\uC11C\uC785\uB2C8\uB2E4. \uC815\uC218 \uAC12\uC774 \uC791\uC740 \uBAA8\uB4C8\uC774 \uBA3C\uC800 \uB85C\uB4DC\uB429\uB2C8\uB2E4. -lifecycleModule.onLoadFailure=\uB85C\uB4DC \uC2E4\uD328 \uC2DC: -lifecycleModule.preventStart=\uC778\uC2A4\uD134\uC2A4 \uC2DC\uC791 \uBC29\uC9C0 -lifecycleModule.onLoadFailureHelp=\uBAA8\uB4C8 \uB85C\uB4DC\uB97C \uC2E4\uD328\uD560 \uACBD\uC6B0 \uC778\uC2A4\uD134\uC2A4\uB97C \uC2DC\uC791\uD558\uC9C0 \uB9C8\uC2ED\uC2DC\uC624. - - button.DeleteProfiler=\uD504\uB85C\uD30C\uC77C\uB7EC \uC0AD\uC81C button.CreateProfiler=\uD504\uB85C\uD30C\uC77C\uB7EC \uC0DD\uC131 button.enableSecureAdmin=\uBCF4\uC548 \uAD00\uB9AC \uC0AC\uC6A9 diff --git a/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_pt_BR.properties b/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_pt_BR.properties index 6b68743cc0f..99b58ae3be8 100644 --- a/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_pt_BR.properties +++ b/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/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] [Payara Foundation and/or its affiliates] +# Portions Copyright 2016-2026 Payara Foundation and/or its affiliates ## 'server' is the name of the server instance. No Not Translate it. tree.adminServer=servidor (Servidor Admin) @@ -50,7 +50,6 @@ msg.JS.confirmDeleteAuditModules=M\u00F3dulos de Auditoria Selecionados ser\u00E msg.JS.confirmDeleteMsgSecurities=Configura\u00E7\u00F5es Selecionadas de Seguran\u00E7a de Mensagens ser\u00E3o deletadas. Continuar? msg.JS.confirmDeleteMsgProviders=Provedores Selecionados ser\u00E3o deletados. Continuar? msg.JS.confirmDeleteUser=Usu\u00E1rios Selecionados ser\u00E3o deletados. Continuar? -msg.JS.confirmDeleteLifecycle=Os M\u00F3dulos de Ciclo de Vida Selecionados ser\u00E3o deletados. Continuar? msg.JS.confirmDeleteProfiler=O Determinador de Perfil ser\u00E1 deletado. Continuar? msg.JS.confirmDeleteConfigs=As configura\u00E7\u00F5es selecionadas ser\u00E3o deletadas. Continuar? msg.JS.confirmRotateLog=O arquivo de log deve ser rotacionado. Continuar? @@ -415,26 +414,6 @@ jvmReport.Memory=Mem\u00F3ria jvmReport.ClLoading=Carregamento de Classe jvmReport.ThDump=Dump de Thread -lifecycleModules.title=M\u00F3dulos de Ciclo de Vida -lifecycleModules.titleHelp=Um m\u00F3dulo de ciclo de vida executa tarefas ao ser acionado por um ou mais eventos no ciclo de vida do servidor. S\u00E3o poss\u00EDveis os seguintes eventos acionadores no servidor: inicializa\u00E7\u00E3o, shutdown e solicita\u00E7\u00F5es de servi\u00E7o imediato. Os m\u00F3dulos de ciclo de vida n\u00E3o fazem parte da especifica\u00E7\u00E3o Java, mas representam um aprimoramento do Payara Server. -lifecycleModule.editPageTitle=Editar M\u00F3dulo de Ciclo de Vida -lifecycleModule.editPageTitleHelp=Modifique um m\u00F3dulo de ciclo de vida existente. -lifecycleModule.newPageTitle=Novo M\u00F3dulo de Ciclo de Vida -lifecycleModule.newPageTitleHelp=Um m\u00F3dulo de ciclo de vida executa tarefas ao ser acionado por um ou mais eventos no ciclo de vida do servidor. S\u00E3o poss\u00EDveis eventos acionadores no servidor: inicializa\u00E7\u00E3o, solicita\u00E7\u00F5es de prontid\u00E3o para servi\u00E7o e shutdown. -lifecycleModule.targetPageTitle=Alvos do M\u00F3dulo de Ciclo de Vida -lifecycleModule.targetPageTitleHelp=Gerencie os alvos (clusters e inst\u00E2ncias de servidores standalone) nos quais este m\u00F3dulo de ciclo de vida est\u00E1 dispon\u00EDvel. - -lifecycleModule.classname=Nome da Classe: -lifecycleModule.classnameHelp=O nome deve conter somente caracteres alfanum\u00E9ricos, sublinhado, tra\u00E7o ou ponto. -lifecycleModule.classPath=Classpath: -lifecycleModule.classPathHelp=Pode ficar em branco se a classe j\u00E1 estiver na classpath do servidor. -lifecycleModule.loadOrder=Ordem de Carregamento: -lifecycleModule.loadOrderHelp=A ordem em que os m\u00F3dulos de ciclo de vida s\u00E3o carregados quando o servidor \u00E9 inicializado. Os m\u00F3dulos com n\u00FAmeros inteiros menores s\u00E3o carregados primeiro. -lifecycleModule.onLoadFailure=No Caso de Falha ao Carregar: -lifecycleModule.preventStart=Impedir Inicializa\u00E7\u00E3o da Inst\u00E2ncia -lifecycleModule.onLoadFailureHelp=Se o carregamento do m\u00F3dulo falhar, n\u00E3o inicie a inst\u00E2ncia. - - button.DeleteProfiler=Deletar Gerador de Perfil button.CreateProfiler=Criar Gerador de Perfil button.enableSecureAdmin=Ativar o Admin seguro diff --git a/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_zh_CN.properties b/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_zh_CN.properties index 7bdfe65955f..0469869a516 100644 --- a/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_zh_CN.properties +++ b/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/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] [Payara Foundation and/or its affiliates] +# Portions Copyright 2016-2026 Payara Foundation and/or its affiliates ## 'server' is the name of the server instance. No Not Translate it. tree.adminServer=server (\u7BA1\u7406\u670D\u52A1\u5668) @@ -50,7 +50,6 @@ msg.JS.confirmDeleteAuditModules=\u6240\u9009\u5BA1\u8BA1\u6A21\u5757\u5C06\u88A msg.JS.confirmDeleteMsgSecurities=\u6240\u9009\u6D88\u606F\u5B89\u5168\u914D\u7F6E\u5C06\u88AB\u5220\u9664\u3002\u662F\u5426\u7EE7\u7EED? msg.JS.confirmDeleteMsgProviders=\u6240\u9009\u63D0\u4F9B\u65B9\u5C06\u88AB\u5220\u9664\u3002\u662F\u5426\u7EE7\u7EED? msg.JS.confirmDeleteUser=\u6240\u9009\u7528\u6237\u5C06\u88AB\u5220\u9664\u3002\u662F\u5426\u7EE7\u7EED? -msg.JS.confirmDeleteLifecycle=\u6240\u9009\u751F\u547D\u5468\u671F\u6A21\u5757\u5C06\u88AB\u5220\u9664\u3002\u662F\u5426\u7EE7\u7EED? msg.JS.confirmDeleteProfiler=\u5C06\u5220\u9664\u5206\u6790\u5668\u3002\u662F\u5426\u7EE7\u7EED? msg.JS.confirmDeleteConfigs=\u6240\u9009\u914D\u7F6E\u5C06\u88AB\u5220\u9664\u3002\u662F\u5426\u7EE7\u7EED? msg.JS.confirmRotateLog=\u5C06\u6EDA\u52A8\u65E5\u5FD7\u6587\u4EF6\u3002\u662F\u5426\u7EE7\u7EED? @@ -415,26 +414,6 @@ jvmReport.Memory=\u5185\u5B58 jvmReport.ClLoading=\u7C7B\u52A0\u8F7D jvmReport.ThDump=\u7EBF\u7A0B\u8F6C\u50A8 -lifecycleModules.title=\u751F\u547D\u5468\u671F\u6A21\u5757 -lifecycleModules.titleHelp=\u5F53\u751F\u547D\u5468\u671F\u6A21\u5757\u88AB\u670D\u52A1\u5668\u751F\u547D\u5468\u671F\u4E2D\u7684\u4E00\u4E2A\u6216\u591A\u4E2A\u4E8B\u4EF6\u89E6\u53D1\u4E4B\u540E, \u5B83\u5C06\u6267\u884C\u4EFB\u52A1\u3002\u53EF\u80FD\u7684\u670D\u52A1\u5668\u89E6\u53D1\u4E8B\u4EF6\u5305\u62EC: \u521D\u59CB\u5316, \u542F\u52A8, \u4E3A\u670D\u52A1\u8BF7\u6C42\u505A\u51C6\u5907\u548C\u5173\u95ED\u3002\u751F\u547D\u5468\u671F\u6A21\u5757\u4E0D\u5C5E\u4E8E Java \u89C4\u8303, \u800C\u662F Payara Server \u7684\u589E\u5F3A\u529F\u80FD\u3002 -lifecycleModule.editPageTitle=\u7F16\u8F91\u751F\u547D\u5468\u671F\u6A21\u5757 -lifecycleModule.editPageTitleHelp=\u4FEE\u6539\u73B0\u6709\u7684\u751F\u547D\u5468\u671F\u6A21\u5757\u3002 -lifecycleModule.newPageTitle=\u65B0\u5EFA\u751F\u547D\u5468\u671F\u6A21\u5757 -lifecycleModule.newPageTitleHelp=\u5F53\u751F\u547D\u5468\u671F\u6A21\u5757\u88AB\u670D\u52A1\u5668\u751F\u547D\u5468\u671F\u4E2D\u7684\u4E00\u4E2A\u6216\u591A\u4E2A\u4E8B\u4EF6\u89E6\u53D1\u4E4B\u540E, \u5B83\u5C06\u6267\u884C\u4EFB\u52A1\u3002\u53EF\u80FD\u7684\u670D\u52A1\u5668\u89E6\u53D1\u4E8B\u4EF6\u5305\u62EC: \u521D\u59CB\u5316, \u542F\u52A8, \u4E3A\u670D\u52A1\u8BF7\u6C42\u505A\u51C6\u5907\u548C\u5173\u95ED\u3002 -lifecycleModule.targetPageTitle=\u751F\u547D\u5468\u671F\u6A21\u5757\u76EE\u6807 -lifecycleModule.targetPageTitleHelp=\u7BA1\u7406\u53EF\u63D0\u4F9B\u6B64\u751F\u547D\u5468\u671F\u6A21\u5757\u7684\u76EE\u6807 (\u96C6\u7FA4\u548C\u72EC\u7ACB\u670D\u52A1\u5668\u5B9E\u4F8B)\u3002 - -lifecycleModule.classname=\u7C7B\u540D: -lifecycleModule.classnameHelp=\u540D\u79F0\u53EA\u80FD\u5305\u542B\u5B57\u6BCD\u6570\u5B57, \u4E0B\u5212\u7EBF, \u7834\u6298\u53F7\u6216\u70B9\u5B57\u7B26\u3002 -lifecycleModule.classPath=\u7C7B\u8DEF\u5F84: -lifecycleModule.classPathHelp=\u5982\u679C\u8BE5\u7C7B\u5DF2\u5728\u670D\u52A1\u5668\u7C7B\u8DEF\u5F84\u4E2D, \u5219\u53EF\u4EE5\u4E3A\u7A7A\u767D\u3002 -lifecycleModule.loadOrder=\u52A0\u8F7D\u987A\u5E8F: -lifecycleModule.loadOrderHelp=\u670D\u52A1\u5668\u542F\u52A8\u65F6\u52A0\u8F7D\u751F\u547D\u5468\u671F\u6A21\u5757\u7684\u987A\u5E8F\u3002\u7CFB\u7EDF\u5C06\u8F83\u65E9\u52A0\u8F7D\u5177\u6709\u8F83\u5C0F\u6574\u6570\u7684\u6A21\u5757\u3002 -lifecycleModule.onLoadFailure=\u52A0\u8F7D\u5931\u8D25\u65F6: -lifecycleModule.preventStart=\u9632\u6B62\u5B9E\u4F8B\u542F\u52A8 -lifecycleModule.onLoadFailureHelp=\u5982\u679C\u6A21\u5757\u52A0\u8F7D\u5931\u8D25, \u5219\u4E0D\u542F\u52A8\u5B9E\u4F8B\u3002 - - button.DeleteProfiler=\u5220\u9664\u5206\u6790\u5668 button.CreateProfiler=\u521B\u5EFA\u5206\u6790\u5668 button.enableSecureAdmin=\u542F\u7528\u5B89\u5168\u7BA1\u7406 diff --git a/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_zh_TW.properties b/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_zh_TW.properties index 60324e3e3ad..e3801bbf2f2 100644 --- a/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/admingui/Strings_zh_TW.properties +++ b/appserver/admingui/common-l10n/src/main/resources/org/glassfish/common/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] [Payara Foundation and/or its affiliates] +# Portions Copyright 2016-2026 Payara Foundation and/or its affiliates ## 'server' is the name of the server instance. No Not Translate it. tree.adminServer=\u4F3A\u670D\u5668 (\u7BA1\u7406\u4F3A\u670D\u5668) @@ -50,7 +50,6 @@ msg.JS.confirmDeleteAuditModules=\u5C07\u522A\u9664\u6240\u9078\u53D6\u7684\u7A3 msg.JS.confirmDeleteMsgSecurities=\u5C07\u522A\u9664\u6240\u9078\u53D6\u7684\u8A0A\u606F\u5B89\u5168\u6027\u7D44\u614B\u3002\u662F\u5426\u7E7C\u7E8C\uFF1F msg.JS.confirmDeleteMsgProviders=\u5C07\u522A\u9664\u6240\u9078\u53D6\u7684\u63D0\u4F9B\u8005\u3002\u662F\u5426\u7E7C\u7E8C\uFF1F msg.JS.confirmDeleteUser=\u5C07\u522A\u9664\u6240\u9078\u53D6\u7684\u4F7F\u7528\u8005\u3002\u662F\u5426\u7E7C\u7E8C\uFF1F -msg.JS.confirmDeleteLifecycle=\u5C07\u522A\u9664\u6240\u9078\u53D6\u7684\u751F\u547D\u9031\u671F\u6A21\u7D44\u3002\u662F\u5426\u7E7C\u7E8C\uFF1F msg.JS.confirmDeleteProfiler=\u5C07\u522A\u9664\u6548\u80FD\u8A55\u6E2C\u5668\u3002\u662F\u5426\u7E7C\u7E8C\uFF1F msg.JS.confirmDeleteConfigs=\u5C07\u522A\u9664\u6240\u9078\u53D6\u7684\u7D44\u614B\u3002\u662F\u5426\u7E7C\u7E8C\uFF1F msg.JS.confirmRotateLog=\u5C07\u6703\u5FAA\u74B0\u65E5\u8A8C\u6A94\u3002\u662F\u5426\u7E7C\u7E8C\uFF1F @@ -415,26 +414,6 @@ jvmReport.Memory=\u8A18\u61B6\u9AD4 jvmReport.ClLoading=\u985E\u5225\u8F09\u5165 jvmReport.ThDump=\u7E6B\u7DDA\u50BE\u5370 -lifecycleModules.title=\u751F\u547D\u9031\u671F\u6A21\u7D44 -lifecycleModules.titleHelp=\u751F\u547D\u9031\u671F\u6A21\u7D44\u5728\u4F3A\u670D\u5668\u751F\u547D\u9031\u671F\u4E2D\u6709\u4E00\u500B\u6216\u591A\u500B\u4E8B\u4EF6\u89F8\u767C\u6642\u6703\u57F7\u884C\u5DE5\u4F5C\u3002\u53EF\u80FD\u7684\u89F8\u767C\u4F3A\u670D\u5668\u4E8B\u4EF6\u5305\u62EC\uFF1A\u521D\u59CB\u5316\u3001\u555F\u52D5\u3001\u6E96\u5099\u70BA\u8ACB\u6C42\u63D0\u4F9B\u670D\u52D9\u548C\u95DC\u6A5F\u3002\u751F\u547D\u9031\u671F\u6A21\u7D44\u4E0D\u5C6C\u65BC Java \u898F\u683C\uFF0C\u800C\u662F Payara Server \u7684\u589E\u5F37\u529F\u80FD\u3002 -lifecycleModule.editPageTitle=\u7DE8\u8F2F\u751F\u547D\u9031\u671F\u6A21\u7D44 -lifecycleModule.editPageTitleHelp=\u4FEE\u6539\u73FE\u6709\u7684\u751F\u547D\u9031\u671F\u6A21\u7D44\u3002 -lifecycleModule.newPageTitle=\u65B0\u5EFA\u751F\u547D\u9031\u671F\u6A21\u7D44 -lifecycleModule.newPageTitleHelp=\u751F\u547D\u9031\u671F\u6A21\u7D44\u5728\u4F3A\u670D\u5668\u751F\u547D\u9031\u671F\u4E2D\u6709\u4E00\u500B\u6216\u591A\u500B\u4E8B\u4EF6\u89F8\u767C\u6642\u6703\u57F7\u884C\u5DE5\u4F5C\u3002\u53EF\u80FD\u7684\u89F8\u767C\u4F3A\u670D\u5668\u4E8B\u4EF6\u5305\u62EC\uFF1A\u521D\u59CB\u5316\u3001\u555F\u52D5\u3001\u6E96\u5099\u70BA\u8ACB\u6C42\u63D0\u4F9B\u670D\u52D9\u548C\u95DC\u6A5F\u3002 -lifecycleModule.targetPageTitle=\u751F\u547D\u9031\u671F\u6A21\u7D44\u76EE\u6A19 -lifecycleModule.targetPageTitleHelp=\u7BA1\u7406\u5177\u6709\u6B64\u53EF\u7528\u751F\u547D\u9031\u671F\u6A21\u7D44\u7684\u76EE\u6A19 (\u53E2\u96C6\u548C\u7368\u7ACB\u4F3A\u670D\u5668\u57F7\u884C\u8655\u7406)\u3002 - -lifecycleModule.classname=\u985E\u5225\u540D\u7A31\uFF1A -lifecycleModule.classnameHelp=\u540D\u7A31\u50C5\u80FD\u5305\u542B\u5B57\u6BCD\u6578\u5B57\u3001\u5E95\u7DDA\u3001\u7834\u6298\u865F\u6216\u9EDE\u5B57\u5143\u3002 -lifecycleModule.classPath=\u985E\u5225\u8DEF\u5F91\uFF1A -lifecycleModule.classPathHelp=\u5982\u679C\u985E\u5225\u5DF2\u7D93\u4F4D\u65BC\u4F3A\u670D\u5668\u985E\u5225\u8DEF\u5F91\u4E2D\uFF0C\u53EF\u4EE5\u70BA\u7A7A\u767D\u3002 -lifecycleModule.loadOrder=\u8F09\u5165\u6B21\u5E8F\uFF1A -lifecycleModule.loadOrderHelp=\u4F3A\u670D\u5668\u555F\u52D5\u6642\u8F09\u5165\u751F\u547D\u9031\u671F\u6A21\u7D44\u7684\u9806\u5E8F\u3002\u5177\u6709\u8F03\u5C0F\u6574\u6578\u7684\u6A21\u7D44\u53EF\u4EE5\u66F4\u5FEB\u5730\u8F09\u5165\u3002 -lifecycleModule.onLoadFailure=\u8F09\u5165\u5931\u6557\u6642\uFF1A -lifecycleModule.preventStart=\u9632\u6B62\u57F7\u884C\u8655\u7406\u555F\u52D5 -lifecycleModule.onLoadFailureHelp=\u5982\u679C\u6A21\u7D44\u8F09\u5165\u5931\u6557\uFF0C\u8ACB\u52FF\u555F\u52D5\u57F7\u884C\u8655\u7406\u3002 - - button.DeleteProfiler=\u522A\u9664\u6548\u80FD\u8A55\u6E2C\u5668 button.CreateProfiler=\u5EFA\u7ACB\u6548\u80FD\u8A55\u6E2C\u5668 button.enableSecureAdmin=\u555F\u7528\u5B89\u5168\u7BA1\u7406 diff --git a/appserver/admingui/common/src/main/help/en/help/idx-2.html b/appserver/admingui/common/src/main/help/en/help/idx-2.html index 5c0180d5b23..cdcc8e2f70c 100644 --- a/appserver/admingui/common/src/main/help/en/help/idx-2.html +++ b/appserver/admingui/common/src/main/help/en/help/idx-2.html @@ -1,7 +1,7 @@ + @@ -217,14 +218,6 @@ - - - - - - - - diff --git a/appserver/admingui/common/src/main/help/en/help/ref-appscopedresourcesedit.html b/appserver/admingui/common/src/main/help/en/help/ref-appscopedresourcesedit.html index f35e5949987..6a0e2529dae 100644 --- a/appserver/admingui/common/src/main/help/en/help/ref-appscopedresourcesedit.html +++ b/appserver/admingui/common/src/main/help/en/help/ref-appscopedresourcesedit.html @@ -16,7 +16,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + Skip Headers @@ -24,8 +24,6 @@ Previous
Previous
  -Next
-Next

To Modify Application Scoped Resources

diff --git a/appserver/admingui/common/src/main/help/en/help/ref-group-lifecyclemodules.html b/appserver/admingui/common/src/main/help/en/help/ref-group-lifecyclemodules.html deleted file mode 100644 index ec4c2f613c6..00000000000 --- a/appserver/admingui/common/src/main/help/en/help/ref-group-lifecyclemodules.html +++ /dev/null @@ -1,24 +0,0 @@ - - -

- -

Lifecycle Modules

-Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices -Portions Copyright © [2017-2020] Payara Foundation and/or affiliates. diff --git a/appserver/admingui/common/src/main/help/en/help/ref-lifecyclemanagetargets.html b/appserver/admingui/common/src/main/help/en/help/ref-lifecyclemanagetargets.html deleted file mode 100644 index 02d9ad78c06..00000000000 --- a/appserver/admingui/common/src/main/help/en/help/ref-lifecyclemanagetargets.html +++ /dev/null @@ -1,56 +0,0 @@ - - -

- -

Manage Targets

- -

Use the Manage Resource Targets page to change the target clusters and standalone server instances on which a lifecycle module can be enabled. The lifecycle module can be enabled only on targets in the Selected Targets column.

-

The Manage Resource Targets page contains the following information.

-
-
Available Targets
-
-

The clusters and instances on which the lifecycle module cannot be enabled.

-
-
Selected Targets
-
-

The clusters and instances on which the lifecycle module can be enabled.

-
-
Add
-
-

Button to move the selected target from Available Targets to Selected Targets.

-
-
Add All
-
-

Button to move all Available Targets to Selected Targets.

-
-
Remove
-
-

Button to move the selected target from Selected Targets to Available Targets.

-
-
Remove All
-
-

Button to move all Selected Targets to Available Targets.

-
-
- - - -Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices -Portions Copyright © [2017-2020] Payara Foundation and/or affiliates. diff --git a/appserver/admingui/common/src/main/help/en/help/ref-lifecyclemoduleedit.html b/appserver/admingui/common/src/main/help/en/help/ref-lifecyclemoduleedit.html deleted file mode 100644 index 63a076235c7..00000000000 --- a/appserver/admingui/common/src/main/help/en/help/ref-lifecyclemoduleedit.html +++ /dev/null @@ -1,86 +0,0 @@ - - - -

- -

Edit Lifecycle Module

- -

Use the Edit Lifecycle Module page to modify settings for a lifecycle module.

-

The Edit Lifecycle Module page contains the following options.

-
-
Name
-
-

The name of the lifecycle module. The name is a read-only field. You can only specify a name when you create a new lifecycle module.

-
-
Class Name
-
-

The fully qualified name of the lifecycle module's class file. The class must implement the com.sun.appserv.server.LifecycleListener interface.

-
-
Classpath
-
-

The classpath for the lifecycle module. The classpath specifies where the lifecycle module is located. The default value is domain-dir/applications. If the module is already in this directory (that is, in the server classpath), this field can be left blank.

-
-
Load Order
-
-

The order in which this lifecycle module is to be loaded at startup. Modules with smaller integer load order values are loaded sooner. The value can range from 101 to the operating system's MAXINT. Values from 1 to 100 are reserved.

-
-
Description
-
-

A description of the lifecycle module.

-
-
Status
-
-

If this option is selected, the lifecycle module is enabled. This option is enabled by default.

-
-
On Load Failure
-
-

If this option is selected, the server will be shut down if the lifecycle module fails to load. This option is disabled by default.

-
-
- -
Related Tasks
- - -
Related asadmin Commands
- - - -Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices -Portions Copyright © [2017-2020] Payara Foundation and/or affiliates. diff --git a/appserver/admingui/common/src/main/help/en/help/ref-lifecyclemodulenew.html b/appserver/admingui/common/src/main/help/en/help/ref-lifecyclemodulenew.html deleted file mode 100644 index 488ca2a2bb9..00000000000 --- a/appserver/admingui/common/src/main/help/en/help/ref-lifecyclemodulenew.html +++ /dev/null @@ -1,91 +0,0 @@ - - - -

- -

New Lifecycle Module

- -

Use the New Lifecycle Module page to define a new lifecycle module.

-

The New Lifecycle Module page contains the following options.

-
-
Name
-
-

The name of the lifecycle module.

-
-
Class Name
-
-

The fully qualified name of the lifecycle module's class file. The class must implement the com.sun.appserv.server.LifecycleListener interface.

-
-
Classpath
-
-

The classpath for the lifecycle module. The classpath specifies where the lifecycle module is located. The default value is domain-dir/applications. If the module is already in this directory (that is, in the server classpath), this field can be left blank.

-
-
Load Order
-
-

The order in which this lifecycle module is to be loaded at startup. Modules with smaller integer load order values are loaded sooner. The value can range from 101 to the operating system's MAXINT. Values from 1 to 100 are reserved.

-
-
Description
-
-

A description of the lifecycle module.

-
-
Status
-
-

If this option is selected, the lifecycle module is enabled. This option is enabled by default.

-
-
On Load Failure
-
-

If this option is selected, the server will be shut down if the lifecycle module fails to load. This option is disabled by default.

-
-
Targets
-
-

Clusters and standalone instances for the lifecycle module. Move desired targets to the Selected Targets column using the Add and Add All buttons. Move any unneeded targets to the Available Targets column using the Remove and Remove All buttons.

-

This option is displayed only if clusters or standalone instances have been created in the domain.

-
-
- -
Related Tasks
- - -
Related asadmin Commands
- - - -Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices -Portions Copyright © [2017-2020] Payara Foundation and/or affiliates. diff --git a/appserver/admingui/common/src/main/help/en/help/ref-lifecyclemodules.html b/appserver/admingui/common/src/main/help/en/help/ref-lifecyclemodules.html deleted file mode 100644 index 07a54ee9e3e..00000000000 --- a/appserver/admingui/common/src/main/help/en/help/ref-lifecyclemodules.html +++ /dev/null @@ -1,91 +0,0 @@ - - - -

- -

Lifecycle Modules

- -

Use the Lifecycle Modules page to configure lifecycle modules.

-

A lifecycle module performs tasks when it is triggered by one or more events in the server's lifecycle. Possible trigger server events are: initialization, startup, ready to service requests, and shutdown. Lifecycle modules are not part of the Java EE specification, but are an enhancement to the Payara Server.

-

For each lifecycle module, the following information is provided.

-
-
Name
-
-

The name of the lifecycle module.

-
-
Enabled or Status
-
-

A check mark if the application is enabled, or an X if the application is disabled, if only the default server instance, server, exists.

-

If clusters or other standalone server instances exist, select Enabled on All Targets to view the targets on which the application is deployed.

-
-
Load Order
-
-

A value specifying the relative order in which the lifecycle module should be loaded.

-
-
-

The Lifecycle Modules table also contains the following options.

-
-
New
-
-

Button to create a new lifecycle module.

-
-
Delete
-
-

Button to delete one or more selected lifecycle modules.

-
-
Enable
-
-

Button to enable one or more selected lifecycle modules. Present if only the default server instance, server, exists.

-
-
Disable
-
-

Button to disable one or more selected lifecycle modules. Present if only the default server instance, server, exists.

-
-
- -
Related Tasks
- - -
Related asadmin Commands
- - - -Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices -Portions Copyright © [2017-2020] Payara Foundation and/or affiliates. diff --git a/appserver/admingui/common/src/main/help/en/help/ref-lifecycletargets.html b/appserver/admingui/common/src/main/help/en/help/ref-lifecycletargets.html deleted file mode 100644 index c68716e6e3f..00000000000 --- a/appserver/admingui/common/src/main/help/en/help/ref-lifecycletargets.html +++ /dev/null @@ -1,60 +0,0 @@ - - -

- -

Lifecycle Module Targets

- -

Use the Lifecycle Module Targets page to view target clusters and standalone server instances on which the lifecycle module can be enabled.

-

The Lifecycle Module Targets page contains the following information.

-
-
Target Name
-
-

The name of the cluster or standalone server instance.

-
-
Enabled
-
-

Displays true if the lifecycle module is enabled on the target, or false if the lifecycle module is disabled.

-
-
-

The Targets table also contains the following options.

-
-
Manage Targets
-
-

Button to manage lifecycle module targets.

-
-
More Actions
-
-

Drop-down list of the following actions.

-
-
Enable
-
-

Action to enable the lifecycle module on the selected target.

-
-
Disable
-
-

Action to disable the lifecycle module on the selected target.

-
-
-
-
- - -Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices -Portions Copyright © [2017-2020] Payara Foundation and/or affiliates. diff --git a/appserver/admingui/common/src/main/help/en/help/task-group-lifecyclemodules.html b/appserver/admingui/common/src/main/help/en/help/task-group-lifecyclemodules.html deleted file mode 100644 index 37ee5ddc6ac..00000000000 --- a/appserver/admingui/common/src/main/help/en/help/task-group-lifecyclemodules.html +++ /dev/null @@ -1,24 +0,0 @@ - - -

- -

Configuring Lifecycle Modules

-Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices -Portions Copyright © [2017-2020] Payara Foundation and/or affiliates. diff --git a/appserver/admingui/common/src/main/help/en/help/task-lifecyclemoduledelete.html b/appserver/admingui/common/src/main/help/en/help/task-lifecyclemoduledelete.html deleted file mode 100644 index 86906fd1068..00000000000 --- a/appserver/admingui/common/src/main/help/en/help/task-lifecyclemoduledelete.html +++ /dev/null @@ -1,50 +0,0 @@ - - -

- -

To Delete a Lifecycle Module

- -
    -
  1. -

    In the navigation tree, select the Lifecycle Modules node.

    -

    The Lifecycle Modules page opens.

    -
  2. -
  3. -

    On the Lifecycle Modules page, select the checkbox to the left of the lifecycle module that you are deleting.

    -
  4. -
  5. -

    Click Delete.

    -
  6. -
- -
See Also
- - - - -Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices -Portions Copyright © [2017-2020] Payara Foundation and/or affiliates. diff --git a/appserver/admingui/common/src/main/help/en/help/task-lifecyclemoduleedit.html b/appserver/admingui/common/src/main/help/en/help/task-lifecyclemoduleedit.html deleted file mode 100644 index fdd74802b01..00000000000 --- a/appserver/admingui/common/src/main/help/en/help/task-lifecyclemoduleedit.html +++ /dev/null @@ -1,76 +0,0 @@ - - -

- -

To Edit a Lifecycle Module

- -
    -
  1. -

    In the navigation tree, select the Lifecycle Modules node.

    -

    The Lifecycle Modules page opens.

    -
  2. -
  3. -

    On the Lifecycle Modules page, click the name of the lifecycle module that you are editing.

    -

    The Edit Lifecycle Module page opens.

    -
  4. -
  5. -

    In the Class Name field, type the fully qualified name of the lifecycle module's class file.

    -

    The class must implement the com.sun.appserv.server.LifecycleListener interface.

    -
  6. -
  7. -

    In the Classpath field, type the classpath for the lifecycle module.

    -

    The classpath specifies where the lifecycle module is located. The default value is domain-dir/applications. If the module is already in this directory (that is, in the server classpath), this field can be left blank.

    -
  8. -
  9. -

    In the Load Order field, type a value specifying the order in which this lifecycle module is to be loaded at startup.

    -

    Modules with smaller integer load order values are loaded sooner. The value can range from 101 to the operating system's MAXINT. Values from 1 to 100 are reserved.

    -
  10. -
  11. -

    In the Description field, type a description of the lifecycle module.

    -
  12. -
  13. -

    Select the Status Enabled checkbox to enable the lifecycle module.

    -

    This option is enabled by default.

    -
  14. -
  15. -

    Select the On Load Failure Prevent Instance Startup checkbox to specify that the server is to be shut down if the lifecycle module fails to load.

    -

    This option is disabled by default.

    -
  16. -
  17. -

    The Targets tab appears if clusters or standalone server instances aside from the default server instance (server) exist. Select the Targets tab to view the targets on which the lifecycle module has been enabled. See To View Application Targets for instructions on how to enable or disable a lifecycle module on one or multiple targets.

    -
  18. -
  19. -

    Click Save.

    -
  20. -
- -
See Also
- - - -Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices -Portions Copyright © [2017-2020] Payara Foundation and/or affiliates. diff --git a/appserver/admingui/common/src/main/help/en/help/task-lifecyclemodulenew.html b/appserver/admingui/common/src/main/help/en/help/task-lifecyclemodulenew.html deleted file mode 100644 index 6b777fc1958..00000000000 --- a/appserver/admingui/common/src/main/help/en/help/task-lifecyclemodulenew.html +++ /dev/null @@ -1,80 +0,0 @@ - - -

- -

To Create a Lifecycle Module

- -
    -
  1. -

    In the navigation tree, select the Lifecycle Modules node.

    -

    The Lifecycle Modules page opens.

    -
  2. -
  3. -

    On the Lifecycle Modules page, click New.

    -

    The New Lifecycle Module page opens.

    -
  4. -
  5. -

    In the Name field, type a name for the lifecycle module.

    -
  6. -
  7. -

    In the Class Name field, type the fully qualified name of the lifecycle module's class file.

    -

    The class must implement the com.sun.appserv.server.LifecycleListener interface.

    -
  8. -
  9. -

    In the Classpath field, type the classpath for the lifecycle module.

    -

    The classpath specifies where the lifecycle module is located. The default value is domain-dir/applications. If the module is already in this directory (that is, in the server classpath), this field can be left blank.

    -
  10. -
  11. -

    In the Load Order field, type a value specifying the order in which this lifecycle module is to be loaded at startup.

    -

    Modules with smaller integer load order values are loaded sooner. The value can range from 101 to the operating system's MAXINT. Values from 1 to 100 are reserved.

    -
  12. -
  13. -

    In the Description field, type a description of the lifecycle module.

    -
  14. -
  15. -

    Select the Status Enabled checkbox to enable the lifecycle module.

    -

    This option is enabled by default.

    -
  16. -
  17. -

    Select the On Load Failure Prevent Instance Startup checkbox to specify that the server is to be shut down if the lifecycle module fails to load.

    -

    This option is disabled by default.

    -
  18. -
  19. -

    To add target server instances and clusters on which to enable the lifecycle module, select them from the Available Targets list and use the Add button to move them to the Selected Targets list.

    -

    The Target option appears if clusters or standalone server instances aside from the default server instance (server) exist. By default, the lifecycle module is enabled on the default server instance, named server. Use the Add All button to deploy to all targets. Use the Remove and Remove All buttons to remove targets from the Selected Targets list.

    -
  20. -
  21. -

    Click OK.

    -
  22. -
- -
See Also
- - - -Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices -Portions Copyright © [2017-2020] Payara Foundation and/or affiliates. diff --git a/appserver/admingui/common/src/main/help/en/help/toc.xml b/appserver/admingui/common/src/main/help/en/help/toc.xml index f59e2738362..c25132ad66d 100644 --- a/appserver/admingui/common/src/main/help/en/help/toc.xml +++ b/appserver/admingui/common/src/main/help/en/help/toc.xml @@ -15,6 +15,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> + @@ -58,11 +59,7 @@ - - - - - + @@ -173,13 +170,6 @@ - - - - - - - diff --git a/appserver/admingui/common/src/main/java/org/glassfish/admingui/common/handlers/ApplicationHandlers.java b/appserver/admingui/common/src/main/java/org/glassfish/admingui/common/handlers/ApplicationHandlers.java index 05bfa6499cc..06ca5d0abe2 100644 --- a/appserver/admingui/common/src/main/java/org/glassfish/admingui/common/handlers/ApplicationHandlers.java +++ b/appserver/admingui/common/src/main/java/org/glassfish/admingui/common/handlers/ApplicationHandlers.java @@ -37,7 +37,8 @@ * only if the new code is made subject to such option by the copyright * holder. */ -// Portions Copyright [2016-2024] [Payara Foundation and/or its affiliates] +// Portions Copyright 2016-2026 Payara Foundation and/or its affiliates + /** * * @author anilam @@ -308,70 +309,6 @@ public static void appScopedResourcesExist(HandlerContext handlerCtx) { } } - @Handler(id = "gf.getLifecyclesInfo", - input = { - @HandlerInput(name = "children", type = List.class, required=true)}, - output = { - @HandlerOutput(name = NAME_RESULT, type = java.util.List.class)}) - - public static void getLifecyclesInfo(HandlerContext handlerCtx) { - List> children = (List>) handlerCtx.getInputValue("children"); - List> result = new ArrayList<>(); - String prefix = GuiUtil.getSessionValue(REST_URL) + PATH_APPLICATIONS_APPLICATION; - if (children == null){ - handlerCtx.setOutputValue(NAME_RESULT, result); - return; - } - for(Map oneChild : children){ - Map oneRow = new HashMap<>(); - try{ - String name = (String) oneChild.get("message"); - String encodedName = URLEncoder.encode(name, "UTF-8"); - oneRow.put("name", name); - oneRow.put("encodedName", encodedName); - oneRow.put("selected", false); - oneRow.put("loadOrder", RestUtil.getPropValue(prefix+encodedName, "load-order", handlerCtx)); - oneRow.put("enableURL", DeployUtil.getTargetEnableInfo(name, true, true)); - result.add(oneRow); - }catch(Exception ex){ - GuiUtil.getLogger().info(GuiUtil.getCommonMessage("log.error.getLifecyclesInfo") + ex.getLocalizedMessage()); - if (GuiUtil.getLogger().isLoggable(Level.FINE)){ - ex.printStackTrace(); - } - } - } - handlerCtx.setOutputValue(NAME_RESULT, result); - } - - - - @Handler(id = "gf.deleteLifecycle", - input = { - @HandlerInput(name = "selectedList", type = List.class, required=true)}) - - public static void deleteLifecycle(HandlerContext handlerCtx) { - List> selectedList = (List>) handlerCtx.getInputValue("selectedList"); - String endpoint = GuiUtil.getSessionValue(REST_URL) + "/applications/application/delete-lifecycle-module" ; - Map attrs = new HashMap<>(); - try{ - for(Map oneRow: selectedList){ - String name = (String) oneRow.get("name"); - String encodedName = URLEncoder.encode(name, "UTF-8"); - attrs.put("id", encodedName); - //delete all application-ref first - List> appRefs = DeployUtil.getRefEndpoints(name, "application-ref"); - for(Map oneRef: appRefs){ - attrs.put("target", oneRef.get("targetName")); - RestUtil.restRequest((String)oneRef.get("endpoint"), attrs, "DELETE", null, false); - } - attrs.put("target", "domain"); - RestUtil.restRequest( endpoint, attrs, "POST", handlerCtx, false); - } - }catch(Exception ex){ - GuiUtil.prepareException(handlerCtx, ex); - } - } - private static void getLaunchInfo(String appName, String contextRoot, Map oneRow) { String endpoint = GuiUtil.getSessionValue(REST_URL) + PATH_APPLICATIONS_APPLICATION + appName + ".json"; Map map = RestUtil.restRequest(endpoint, null, "GET", null, false); diff --git a/appserver/admingui/common/src/main/java/org/glassfish/admingui/common/handlers/CommonHandlers.java b/appserver/admingui/common/src/main/java/org/glassfish/admingui/common/handlers/CommonHandlers.java index 30ef02ee0a3..00ca3102cc1 100644 --- a/appserver/admingui/common/src/main/java/org/glassfish/admingui/common/handlers/CommonHandlers.java +++ b/appserver/admingui/common/src/main/java/org/glassfish/admingui/common/handlers/CommonHandlers.java @@ -37,7 +37,7 @@ * only if the new code is made subject to such option by the copyright * holder. */ -// Portions Copyright [2019-2022] Payara Foundation and/or affiliates +// Portions Copyright 2019-2026 Payara Foundation and/or affiliates /* * CommonHandlers.java @@ -105,8 +105,7 @@ public static void initClusterSessionAttribute(HandlerContext handlerCtx){ sessionMap.put("ejbSummaryView", true); sessionMap.put("appclientSummaryView", true); sessionMap.put("rarSummaryView", true); - sessionMap.put("lifecycleSummaryView", true); - + sessionMap.put("adminObjectSummaryView", true); sessionMap.put("connectorResSummaryView", true); sessionMap.put("customResSummaryView", true); diff --git a/appserver/admingui/common/src/main/resources/appServer/securityAdmin.jsf b/appserver/admingui/common/src/main/resources/appServer/securityAdmin.jsf index 4d13897b8ea..cfa12a533ac 100644 --- a/appserver/admingui/common/src/main/resources/appServer/securityAdmin.jsf +++ b/appserver/admingui/common/src/main/resources/appServer/securityAdmin.jsf @@ -39,6 +39,7 @@ holder. --> + @@ -106,11 +107,11 @@ - + - + diff --git a/appserver/admingui/common/src/main/resources/applications/lifecycleAttr.inc b/appserver/admingui/common/src/main/resources/applications/lifecycleAttr.inc deleted file mode 100644 index 891feac02bc..00000000000 --- a/appserver/admingui/common/src/main/resources/applications/lifecycleAttr.inc +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "

- diff --git a/appserver/admingui/common/src/main/resources/applications/lifecycleButtons.inc b/appserver/admingui/common/src/main/resources/applications/lifecycleButtons.inc deleted file mode 100644 index 94302c034d1..00000000000 --- a/appserver/admingui/common/src/main/resources/applications/lifecycleButtons.inc +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - $attribute{tableRowGroup}); - getAllSingleMapRows(TableRowGroup="$attribute{tableRowGroup}", Rows=>$attribute{newList}); - - setAttribute(key="tmp" value="#{pageSession.valueMap.classname}"); - gf.createAttributeMap(keys={"name" , "value" } ,values={"class-name", "$attribute{tmp}"} map="#{requestScope.map}"); - listAdd(list="#{requestScope.newList}" value="#{requestScope.map}"); - - if (#{pageSession.valueMap.classpath}){ - setAttribute(key="tmp" value="#{pageSession.valueMap.classpath}"); - gf.createAttributeMap( keys={"name" , "value" } , values={"classpath", "$attribute{tmp}"} map="#{requestScope.map}"); - listAdd(list="#{requestScope.newList}" value="#{requestScope.map}"); - } - if (#{pageSession.valueMap.loadorder}){ - setAttribute(key="tmp" value="#{pageSession.valueMap.loadorder}"); - gf.createAttributeMap(keys={"name" , "value" } ,values={"load-order","$attribute{tmp}"} map="#{requestScope.map}"); - listAdd(list="#{requestScope.newList}" value="#{requestScope.map}"); - } - - setAttribute(key="tmp" value="#{pageSession.valueMap.failurefatal}"); - gf.createAttributeMap(keys={"name" , "value" }, values={"is-failure-fatal", "$attribute{tmp}"} map="#{requestScope.map}"); - listAdd(list="#{requestScope.newList}" value="#{requestScope.map}"); - - gf.createAttributeMap(keys={"name" , "value" }, values={ "isLifecycle", "true"} map="#{requestScope.map}"); - listAdd(list="#{requestScope.newList}" value="#{requestScope.map}"); - - javaToJSON(obj="#{requestScope.newList}" json="#{requestScope.tmpJSON}"); - gf.restRequest(endpoint="#{pageSession.selfUrl}/property.json" method="POST" data="#{requestScope.tmpJSON}" result="#{requestScope.restResponse}"); - - createMap(result="#{requestScope.aMap}") - mapPut(map="#{requestScope.aMap}" key="description" value="#{pageSession.valueMap.description}"); - gf.restRequest(endpoint="#{pageSession.selfUrl}" attrs="#{requestScope.aMap}" method="POST" ); - - if (#{pageSession.onlyDASExist}){ - createMap(result="#{requestScope.aMap}") - mapPut(map="#{requestScope.aMap}" key="enabled" value="#{pageSession.valueMap.enabled}"); - gf.restRequest(endpoint="#{pageSession.appRefUrl}" attrs="#{requestScope.aMap}" method="POST" ); - } - - prepareSuccessfulMsg(); - gf.redirect(page="#{selfPage}&alertType=${alertType}&alertSummary=${alertSummary}&alertDetail=${alertDetail}"); - /> - - - - - - - - - - diff --git a/appserver/admingui/common/src/main/resources/applications/lifecycleEdit.jsf b/appserver/admingui/common/src/main/resources/applications/lifecycleEdit.jsf deleted file mode 100644 index f3e873a78fd..00000000000 --- a/appserver/admingui/common/src/main/resources/applications/lifecycleEdit.jsf +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - - - - - - -#include "/common/applications/lifecycleTabs.inc" -#include "/common/shared/alertMsg_1.inc" - - - -#include "/common/applications/lifecycleButtons.inc" - - "

-#include "/common/applications/lifecycleAttr.inc" -#include "/common/shared/propertyDescTable.inc" - -
- - - diff --git a/appserver/admingui/common/src/main/resources/applications/lifecycleNew.jsf b/appserver/admingui/common/src/main/resources/applications/lifecycleNew.jsf deleted file mode 100644 index a1840ccbb60..00000000000 --- a/appserver/admingui/common/src/main/resources/applications/lifecycleNew.jsf +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - -#include "/common/shared/alertMsg_1.inc" - - - -#include "/common/applications/lifecycleButtons.inc" - - "

-#include "/common/applications/lifecycleAttr.inc" - - - - -
- - - diff --git a/appserver/admingui/common/src/main/resources/applications/lifecycleTabs.inc b/appserver/admingui/common/src/main/resources/applications/lifecycleTabs.inc deleted file mode 100644 index e0abf49ff41..00000000000 --- a/appserver/admingui/common/src/main/resources/applications/lifecycleTabs.inc +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - diff --git a/appserver/admingui/common/src/main/resources/applications/lifecycleTargetListing.jsf b/appserver/admingui/common/src/main/resources/applications/lifecycleTargetListing.jsf deleted file mode 100644 index b188f8691ec..00000000000 --- a/appserver/admingui/common/src/main/resources/applications/lifecycleTargetListing.jsf +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - - $attribute{listOfRows} ); - setPageSessionAttribute(key="targetPageLink" value="#{request.contextPath}/common/applications/lifecycleTargetListing.jsf"); - /> - - - -#include "/common/applications/lifecycleTabs.inc" - -#include "/common/shared/alertMsg_1.inc" - - "
- - - $page{tableId}); - /> - - - - $page{topActionGroup}); - /> - - - - - - - $attribute{tableRowGroup}); - getSelectedSingleMapRows(TableRowGroup="$attribute{tableRowGroup}" selectedRows=>$attribute{selectedRows}); - setAttribute(key="click" value="$this{component}"); - setAttribute(key="actionValue" value="#{click.selected}") - createMap(result="#{requestScope.attrsMap}"); - if( ${actionValue}=enable){ - mapPut(map="#{requestScope.attrsMap}" key="enabled" value="true"); - } - if( ${actionValue}=disable){ - mapPut(map="#{requestScope.attrsMap}" key="enabled" value="false"); - } - foreach (var="row" list="#{requestScope.selectedRows}") { - mapPut(map="#{requestScope.attrsMap}" key="ref" value="#{row['name']}"); - gf.restRequest( - endpoint="#{row['endpoint']}" - attrs="#{requestScope.attrsMap}" - method="POST" - result="#{requestScope.result}"); - } - gf.redirect(page="#{request.contextPath}/common/applications/lifecycleTargetListing.jsf?appName=#{pageSession.encodedName}&listPageLink=#{pageSession.listPageLink}"); - /> - - - - - - $page{targetTableRowGroupId}); - /> - - - - - - - - - - - - - - - - - - - -
- -#include "/common/shared/changeButtonsJS.inc" - - diff --git a/appserver/admingui/common/src/main/resources/applications/lifecycles.jsf b/appserver/admingui/common/src/main/resources/applications/lifecycles.jsf deleted file mode 100644 index 0b279d241cb..00000000000 --- a/appserver/admingui/common/src/main/resources/applications/lifecycles.jsf +++ /dev/null @@ -1,81 +0,0 @@ - - - - -// - - - - - - $attribute{listOfRows} ); - gf.onlyDASExist(onlyDAS="#{pageSession.onlyDASExist}"); - setPageSessionAttribute(key="tableTitle" value="$resource{i18n.deployTable.lifeCycle}"); - setPageSessionAttribute(key="editLink" value="#{request.contextPath}/common/applications/lifecycleEdit.jsf"); - setPageSessionAttribute(key="listPageLink" value="#{request.contextPath}/common/applications/lifecycles.jsf"); - setPageSessionAttribute(key="nextPageLink" value="#{request.contextPath}/common/applications/lifecycleNew.jsf"); - setPageSessionAttribute(key="targetLink" value="/common/applications/lifecycleTargetListing.jsf"); - setPageSessionAttribute(key="confirmDeleteMsg" value="$resource{i18nc.msg.JS.confirmDeleteLifecycle}"); - /> - -" - -#include "/common/shared/alertMsg_1.inc" - - - "
-#include "/common/applications/lifecyclesTable.inc" - - -
- - diff --git a/appserver/admingui/common/src/main/resources/applications/lifecyclesTable.inc b/appserver/admingui/common/src/main/resources/applications/lifecyclesTable.inc deleted file mode 100644 index 3d98869d1cf..00000000000 --- a/appserver/admingui/common/src/main/resources/applications/lifecyclesTable.inc +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - $page{tableId}); - /> - - - - $page{topActionGroup}); - /> - - - - - $attribute{tableRowGroup}); - getSelectedSingleMapRows(TableRowGroup="$attribute{tableRowGroup}" selectedRows=>$attribute{selectedRows}); - gf.deleteLifecycle(selectedList="#{requestScope.selectedRows}"); - gf.redirect(page="#{pageSession.listPageLink}?alertType=${alertType}&alertSummary=${alertSummary}&alertDetail=${alertDetail}"); - /> - - - $attribute{tableRowGroup}); - getSelectedSingleMapRows(TableRowGroup="$attribute{tableRowGroup}" selectedRows=>$attribute{selectedRows}); - createMap(result="#{requestScope.attrsMap}"); - mapPut(map="#{requestScope.attrsMap}" key="enabled" value="true"); - foreach (var="row" list="#{requestScope.selectedRows}") { - gf.restRequest( - endpoint="#{sessionScope.REST_URL}/servers/server/server/application-ref/#{row['encodedName']}" - attrs="#{requestScope.attrsMap}" - method="POST"); - } - gf.redirect(page="#{listPageLink}"); - /> - - - $attribute{tableRowGroup}); - getSelectedSingleMapRows(TableRowGroup="$attribute{tableRowGroup}" selectedRows=>$attribute{selectedRows}); - createMap(result="#{requestScope.attrsMap}"); - mapPut(map="#{requestScope.attrsMap}" key="enabled" value="false"); - foreach (var="row" list="#{requestScope.selectedRows}") { - gf.restRequest( - endpoint="#{sessionScope.REST_URL}/servers/server/server/application-ref/#{row['encodedName']}" - attrs="#{requestScope.attrsMap}" - method="POST"); - } - gf.redirect(page="#{listPageLink}"); - /> - - - - - - $page{tableRowGroupId}); - /> - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/appserver/admingui/common/src/main/resources/applications/manageTargets.jsf b/appserver/admingui/common/src/main/resources/applications/manageTargets.jsf index 3f474701bd2..9e5cd7cbe4c 100644 --- a/appserver/admingui/common/src/main/resources/applications/manageTargets.jsf +++ b/appserver/admingui/common/src/main/resources/applications/manageTargets.jsf @@ -39,6 +39,7 @@ holder. --> + @@ -64,10 +65,6 @@ setPageSessionAttribute(key="titleHelp", value="$resource{i18n.manageApplicationTargets.PageTitleHelp}"); setPageSessionAttribute(key="helpKey", value="$resource{help_common.manageApplicationTarget}"); } - if("#{pageSession.forApp}=false"){ - setPageSessionAttribute(key="titleHelp", value="$resource{i18n.manageLifecycleTargets.PageTitleHelp}"); - setPageSessionAttribute(key="helpKey", value="$resource{help_common.manageLifecycleTarget}"); - } /> diff --git a/appserver/admingui/common/src/main/resources/org/glassfish/common/FieldLengths.properties b/appserver/admingui/common/src/main/resources/org/glassfish/common/FieldLengths.properties index 128b5777648..c2f223640d2 100644 --- a/appserver/admingui/common/src/main/resources/org/glassfish/common/FieldLengths.properties +++ b/appserver/admingui/common/src/main/resources/org/glassfish/common/FieldLengths.properties @@ -233,9 +233,7 @@ maxLength.jvm.ClasspathSuffix=4096 maxLength.jython.jythonHome=512 maxLength.jython.mediaRoot=512 maxLength.jython.frameworkRoot=512 -maxLength.lifecycleModule.classPath=4096 -maxLength.lifecycleModule.classname=4096 -maxLength.lifecycleModule.loadOrder=10 +maxLength.enableSecureAdmin=4096 maxLength.log.SystemLogHost=100 maxLength.log.SystemLogFacility=50 maxLength.log.FileRotationLimit=10 diff --git a/appserver/admingui/common/src/main/resources/org/glassfish/common/admingui/Helplinks.properties b/appserver/admingui/common/src/main/resources/org/glassfish/common/admingui/Helplinks.properties index 48e87e0c181..e48dce668f7 100644 --- a/appserver/admingui/common/src/main/resources/org/glassfish/common/admingui/Helplinks.properties +++ b/appserver/admingui/common/src/main/resources/org/glassfish/common/admingui/Helplinks.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 ############################## # UNDER ADMIN Service is JMX Connector tab and SSL tab @@ -164,19 +165,14 @@ webServiceTester= webServiceWsdl= manageApplicationTarget=ref-appmanagetargets.html -manageLifecycleTarget=ref-lifecyclemanagetargets.html manageResourceTarget=ref-resourcemanagetargets.html applicationTargetListing=ref-apptargets.html -lifecycleTargetListing=ref-lifecycletargets.html resourceTargetListing=ref-resourcetargets.html ############################## # APPLICATIONS ############################## -lifecycles=ref-lifecyclemodules.html -lifecycleEdit=ref-lifecyclemoduleedit.html -lifecycleNew=ref-lifecyclemodulenew.html applications=ref-applications.html appclientLaunch=ref-applications.html applicationEdit=ref-appedit.html diff --git a/appserver/admingui/common/src/main/resources/org/glassfish/common/admingui/Strings.properties b/appserver/admingui/common/src/main/resources/org/glassfish/common/admingui/Strings.properties index ba2034c712b..a869313f155 100644 --- a/appserver/admingui/common/src/main/resources/org/glassfish/common/admingui/Strings.properties +++ b/appserver/admingui/common/src/main/resources/org/glassfish/common/admingui/Strings.properties @@ -50,7 +50,6 @@ msg.JS.confirmDeleteAuditModules=Selected Audit Module(s) will be deleted. Conti msg.JS.confirmDeleteMsgSecurities=Selected Message Security Configuration(s) will be deleted. Continue? msg.JS.confirmDeleteMsgProviders=Selected Provider(s) will be deleted. Continue? msg.JS.confirmDeleteUser=Selected User(s) will be deleted. Continue? -msg.JS.confirmDeleteLifecycle=Selected Lifecycle Module(s) will be deleted. Continue? msg.JS.confirmDeleteProfiler=Profiler will be deleted. Continue? msg.JS.confirmDeleteConfigs=Selected Configuration(s) will be deleted. Continue? msg.JS.confirmRotateLog=Log file would be rotated. Continue ? @@ -436,26 +435,6 @@ jvmReport.Memory=Memory jvmReport.ClLoading=Class Loading jvmReport.ThDump=Thread Dump -lifecycleModules.title=Lifecycle Modules -lifecycleModules.titleHelp=A lifecycle module performs tasks when it is triggered by one or more events in the server's lifecycle. Possible trigger server events are: initialization, startup, ready to service requests, and shutdown. Lifecycle modules are not part of the Java specification, but are an enhancement to Payara Server. -lifecycleModule.editPageTitle=Edit Lifecycle Module -lifecycleModule.editPageTitleHelp=Modify an existing lifecycle module. -lifecycleModule.newPageTitle=New Lifecycle Module -lifecycleModule.newPageTitleHelp=A lifecycle module performs tasks when it is triggered by one or more events in the server's lifecycle. Possible trigger server events are: initialization, startup, ready to service requests, and shutdown. -lifecycleModule.targetPageTitle=Lifecycle Module Targets -lifecycleModule.targetPageTitleHelp=Manage the targets (clusters and stand-alone server instances) on which this lifecycle module is available. - -lifecycleModule.classname=Class Name: -lifecycleModule.classnameHelp=Name must contain only alphanumeric, underscore, dash, or dot characters. -lifecycleModule.classPath=Classpath: -lifecycleModule.classPathHelp=Can be blank if the class is already in the server classpath. -lifecycleModule.loadOrder=Load Order: -lifecycleModule.loadOrderHelp=Order in which lifecycle modules are loaded when the server starts up. Modules with smaller integers are loaded sooner. -lifecycleModule.onLoadFailure=On Load Failure: -lifecycleModule.preventStart=Prevent Instance Startup -lifecycleModule.onLoadFailureHelp=If module load fails, do not start the instance. - - button.DeleteProfiler=Delete Profiler button.CreateProfiler=Create Profiler button.enableSecureAdmin=Enable Secure Admin diff --git a/appserver/admingui/common/src/main/resources/pluginTreeNodeApps.jsf b/appserver/admingui/common/src/main/resources/pluginTreeNodeApps.jsf index 67804e1c6c6..186153a3ae3 100644 --- a/appserver/admingui/common/src/main/resources/pluginTreeNodeApps.jsf +++ b/appserver/admingui/common/src/main/resources/pluginTreeNodeApps.jsf @@ -39,6 +39,7 @@ holder. --> + @@ -61,22 +62,3 @@ setAttribute(key="children" value="#{requestScope.resp.data.properties}"); - - - - createMap(result="#{requestScope.attrsMap}"); - mapPut(map="#{requestScope.attrsMap}" key="target" value="domain");gf.restRequest(endpoint="#{sessionScope.REST_URL}/list-lifecycle-modules" attrs="#{requestScope.attrsMap}" method="get" result="#{requestScope.resp}"); - gf.restRequest(endpoint="#{sessionScope.REST_URL}/list-lifecycle-modules" attrs="#{requestScope.attrsMap}" method="get" result="#{requestScope.resp}"); - setAttribute(key="children" value="#{requestScope.resp.data.children}"); - - diff --git a/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_de.properties b/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_de.properties index 3a552071d62..db191818197 100644 --- a/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_de.properties +++ b/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_de.properties @@ -37,7 +37,8 @@ # only if the new code is made subject to such option by the copyright # holder. # -# Portions Copyright [2016-2024] [Payara Foundation and/or its affiliates] +# Portions Copyright 2016-2026 Payara Foundation and/or its affiliates + TODO= TBD=TBD versionImage.description=Payara Server-Administrationskonsole @@ -75,7 +76,6 @@ tree.domain=Domain tree.appServer=Payara Server tree.applications=Anwendungen tree.enterpriseApps=Unternehmensanwendungen -tree.lifecycle=Lebenszyklusmodule tree.resources=Ressourcen tree.jdbcResources=JDBC-Ressourcen @@ -272,11 +272,8 @@ msg.enableResourceSuccessful=Die ausgew\u00e4hlten Ressourcen wurden aktiviert. msg.disableResourceSuccessful=Die ausgew\u00e4hlten Ressourcen wurden deaktiviert. msg.enableSuccessfulPE=Die ausgew\u00e4hlten Anwendungen wurden aktiviert. msg.disableSuccessfulPE=Die ausgew\u00e4hlten Anwendungen wurden deaktiviert. -msg.enableSuccessfulLifecycle=Die ausgew\u00e4hlten Lebenszyklusmodule wurden aktiviert. -msg.disableSuccessfulLifecycle=Die ausgew\u00e4hlten Lebenszyklusmodule wurden deaktiviert. msg.enableResourceSuccessfulPE=Die ausgew\u00e4hlten Ressourcen wurden aktiviert. msg.disableResourceSuccessfulPE=Die ausgew\u00e4hlten Ressourcen wurden deaktiviert. -msg.NoSuchLifecycle=Es wurde kein Lebenszyklus mit dem angegebenen Namen gefunden. M\u00f6glicherweise wurde die Ressource gel\u00f6scht. msg.NoSuchCluster=Die angegebene Clusterressource wurde nicht gefunden. M\u00f6glicherweise wurde das Cluster gel\u00f6scht. msg.NoSuchConfig=Die angegebene Konfigurationsressource wurde nicht gefunden. M\u00f6glicherweise wurde die Konfiguration gel\u00f6scht. msg.NoSuchInstance=Die angegebene Instanz wurde nicht gefunden. M\u00f6glicherweise wurde die Instanz gel\u00f6scht. @@ -733,7 +730,6 @@ applications.enterpriseAppsToolTip=Unternehmensanwendungen applications.webAppsToolTip=Webanwendungen applications.ejbModulesToolTip=EJB-Module applications.connectorModulesToolTip=Connector-Module -applications.lifecycleModulesToolTip=Lebenszyklusmodule applications.appclientModulesToolTip=Anwendungsclientmodule ComponentTable.tableTitle=Module und Komponenten @@ -770,7 +766,6 @@ enterpriseApplications.descriptorPageTitleHelp=Moduldeskriptoren f\u00fcr die An enterpriseApplications.appScopedResourcesPageTitle=Anwendungsspezifische Ressourcen enterpriseApplications.appScopedResourcesPageTitleHelp=Anwendungsspezifische Ressourcen f\u00fcr die Anwendung anzeigen. deployTable.applications=Bereitgestellte Anwendungen -deployTable.lifeCycle=Lebenszyklusmodule deployTable.colName=Name deployTable.colEnabled=Aktiviert deployTable.colStatus=Status @@ -926,7 +921,6 @@ redeploy.preserveAppScopedResourcesHelp=Beh\u00e4lt Anwendungs-Geltungsbereichsr # Manage Targets manageTargets.PageTitle=Ziele verwalten manageApplicationTargets.PageTitleHelp=Verwalten Sie die Ziele (Cluster und Standalone-Serverinstanzen), auf denen die Anwendung verf\u00fcgbar ist. -manageLifecycleTargets.PageTitleHelp=Verwalten Sie die Ziele (Cluster und Standalone-Serverinstanzen), auf denen das Lebenszyklusmodul verf\u00fcgbar ist. manageResourceTargets.PageTitle=Ressourcenziele verwalten manageResourceTargets.PageTitleHelp=Verwalten Sie die Ziele (Cluster und Standalone-Serverinstanzen), auf denen die Ressource verf\u00fcgbar ist. @@ -941,8 +935,6 @@ common.TargetTableTitle=Ziele applicationTargetListing.PageTitle=Anwendungsziele applicationTargetListing.PageTitleHelp=Anwendungsziele auflisten. -lifecycleTargetListing.PageTitle=Lebenszyklusmodul-Ziele -lifecycleTargetListing.PageTitleHelp=Lebenszyklusmodul-Ziele auflisten. resourceTargetListing.PageTitle=Ressourcenziele resourceTargetListing.PageTitleHelp=Ressourcenziele auflisten. diff --git a/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_es.properties b/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_es.properties index d17120ed0af..69ab1caf43a 100644 --- a/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_es.properties +++ b/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_es.properties @@ -37,7 +37,8 @@ # only if the new code is made subject to such option by the copyright # holder. # -# Portions Copyright [2016-2024] [Payara Foundation and/or its affiliates] +# Portions Copyright 2016-2026 Payara Foundation and/or its affiliates + TODO= TBD=TBD versionImage.description=Consola de Administraci\u00f3n de Payara Server @@ -75,7 +76,6 @@ tree.domain=Dominio tree.appServer=Payara Server tree.applications=Aplicaciones tree.enterpriseApps=Aplicaciones de Empresa -tree.lifecycle=M\u00f3dulos de Ciclo de Vida tree.resources=Recursos tree.jdbcResources=Recursos de JDBC @@ -272,11 +272,8 @@ msg.enableResourceSuccessful=Se han activado los recursos seleccionados. msg.disableResourceSuccessful=Se han desactivado los recursos seleccionados. msg.enableSuccessfulPE=Se han activado las aplicaciones seleccionadas. msg.disableSuccessfulPE=Se han desactivado las aplicaciones seleccionadas. -msg.enableSuccessfulLifecycle=Se han activado los m\u00f3dulos de ciclo de vida seleccionados. -msg.disableSuccessfulLifecycle=Se han desactivado los m\u00f3dulos de ciclo de vida seleccionados. msg.enableResourceSuccessfulPE=Se han activado los recursos seleccionados. msg.disableResourceSuccessfulPE=Se han desactivado los recursos seleccionados. -msg.NoSuchLifecycle=No se ha encontrado el ciclo de vida con el nombre especificado. Puede que el recurso se haya suprimido. msg.NoSuchCluster=No se ha encontrado el recurso de cluster especificado. Puede que el cluster se haya suprimido. msg.NoSuchConfig=No se ha encontrado el recurso de configuraci\u00f3n especificado. Puede que la configuraci\u00f3n se haya suprimido. msg.NoSuchInstance=No se ha encontrado la instancia especificada. Puede que la instancia se haya suprimido. @@ -734,7 +731,6 @@ applications.enterpriseAppsToolTip=Aplicaciones de Empresa applications.webAppsToolTip=Aplicaciones Web applications.ejbModulesToolTip=M\u00f3dulos EJB applications.connectorModulesToolTip=M\u00f3dulos del Conector -applications.lifecycleModulesToolTip=M\u00f3dulos de Ciclo de Vida applications.appclientModulesToolTip=M\u00f3dulos de Cliente de Aplicaciones ComponentTable.tableTitle=M\u00f3dulos y Componentes @@ -771,7 +767,6 @@ enterpriseApplications.descriptorPageTitleHelp=Ver descriptores de m\u00f3dulo p enterpriseApplications.appScopedResourcesPageTitle=Recursos de \u00c1mbito de Aplicaci\u00f3n enterpriseApplications.appScopedResourcesPageTitleHelp=Ver los recursos de \u00e1mbito de aplicaci\u00f3n para la aplicaci\u00f3n. deployTable.applications=Aplicaciones Desplegadas -deployTable.lifeCycle=M\u00f3dulos de Ciclo de Vida deployTable.colName=Nombre deployTable.colEnabled=Activada deployTable.colStatus=Estado @@ -933,7 +928,6 @@ redeploy.preserveAppScopedResourcesHelp=Conserva recursos de \u00e1mbito de la a # Manage Targets manageTargets.PageTitle=Gestionar Destinos manageApplicationTargets.PageTitleHelp=Gestione los destinos (clusters o instancias del servidor independientes) en los que est\u00e1 disponible la aplicaci\u00f3n. -manageLifecycleTargets.PageTitleHelp=Gestione los destinos (clusters o instancias del servidor independientes) en los que est\u00e1 disponible el m\u00f3dulo del ciclo de vida. manageResourceTargets.PageTitle=Gestionar Destinos de Recurso manageResourceTargets.PageTitleHelp=Gestione los destinos (clusters o instancias del servidor independientes) en los que est\u00e1 disponible el recurso. @@ -948,8 +942,6 @@ common.TargetTableTitle=Destinos applicationTargetListing.PageTitle=Destinos de Aplicaciones applicationTargetListing.PageTitleHelp=Lista de destinos de aplicaciones. -lifecycleTargetListing.PageTitle=Destinos del M\u00f3dulo de Ciclo de Vida -lifecycleTargetListing.PageTitleHelp=Lista de destinos del m\u00f3dulo de ciclo de vida. resourceTargetListing.PageTitle=Destinos de Recursos resourceTargetListing.PageTitleHelp=Lista de destinos de recursos. diff --git a/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_fr.properties b/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_fr.properties index bb32991ecf6..2a247793564 100644 --- a/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_fr.properties +++ b/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_fr.properties @@ -37,7 +37,8 @@ # only if the new code is made subject to such option by the copyright # holder. # -# Portions Copyright [2016-2024] [Payara Foundation and/or its affiliates] +# Portions Copyright 2016-2026 Payara Foundation and/or its affiliates + TODO= TBD=\u00e0 d\u00e9terminer versionImage.description=Console d'administration de Payara Server @@ -75,7 +76,6 @@ tree.domain=Domaine tree.appServer=Payara Server tree.applications=Applications tree.enterpriseApps=Application d'entreprise -tree.lifecycle=Modules de cycle de vie tree.resources=Ressources tree.jdbcResources=Ressources JDBC @@ -272,11 +272,8 @@ msg.enableResourceSuccessful=Les ressources s\u00e9lectionn\u00e9es ont \u00e9t\ msg.disableResourceSuccessful=Les ressources s\u00e9lectionn\u00e9es ont \u00e9t\u00e9 d\u00e9sactiv\u00e9es. msg.enableSuccessfulPE=Les applications s\u00e9lectionn\u00e9es ont \u00e9t\u00e9 activ\u00e9es. msg.disableSuccessfulPE=Les applications s\u00e9lectionn\u00e9es ont \u00e9t\u00e9 d\u00e9sactiv\u00e9es. -msg.enableSuccessfulLifecycle=Les modules de cycle de vie s\u00e9lectionn\u00e9s ont \u00e9t\u00e9 activ\u00e9s. -msg.disableSuccessfulLifecycle=Les modules de cycle de vie s\u00e9lectionn\u00e9s ont \u00e9t\u00e9 d\u00e9sactiv\u00e9s. msg.enableResourceSuccessfulPE=Les ressources s\u00e9lectionn\u00e9es ont \u00e9t\u00e9 activ\u00e9es. msg.disableResourceSuccessfulPE=Les ressources s\u00e9lectionn\u00e9es ont \u00e9t\u00e9 d\u00e9sactiv\u00e9es. -msg.NoSuchLifecycle=Cycle de vie introuvable avec le nom sp\u00e9cifi\u00e9. La ressource a peut-\u00eatre \u00e9t\u00e9 supprim\u00e9e. msg.NoSuchCluster=Impossible de trouver la ressource de cluster sp\u00e9cifi\u00e9e. Le cluster a peut-\u00eatre \u00e9t\u00e9 supprim\u00e9. msg.NoSuchConfig=Impossible de trouver la ressource de configuration sp\u00e9cifi\u00e9e. La configuration a peut-\u00eatre \u00e9t\u00e9 supprim\u00e9e. msg.NoSuchInstance=Impossible de trouver l'instance sp\u00e9cifi\u00e9e. Elle a peut-\u00eatre \u00e9t\u00e9 supprim\u00e9e. @@ -733,7 +730,6 @@ applications.enterpriseAppsToolTip=Application d'entreprise applications.webAppsToolTip=Applications Web applications.ejbModulesToolTip=Modules EJB applications.connectorModulesToolTip=Modules connecteurs -applications.lifecycleModulesToolTip=Modules de cycle de vie applications.appclientModulesToolTip=Modules de client d'application ComponentTable.tableTitle=Modules et composants @@ -770,7 +766,6 @@ enterpriseApplications.descriptorPageTitleHelp=Affichez les descripteurs de modu enterpriseApplications.appScopedResourcesPageTitle=Ressources de niveau application enterpriseApplications.appScopedResourcesPageTitleHelp=Visualisez les ressources de niveau application. deployTable.applications=Applications d\u00e9ploy\u00e9es -deployTable.lifeCycle=Modules de cycle de vie deployTable.colName=Nom deployTable.colEnabled=Activ\u00e9 deployTable.colStatus=Statut @@ -926,7 +921,6 @@ redeploy.preserveAppScopedResourcesHelp=Conserve les ressources de niveau applic # Manage Targets manageTargets.PageTitle=G\u00e9rer les cibles manageApplicationTargets.PageTitleHelp=G\u00e9rez les cibles (clusters et instances de serveur autonomes) sur lesquelles l'application Web est disponible. -manageLifecycleTargets.PageTitleHelp=G\u00e9rez les cibles (clusters et instances de serveur autonomes) sur lesquelles le module de cycle de vie est disponible. manageResourceTargets.PageTitle=G\u00e9rer les cibles des ressources manageResourceTargets.PageTitleHelp=G\u00e9rez les cibles (clusters et instances de serveur autonomes) sur lesquelles la ressource est disponible. @@ -941,8 +935,6 @@ common.TargetTableTitle=Cibles applicationTargetListing.PageTitle=Cibles de l'application applicationTargetListing.PageTitleHelp=Listez les cibles de l'application. -lifecycleTargetListing.PageTitle=Cibles de module de cycle de vie -lifecycleTargetListing.PageTitleHelp=Listez les cibles des modules de cycle de vie. resourceTargetListing.PageTitle=Cibles de ressources resourceTargetListing.PageTitleHelp=Listez les cibles de ressources. diff --git a/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_it.properties b/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_it.properties index cd1fd6e4dd2..a2af5549223 100644 --- a/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_it.properties +++ b/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_it.properties @@ -37,7 +37,8 @@ # only if the new code is made subject to such option by the copyright # holder. # -# Portions Copyright [2016-2024] [Payara Foundation and/or its affiliates] +# Portions Copyright 2016-2026 Payara Foundation and/or its affiliates + TODO= TBD=TBD versionImage.description=Console di amministrazione Payara Server @@ -74,7 +75,6 @@ tree.domain=Dominio tree.appServer=Payara Server tree.applications=Applicazioni tree.enterpriseApps=Applicazioni enterprise -tree.lifecycle=Moduli del ciclo di vita tree.resources=Risorse tree.jdbcResources=Risorse JDBC @@ -271,11 +271,8 @@ msg.enableResourceSuccessful=La risorsa o le e risorse selezionate sono state ab msg.disableResourceSuccessful=La risorsa o le e risorse selezionate sono state disabilitate. msg.enableSuccessfulPE=L'applicazione o le applicazioni selezionate sono state abilitate. msg.disableSuccessfulPE=L'applicazione o le applicazioni selezionate sono state disabilitate. -msg.enableSuccessfulLifecycle=Il modulo o i moduli del ciclo di vita selezionati sono stati abilitati. -msg.disableSuccessfulLifecycle=Il modulo o i moduli del ciclo di vita selezionati sono stati disabilitati. msg.enableResourceSuccessfulPE=La risorsa o le e risorse selezionate sono state abilitate. msg.disableResourceSuccessfulPE=La risorsa o le e risorse selezionate sono state disabilitate. -msg.NoSuchLifecycle=Impossibile trovare il ciclo di vita con il nome specificato. La risorsa potrebbe essere stata eliminata. msg.NoSuchCluster=Impossibile trovare la risorsa cluster specificata. Il cluster potrebbe essere stato eliminato. msg.NoSuchConfig=Impossibile trovare la risorsa di configurazione specificata. La configurazione potrebbe essere stata eliminata. msg.NoSuchInstance=Impossibile trovare l'istanza specificata. L'istanza potrebbe essere stata eliminata. @@ -732,7 +729,6 @@ applications.enterpriseAppsToolTip=Applicazioni enterprise applications.webAppsToolTip=Applicazioni Web applications.ejbModulesToolTip=Moduli EJB applications.connectorModulesToolTip=Moduli connettore -applications.lifecycleModulesToolTip=Moduli del ciclo di vita applications.appclientModulesToolTip=Moduli client applicazione ComponentTable.tableTitle=Moduli e componenti @@ -769,7 +765,6 @@ enterpriseApplications.descriptorPageTitleHelp=Visualizza i descrittori di modul enterpriseApplications.appScopedResourcesPageTitle=Risorse con ambito applicazione enterpriseApplications.appScopedResourcesPageTitleHelp=Visualizza le risorse con ambito a livello dell'applicazione. deployTable.applications=Applicazioni distribuite -deployTable.lifeCycle=Moduli del ciclo di vita deployTable.colName=Nome deployTable.colEnabled=Abilitato deployTable.colStatus=Stato @@ -925,7 +920,6 @@ redeploy.preserveAppScopedResourcesHelp=Conserva le risorse con ambito a livello # Manage Targets manageTargets.PageTitle=Gestisci destinazioni manageApplicationTargets.PageTitleHelp=Consente di gestire le destinazioni (cluster e istanze server standalone) in cui \u00e8 disponibile l'applicazione. -manageLifecycleTargets.PageTitleHelp=Consente di gestire le destinazioni (cluster e istanze server standalone) in cui \u00e8 disponibile il modulo del ciclo di vita. manageResourceTargets.PageTitle=Gestisci destinazioni risorse manageResourceTargets.PageTitleHelp=Consente di gestire le destinazioni (cluster e istanze server standalone) in cui \u00e8 disponibile la risorsa. @@ -940,8 +934,6 @@ common.TargetTableTitle=Destinazioni applicationTargetListing.PageTitle=Destinazioni applicazioni applicationTargetListing.PageTitleHelp=Elenca le destinazioni delle applicazioni. -lifecycleTargetListing.PageTitle=Destinazioni moduli del ciclo di vita -lifecycleTargetListing.PageTitleHelp=Elenca le destinazioni dei moduli del ciclo di vita. resourceTargetListing.PageTitle=Destinazioni risorse resourceTargetListing.PageTitleHelp=Elenca le destinazioni delle risorse. diff --git a/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_ja.properties b/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_ja.properties index 843b3e32568..fc48c50786a 100644 --- a/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_ja.properties +++ b/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_ja.properties @@ -37,7 +37,7 @@ # only if the new code is made subject to such option by the copyright # holder. # -# Portions Copyright [2016-2024] [Payara Foundation and/or its affiliates] +# Portions Copyright 2016-2026 Payara Foundation and/or its affiliates TODO= TBD=TBD @@ -76,7 +76,6 @@ tree.domain=\u30c9\u30e1\u30a4\u30f3 tree.appServer=Payara Server tree.applications=\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3 tree.enterpriseApps=\u30a8\u30f3\u30bf\u30fc\u30d7\u30e9\u30a4\u30ba\u30fb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3 -tree.lifecycle=\u30e9\u30a4\u30d5\u30b5\u30a4\u30af\u30eb\u30fb\u30e2\u30b8\u30e5\u30fc\u30eb tree.resources=\u30ea\u30bd\u30fc\u30b9 tree.jdbcResources=JDBC\u30ea\u30bd\u30fc\u30b9 @@ -285,11 +284,8 @@ msg.enableResourceOnTargetsSuccessful=\u30ea\u30bd\u30fc\u30b9\u3092\u9078\u629e msg.disableResourceOnTargetsSuccessful=\u30ea\u30bd\u30fc\u30b9\u3092\u9078\u629e\u3057\u305f\u30bf\u30fc\u30b2\u30c3\u30c8\u3067\u7121\u52b9\u306b\u3057\u307e\u3057\u305f\u3002 msg.enableSuccessfulPE=\u9078\u629e\u3057\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u6709\u52b9\u306b\u3057\u307e\u3057\u305f\u3002 msg.disableSuccessfulPE=\u9078\u629e\u3057\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u7121\u52b9\u306b\u3057\u307e\u3057\u305f\u3002 -msg.enableSuccessfulLifecycle=\u9078\u629e\u3057\u305f\u30e9\u30a4\u30d5\u30b5\u30a4\u30af\u30eb\u30fb\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u6709\u52b9\u306b\u3057\u307e\u3057\u305f\u3002 -msg.disableSuccessfulLifecycle=\u9078\u629e\u3057\u305f\u30e9\u30a4\u30d5\u30b5\u30a4\u30af\u30eb\u30fb\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u7121\u52b9\u306b\u3057\u307e\u3057\u305f\u3002 msg.enableResourceSuccessfulPE=\u9078\u629e\u3057\u305f\u30ea\u30bd\u30fc\u30b9\u3092\u6709\u52b9\u306b\u3057\u307e\u3057\u305f\u3002 msg.disableResourceSuccessfulPE=\u9078\u629e\u3057\u305f\u30ea\u30bd\u30fc\u30b9\u3092\u7121\u52b9\u306b\u3057\u307e\u3057\u305f\u3002 -msg.NoSuchLifecycle=\u6307\u5b9a\u3055\u308c\u305f\u540d\u524d\u306e\u30e9\u30a4\u30d5\u30b5\u30a4\u30af\u30eb\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002\u30ea\u30bd\u30fc\u30b9\u306f\u524a\u9664\u3055\u308c\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002 msg.NoSuchCluster=\u6307\u5b9a\u3055\u308c\u305f\u30af\u30e9\u30b9\u30bf\u30fb\u30ea\u30bd\u30fc\u30b9\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002\u30af\u30e9\u30b9\u30bf\u306f\u524a\u9664\u3055\u308c\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002 msg.NoSuchConfig=\u6307\u5b9a\u3055\u308c\u305f\u69cb\u6210\u30ea\u30bd\u30fc\u30b9\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002\u69cb\u6210\u306f\u524a\u9664\u3055\u308c\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002 msg.NoSuchInstance=\u6307\u5b9a\u3055\u308c\u305f\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306f\u524a\u9664\u3055\u308c\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002 @@ -752,7 +748,6 @@ applications.enterpriseAppsToolTip=\u30a8\u30f3\u30bf\u30fc\u30d7\u30e9\u30a4\u3 applications.webAppsToolTip=Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3 applications.ejbModulesToolTip=EJB\u30e2\u30b8\u30e5\u30fc\u30eb applications.connectorModulesToolTip=\u30b3\u30cd\u30af\u30bf\u30fb\u30e2\u30b8\u30e5\u30fc\u30eb -applications.lifecycleModulesToolTip=\u30e9\u30a4\u30d5\u30b5\u30a4\u30af\u30eb\u30fb\u30e2\u30b8\u30e5\u30fc\u30eb applications.appclientModulesToolTip=\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30fb\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30fb\u30e2\u30b8\u30e5\u30fc\u30eb ComponentTable.tableTitle=\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8 @@ -789,7 +784,6 @@ enterpriseApplications.descriptorPageTitleHelp=\u30a2\u30d7\u30ea\u30b1\u30fc\u3 enterpriseApplications.appScopedResourcesPageTitle=\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5bfe\u8c61\u7bc4\u56f2\u3068\u3059\u308b\u30ea\u30bd\u30fc\u30b9 enterpriseApplications.appScopedResourcesPageTitleHelp=\u3053\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5bfe\u8c61\u7bc4\u56f2\u3068\u3059\u308b\u30ea\u30bd\u30fc\u30b9\u3092\u8868\u793a\u3057\u307e\u3059\u3002 deployTable.applications=\u30c7\u30d7\u30ed\u30a4\u6e08\u307f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3 -deployTable.lifeCycle=\u30e9\u30a4\u30d5\u30b5\u30a4\u30af\u30eb\u30fb\u30e2\u30b8\u30e5\u30fc\u30eb deployTable.colName=\u540d\u524d deployTable.colEnabled=\u6709\u52b9 deployTable.colStatus=\u30b9\u30c6\u30fc\u30bf\u30b9 @@ -956,7 +950,6 @@ redeploy.preserveAppScopedResourcesHelp=\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30 # Manage Targets manageTargets.PageTitle=\u30bf\u30fc\u30b2\u30c3\u30c8\u306e\u7ba1\u7406 manageApplicationTargets.PageTitleHelp=\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3067\u304d\u308b\u30bf\u30fc\u30b2\u30c3\u30c8(\u30af\u30e9\u30b9\u30bf\u304a\u3088\u3073\u30b9\u30bf\u30f3\u30c9\u30a2\u30ed\u30f3\u30fb\u30b5\u30fc\u30d0\u30fc\u30fb\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9)\u3092\u7ba1\u7406\u3057\u307e\u3059\u3002 -manageLifecycleTargets.PageTitleHelp=\u30e9\u30a4\u30d5\u30b5\u30a4\u30af\u30eb\u30fb\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u7528\u3067\u304d\u308b\u30bf\u30fc\u30b2\u30c3\u30c8(\u30af\u30e9\u30b9\u30bf\u304a\u3088\u3073\u30b9\u30bf\u30f3\u30c9\u30a2\u30ed\u30f3\u30fb\u30b5\u30fc\u30d0\u30fc\u30fb\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9)\u3092\u7ba1\u7406\u3057\u307e\u3059\u3002 manageResourceTargets.PageTitle=\u30ea\u30bd\u30fc\u30b9\u30fb\u30bf\u30fc\u30b2\u30c3\u30c8\u306e\u7ba1\u7406 manageResourceTargets.PageTitleHelp=\u30ea\u30bd\u30fc\u30b9\u3092\u4f7f\u7528\u3067\u304d\u308b\u30bf\u30fc\u30b2\u30c3\u30c8(\u30af\u30e9\u30b9\u30bf\u304a\u3088\u3073\u30b9\u30bf\u30f3\u30c9\u30a2\u30ed\u30f3\u30fb\u30b5\u30fc\u30d0\u30fc\u30fb\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9)\u3092\u7ba1\u7406\u3057\u307e\u3059\u3002 @@ -971,9 +964,6 @@ common.TargetTableTitle=\u30bf\u30fc\u30b2\u30c3\u30c8 applicationTargetListing.PageTitle=\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30fb\u30bf\u30fc\u30b2\u30c3\u30c8 applicationTargetListing.PageTitleHelp=\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30fb\u30bf\u30fc\u30b2\u30c3\u30c8\u3092\u4e00\u89a7\u8868\u793a\u3057\u307e\u3059\u3002 -lifecycleTargetListing.PageTitle=\u30e9\u30a4\u30d5\u30b5\u30a4\u30af\u30eb\u30fb\u30e2\u30b8\u30e5\u30fc\u30eb\u30fb\u30bf\u30fc\u30b2\u30c3\u30c8 -lifecycleTargetListing.PageTitleHelp=\u30e9\u30a4\u30d5\u30b5\u30a4\u30af\u30eb\u30fb\u30e2\u30b8\u30e5\u30fc\u30eb\u30fb\u30bf\u30fc\u30b2\u30c3\u30c8\u3092\u4e00\u89a7\u8868\u793a\u3057\u307e\u3059\u3002 - resourceTargetListing.PageTitle=\u30ea\u30bd\u30fc\u30b9\u30fb\u30bf\u30fc\u30b2\u30c3\u30c8 resourceTargetListing.PageTitleHelp=\u30ea\u30bd\u30fc\u30b9\u30fb\u30bf\u30fc\u30b2\u30c3\u30c8\u3092\u4e00\u89a7\u8868\u793a\u3057\u307e\u3059\u3002 diff --git a/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_ko.properties b/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_ko.properties index 6d6fb8d3cc5..cbc4c4c8ee8 100644 --- a/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_ko.properties +++ b/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_ko.properties @@ -37,7 +37,8 @@ # only if the new code is made subject to such option by the copyright # holder. # -# Portions Copyright [2016-2024] [Payara Foundation and/or its affiliates] +# Portions Copyright 2016-2026 Payara Foundation and/or its affiliates + TODO= TBD=TBD versionImage.description=Payara Server \uad00\ub9ac \ucf58\uc194 @@ -75,7 +76,6 @@ tree.domain=\ub3c4\uba54\uc778 tree.appServer=Payara Server tree.applications=\uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8 tree.enterpriseApps=\uc5d4\ud130\ud504\ub77c\uc774\uc988 \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8 -tree.lifecycle=\uc218\uba85 \uc8fc\uae30 \ubaa8\ub4c8 tree.resources=\ub9ac\uc18c\uc2a4 tree.jdbcResources=JDBC \ub9ac\uc18c\uc2a4 @@ -272,11 +272,8 @@ msg.enableResourceSuccessful=\uc120\ud0dd\ud55c \ub9ac\uc18c\uc2a4\uac00 \uc0ac\ msg.disableResourceSuccessful=\uc120\ud0dd\ud55c \ub9ac\uc18c\uc2a4\uac00 \uc0ac\uc6a9 \uc548\ud568\uc73c\ub85c \uc124\uc815\ub418\uc5c8\uc2b5\ub2c8\ub2e4. msg.enableSuccessfulPE=\uc120\ud0dd\ud55c \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uc774 \uc0ac\uc6a9\uc73c\ub85c \uc124\uc815\ub418\uc5c8\uc2b5\ub2c8\ub2e4. msg.disableSuccessfulPE=\uc120\ud0dd\ud55c \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uc774 \uc0ac\uc6a9 \uc548\ud568\uc73c\ub85c \uc124\uc815\ub418\uc5c8\uc2b5\ub2c8\ub2e4. -msg.enableSuccessfulLifecycle=\uc120\ud0dd\ud55c \uc218\uba85 \uc8fc\uae30 \ubaa8\ub4c8\uc774 \uc0ac\uc6a9\uc73c\ub85c \uc124\uc815\ub418\uc5c8\uc2b5\ub2c8\ub2e4. -msg.disableSuccessfulLifecycle=\uc120\ud0dd\ud55c \uc218\uba85 \uc8fc\uae30 \ubaa8\ub4c8\uc774 \uc0ac\uc6a9 \uc548\ud568\uc73c\ub85c \uc124\uc815\ub418\uc5c8\uc2b5\ub2c8\ub2e4. msg.enableResourceSuccessfulPE=\uc120\ud0dd\ud55c \ub9ac\uc18c\uc2a4\uac00 \uc0ac\uc6a9\uc73c\ub85c \uc124\uc815\ub418\uc5c8\uc2b5\ub2c8\ub2e4. msg.disableResourceSuccessfulPE=\uc120\ud0dd\ud55c \ub9ac\uc18c\uc2a4\uac00 \uc0ac\uc6a9 \uc548\ud568\uc73c\ub85c \uc124\uc815\ub418\uc5c8\uc2b5\ub2c8\ub2e4. -msg.NoSuchLifecycle=\uc9c0\uc815\ud55c \uc774\ub984\uc758 \uc218\uba85 \uc8fc\uae30\ub97c \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. \ub9ac\uc18c\uc2a4\uac00 \uc0ad\uc81c\ub418\uc5c8\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4. msg.NoSuchCluster=\uc9c0\uc815\ub41c \ud074\ub7ec\uc2a4\ud130 \ub9ac\uc18c\uc2a4\ub97c \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. \ud074\ub7ec\uc2a4\ud130\uac00 \uc0ad\uc81c\ub418\uc5c8\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4. msg.NoSuchConfig=\uc9c0\uc815\ub41c \uad6c\uc131 \ub9ac\uc18c\uc2a4\ub97c \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. \uad6c\uc131\uc774 \uc0ad\uc81c\ub418\uc5c8\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4. msg.NoSuchInstance=\uc9c0\uc815\ub41c \uc778\uc2a4\ud134\uc2a4\ub97c \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. \uc778\uc2a4\ud134\uc2a4\uac00 \uc0ad\uc81c\ub418\uc5c8\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4. @@ -733,7 +730,6 @@ applications.enterpriseAppsToolTip=\uc5d4\ud130\ud504\ub77c\uc774\uc988 \uc751\u applications.webAppsToolTip=\uc6f9 \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8 applications.ejbModulesToolTip=EJB \ubaa8\ub4c8 applications.connectorModulesToolTip=\ucee4\ub125\ud130 \ubaa8\ub4c8 -applications.lifecycleModulesToolTip=\uc218\uba85 \uc8fc\uae30 \ubaa8\ub4c8 applications.appclientModulesToolTip=\uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8 \ud074\ub77c\uc774\uc5b8\ud2b8 \ubaa8\ub4c8 ComponentTable.tableTitle=\ubaa8\ub4c8 \ubc0f \uad6c\uc131 \uc694\uc18c @@ -770,7 +766,6 @@ enterpriseApplications.descriptorPageTitleHelp=\uc751\uc6a9 \ud504\ub85c\uadf8\u enterpriseApplications.appScopedResourcesPageTitle=\uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8 \ubc94\uc704 \ub9ac\uc18c\uc2a4 enterpriseApplications.appScopedResourcesPageTitleHelp=\uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uc5d0 \ub300\ud55c \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8 \ubc94\uc704 \ub9ac\uc18c\uc2a4\ub97c \ubd05\ub2c8\ub2e4. deployTable.applications=\ubc30\uce58\ub41c \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8 -deployTable.lifeCycle=\uc218\uba85 \uc8fc\uae30 \ubaa8\ub4c8 deployTable.colName=\uc774\ub984 deployTable.colEnabled=\uc0ac\uc6a9 deployTable.colStatus=\uc0c1\ud0dc @@ -926,7 +921,6 @@ redeploy.preserveAppScopedResourcesHelp=\uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8 \u # Manage Targets manageTargets.PageTitle=\ub300\uc0c1 \uad00\ub9ac manageApplicationTargets.PageTitleHelp=\uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ub300\uc0c1(\ud074\ub7ec\uc2a4\ud130 \ubc0f \ub3c5\ub9bd\ud615 \uc11c\ubc84 \uc778\uc2a4\ud134\uc2a4)\uc744 \uad00\ub9ac\ud569\ub2c8\ub2e4. -manageLifecycleTargets.PageTitleHelp=\uc218\uba85 \uc8fc\uae30 \ubaa8\ub4c8\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ub300\uc0c1(\ud074\ub7ec\uc2a4\ud130 \ubc0f \ub3c5\ub9bd\ud615 \uc11c\ubc84 \uc778\uc2a4\ud134\uc2a4)\uc744 \uad00\ub9ac\ud569\ub2c8\ub2e4. manageResourceTargets.PageTitle=\ub9ac\uc18c\uc2a4 \ub300\uc0c1 \uad00\ub9ac manageResourceTargets.PageTitleHelp=\ub9ac\uc18c\uc2a4\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ub300\uc0c1(\ud074\ub7ec\uc2a4\ud130 \ubc0f \ub3c5\ub9bd\ud615 \uc11c\ubc84 \uc778\uc2a4\ud134\uc2a4)\uc744 \uad00\ub9ac\ud569\ub2c8\ub2e4. @@ -941,9 +935,6 @@ common.TargetTableTitle=\ub300\uc0c1 applicationTargetListing.PageTitle=\uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8 \ub300\uc0c1 applicationTargetListing.PageTitleHelp=\uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8 \ub300\uc0c1\uc744 \ub098\uc5f4\ud569\ub2c8\ub2e4. -lifecycleTargetListing.PageTitle=\uc218\uba85 \uc8fc\uae30 \ubaa8\ub4c8 \ub300\uc0c1 -lifecycleTargetListing.PageTitleHelp=\uc218\uba85 \uc8fc\uae30 \ubaa8\ub4c8 \ub300\uc0c1\uc744 \ub098\uc5f4\ud569\ub2c8\ub2e4. - resourceTargetListing.PageTitle=\ub9ac\uc18c\uc2a4 \ub300\uc0c1 resourceTargetListing.PageTitleHelp=\ub9ac\uc18c\uc2a4 \ub300\uc0c1\uc744 \ub098\uc5f4\ud569\ub2c8\ub2e4. diff --git a/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_pt_BR.properties b/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_pt_BR.properties index c1a4ab1a129..14641e71714 100644 --- a/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_pt_BR.properties +++ b/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_pt_BR.properties @@ -37,7 +37,8 @@ # only if the new code is made subject to such option by the copyright # holder. # -# Portions Copyright [2016-2024] [Payara Foundation and/or its affiliates] +# Portions Copyright 2016-2026 Payara Foundation and/or its affiliates + TODO= TBD=TBD versionImage.description=Console de Administra\u00e7\u00e3o do Payara Server @@ -75,7 +76,6 @@ tree.domain=Dom\u00ednio tree.appServer=Instalar o Payara Server: tree.applications=Aplica\u00e7\u00f5es tree.enterpriseApps=Aplica\u00e7\u00f5es Empresariais -tree.lifecycle=M\u00f3dulos de Ciclo de Vida tree.resources=Recursos tree.jdbcResources=Recursos do JDBC @@ -272,11 +272,8 @@ msg.enableResourceSuccessful=Os recursos selecionados foram ativados. msg.disableResourceSuccessful=Os recursos selecionados foram desativados. msg.enableSuccessfulPE=As aplica\u00e7\u00f5es selecionadas foram ativadas. msg.disableSuccessfulPE=As aplica\u00e7\u00f5es selecionadas foram desativadas. -msg.enableSuccessfulLifecycle=Os m\u00f3dulos de ciclo de vida selecionados foram ativados. -msg.disableSuccessfulLifecycle=Os m\u00f3dulos de ciclo de vida selecionados foram desativados. msg.enableResourceSuccessfulPE=Os recursos selecionados foram ativados. msg.disableResourceSuccessfulPE=Os recursos selecionados foram desativados. -msg.NoSuchLifecycle=N\u00e3o \u00e9 poss\u00edvel encontrar ciclo de vida com o nome especificado. O recurso pode ter sido deletado. msg.NoSuchCluster=N\u00e3o \u00e9 poss\u00edvel encontrar o Recurso Cluster especificado. O cluster pode ter sido deletado. msg.NoSuchConfig=N\u00e3o \u00e9 poss\u00edvel encontrar o Recurso Config especificado. A configura\u00e7\u00e3o pode ter sido deletada. msg.NoSuchInstance=N\u00e3o \u00e9 poss\u00edvel encontrar a inst\u00e2ncia especificada. A inst\u00e2ncia pode ter sido deletada. @@ -733,7 +730,6 @@ applications.enterpriseAppsToolTip=Aplica\u00e7\u00f5es Empresariais applications.webAppsToolTip=Aplica\u00e7\u00f5es Web applications.ejbModulesToolTip=M\u00f3dulos EJB applications.connectorModulesToolTip=M\u00f3dulos de Conector -applications.lifecycleModulesToolTip=M\u00f3dulos de Ciclo de Vida applications.appclientModulesToolTip=M\u00f3dulos Clientes de Aplica\u00e7\u00e3o ComponentTable.tableTitle=M\u00f3dulos e Componentes @@ -770,7 +766,6 @@ enterpriseApplications.descriptorPageTitleHelp=Exiba descritores de m\u00f3dulos enterpriseApplications.appScopedResourcesPageTitle=Recursos do Escopo da Aplica\u00e7\u00e3o: enterpriseApplications.appScopedResourcesPageTitleHelp=Exiba recursos de escopo da aplica\u00e7\u00e3o. deployTable.applications=Aplica\u00e7\u00f5es Implantadas -deployTable.lifeCycle=M\u00f3dulos de Ciclo de Vida deployTable.colName=Nome deployTable.colEnabled=Ativado deployTable.colStatus=Status @@ -929,7 +924,6 @@ redeploy.preserveAppScopedResourcesHelp=Preserva os recursos no escopo da aplica # Manage Targets manageTargets.PageTitle=Gerenciar Alvos manageApplicationTargets.PageTitleHelp=Gerencie os destinos (clusters e inst\u00e2ncias de servidores standalone) nos quais a aplica\u00e7\u00e3o est\u00e1 dispon\u00edvel. -manageLifecycleTargets.PageTitleHelp=Gerencie os destinos (clusters e inst\u00e2ncias de servidores standalone) nos quais o m\u00f3dulo de ciclo de vida est\u00e1 dispon\u00edvel. manageResourceTargets.PageTitle=Gerenciar Alvos do Recurso manageResourceTargets.PageTitleHelp=Gerencie os destinos (clusters e inst\u00e2ncias de servidores standalone) nos quais o recurso est\u00e1 dispon\u00edvel. @@ -944,9 +938,6 @@ common.TargetTableTitle=Alvos applicationTargetListing.PageTitle=Alvos da Aplica\u00e7\u00e3o applicationTargetListing.PageTitleHelp=Lista os destinos da aplica\u00e7\u00e3o. -lifecycleTargetListing.PageTitle=Alvos do M\u00f3dulo de Ciclo de Vida -lifecycleTargetListing.PageTitleHelp=Lista os destinos do m\u00f3dulo de ciclo de vida. - resourceTargetListing.PageTitle=Alvos do Recurso resourceTargetListing.PageTitleHelp=Lista os destinos do recurso. diff --git a/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_zh_CN.properties b/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_zh_CN.properties index eba88f685f0..3c73de26bd8 100644 --- a/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_zh_CN.properties +++ b/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_zh_CN.properties @@ -37,7 +37,8 @@ # only if the new code is made subject to such option by the copyright # holder. # -# Portions Copyright [2016-2024] [Payara Foundation and/or its affiliates] +# Portions Copyright 2016-2026 Payara Foundation and/or its affiliates + TODO= TBD=TBD versionImage.description=Payara Server \u7ba1\u7406\u63a7\u5236\u53f0 @@ -75,7 +76,6 @@ tree.domain=\u57df tree.appServer=Payara Server tree.applications=\u5e94\u7528\u7a0b\u5e8f tree.enterpriseApps=\u4f01\u4e1a\u5e94\u7528\u7a0b\u5e8f -tree.lifecycle=\u751f\u547d\u5468\u671f\u6a21\u5757 tree.resources=\u8d44\u6e90 tree.jdbcResources=JDBC \u8d44\u6e90 @@ -272,11 +272,8 @@ msg.enableResourceSuccessful=\u5df2\u542f\u7528\u6240\u9009\u8d44\u6e90\u3002 msg.disableResourceSuccessful=\u5df2\u7981\u7528\u6240\u9009\u8d44\u6e90\u3002 msg.enableSuccessfulPE=\u5df2\u542f\u7528\u6240\u9009\u5e94\u7528\u7a0b\u5e8f\u3002 msg.disableSuccessfulPE=\u5df2\u7981\u7528\u6240\u9009\u5e94\u7528\u7a0b\u5e8f\u3002 -msg.enableSuccessfulLifecycle=\u5df2\u542f\u7528\u6240\u9009\u751f\u547d\u5468\u671f\u6a21\u5757\u3002 -msg.disableSuccessfulLifecycle=\u5df2\u7981\u7528\u6240\u9009\u751f\u547d\u5468\u671f\u6a21\u5757\u3002 msg.enableResourceSuccessfulPE=\u5df2\u542f\u7528\u6240\u9009\u8d44\u6e90\u3002 msg.disableResourceSuccessfulPE=\u5df2\u7981\u7528\u6240\u9009\u8d44\u6e90\u3002 -msg.NoSuchLifecycle=\u65e0\u6cd5\u627e\u5230\u5177\u6709\u6307\u5b9a\u540d\u79f0\u7684\u751f\u547d\u5468\u671f\u3002\u8d44\u6e90\u53ef\u80fd\u5df2\u5220\u9664\u3002 msg.NoSuchCluster=\u65e0\u6cd5\u627e\u5230\u6307\u5b9a\u7684\u96c6\u7fa4\u8d44\u6e90\u3002\u96c6\u7fa4\u53ef\u80fd\u5df2\u5220\u9664\u3002 msg.NoSuchConfig=\u65e0\u6cd5\u627e\u5230\u6307\u5b9a\u7684\u914d\u7f6e\u8d44\u6e90\u3002\u914d\u7f6e\u53ef\u80fd\u5df2\u5220\u9664\u3002 msg.NoSuchInstance=\u65e0\u6cd5\u627e\u5230\u6307\u5b9a\u7684\u5b9e\u4f8b\u3002\u5b9e\u4f8b\u53ef\u80fd\u5df2\u5220\u9664\u3002 @@ -733,7 +730,6 @@ applications.enterpriseAppsToolTip=\u4f01\u4e1a\u5e94\u7528\u7a0b\u5e8f applications.webAppsToolTip=Web \u5e94\u7528\u7a0b\u5e8f applications.ejbModulesToolTip=EJB \u6a21\u5757 applications.connectorModulesToolTip=\u8fde\u63a5\u5668\u6a21\u5757 -applications.lifecycleModulesToolTip=\u751f\u547d\u5468\u671f\u6a21\u5757 applications.appclientModulesToolTip=\u5e94\u7528\u7a0b\u5e8f\u5ba2\u6237\u673a\u6a21\u5757 ComponentTable.tableTitle=\u6a21\u5757\u548c\u7ec4\u4ef6 @@ -770,7 +766,6 @@ enterpriseApplications.descriptorPageTitleHelp=\u67e5\u770b\u5e94\u7528\u7a0b\u5 enterpriseApplications.appScopedResourcesPageTitle=\u5e94\u7528\u7a0b\u5e8f\u8303\u56f4\u7684\u8d44\u6e90 enterpriseApplications.appScopedResourcesPageTitleHelp=\u67e5\u770b\u5e94\u7528\u7a0b\u5e8f\u7684\u5e94\u7528\u7a0b\u5e8f\u8303\u56f4\u7684\u8d44\u6e90\u3002 deployTable.applications=\u5df2\u90e8\u7f72\u7684\u5e94\u7528\u7a0b\u5e8f -deployTable.lifeCycle=\u751f\u547d\u5468\u671f\u6a21\u5757 deployTable.colName=\u540d\u79f0 deployTable.colEnabled=\u5df2\u542f\u7528 deployTable.colStatus=\u72b6\u6001 @@ -926,7 +921,6 @@ redeploy.preserveAppScopedResourcesHelp=\u4fdd\u7559\u5e94\u7528\u7a0b\u5e8f\u83 # Manage Targets manageTargets.PageTitle=\u7ba1\u7406\u76ee\u6807 manageApplicationTargets.PageTitleHelp=\u7ba1\u7406\u53ef\u63d0\u4f9b\u5e94\u7528\u7a0b\u5e8f\u7684\u76ee\u6807 (\u96c6\u7fa4\u548c\u72ec\u7acb\u670d\u52a1\u5668\u5b9e\u4f8b)\u3002 -manageLifecycleTargets.PageTitleHelp=\u7ba1\u7406\u53ef\u63d0\u4f9b\u751f\u547d\u5468\u671f\u6a21\u5757\u7684\u76ee\u6807 (\u96c6\u7fa4\u548c\u72ec\u7acb\u670d\u52a1\u5668\u5b9e\u4f8b)\u3002 manageResourceTargets.PageTitle=\u7ba1\u7406\u8d44\u6e90\u76ee\u6807 manageResourceTargets.PageTitleHelp=\u7ba1\u7406\u53ef\u63d0\u4f9b\u8d44\u6e90\u7684\u76ee\u6807 (\u96c6\u7fa4\u548c\u72ec\u7acb\u670d\u52a1\u5668\u5b9e\u4f8b)\u3002 @@ -941,9 +935,6 @@ common.TargetTableTitle=\u76ee\u6807 applicationTargetListing.PageTitle=\u5e94\u7528\u7a0b\u5e8f\u76ee\u6807 applicationTargetListing.PageTitleHelp=\u5217\u51fa\u5e94\u7528\u7a0b\u5e8f\u76ee\u6807\u3002 -lifecycleTargetListing.PageTitle=\u751f\u547d\u5468\u671f\u6a21\u5757\u76ee\u6807 -lifecycleTargetListing.PageTitleHelp=\u5217\u51fa\u751f\u547d\u5468\u671f\u6a21\u5757\u76ee\u6807\u3002 - resourceTargetListing.PageTitle=\u8d44\u6e90\u76ee\u6807 resourceTargetListing.PageTitleHelp=\u5217\u51fa\u8d44\u6e90\u76ee\u6807\u3002 diff --git a/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_zh_TW.properties b/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_zh_TW.properties index 5e3c256b3f3..180e4356bd5 100644 --- a/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_zh_TW.properties +++ b/appserver/admingui/core-l10n/src/main/resources/org/glassfish/admingui/core/Strings_zh_TW.properties @@ -37,7 +37,8 @@ # only if the new code is made subject to such option by the copyright # holder. # -# Portions Copyright [2016-2024] [Payara Foundation and/or its affiliates] +# Portions Copyright 2016-2026 Payara Foundation and/or its affiliates + TODO= TBD=TBD versionImage.description=Payara Server \u7ba1\u7406\u4e3b\u63a7\u53f0 @@ -75,7 +76,6 @@ tree.domain=\u7db2\u57df tree.appServer=Payara Server tree.applications=\u61c9\u7528\u7a0b\u5f0f tree.enterpriseApps=\u4f01\u696d\u61c9\u7528\u7a0b\u5f0f -tree.lifecycle=\u751f\u547d\u9031\u671f\u6a21\u7d44 tree.resources=\u8cc7\u6e90 tree.jdbcResources=JDBC \u8cc7\u6e90 @@ -272,11 +272,8 @@ msg.enableResourceSuccessful=\u5df2\u555f\u7528\u6240\u9078\u53d6\u7684\u8cc7\u6 msg.disableResourceSuccessful=\u5df2\u505c\u7528\u6240\u9078\u53d6\u7684\u8cc7\u6e90\u3002 msg.enableSuccessfulPE=\u5df2\u555f\u7528\u6240\u9078\u53d6\u7684\u61c9\u7528\u7a0b\u5f0f\u3002 msg.disableSuccessfulPE=\u5df2\u505c\u7528\u6240\u9078\u53d6\u7684\u61c9\u7528\u7a0b\u5f0f\u3002 -msg.enableSuccessfulLifecycle=\u5df2\u555f\u7528\u6240\u9078\u53d6\u7684\u751f\u547d\u9031\u671f\u6a21\u7d44\u3002 -msg.disableSuccessfulLifecycle=\u5df2\u505c\u7528\u6240\u9078\u53d6\u7684\u751f\u547d\u9031\u671f\u6a21\u7d44\u3002 msg.enableResourceSuccessfulPE=\u5df2\u555f\u7528\u6240\u9078\u53d6\u7684\u8cc7\u6e90\u3002 msg.disableResourceSuccessfulPE=\u5df2\u505c\u7528\u6240\u9078\u53d6\u7684\u8cc7\u6e90\u3002 -msg.NoSuchLifecycle=\u627e\u4e0d\u5230\u5177\u6709\u6307\u5b9a\u540d\u7a31\u7684\u751f\u547d\u9031\u671f\u3002\u8a72\u8cc7\u6e90\u53ef\u80fd\u5df2\u88ab\u522a\u9664\u3002 msg.NoSuchCluster=\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u53e2\u96c6\u8cc7\u6e90\u3002\u8a72\u53e2\u96c6\u53ef\u80fd\u5df2\u88ab\u522a\u9664\u3002 msg.NoSuchConfig=\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u7d44\u614b\u8cc7\u6e90\u3002\u8a72\u7d44\u614b\u53ef\u80fd\u5df2\u88ab\u522a\u9664\u3002 msg.NoSuchInstance=\u627e\u4e0d\u5230\u6307\u5b9a\u7684\u57f7\u884c\u8655\u7406\u3002\u8a72\u57f7\u884c\u8655\u7406\u53ef\u80fd\u5df2\u88ab\u522a\u9664\u3002 @@ -733,7 +730,6 @@ applications.enterpriseAppsToolTip=\u4f01\u696d\u61c9\u7528\u7a0b\u5f0f applications.webAppsToolTip=Web \u61c9\u7528\u7a0b\u5f0f applications.ejbModulesToolTip=EJB \u6a21\u7d44 applications.connectorModulesToolTip=\u9023\u7dda\u5668\u6a21\u7d44 -applications.lifecycleModulesToolTip=\u751f\u547d\u9031\u671f\u6a21\u7d44 applications.appclientModulesToolTip=\u61c9\u7528\u7a0b\u5f0f\u5f9e\u5c6c\u7aef\u6a21\u7d44 ComponentTable.tableTitle=\u6a21\u7d44\u548c\u5143\u4ef6 @@ -770,7 +766,6 @@ enterpriseApplications.descriptorPageTitleHelp=\u6aa2\u8996\u61c9\u7528\u7a0b\u5 enterpriseApplications.appScopedResourcesPageTitle=\u61c9\u7528\u7a0b\u5f0f\u7bc4\u570d\u8cc7\u6e90 enterpriseApplications.appScopedResourcesPageTitleHelp=\u6aa2\u8996\u61c9\u7528\u7a0b\u5f0f\u7684\u61c9\u7528\u7a0b\u5f0f\u7bc4\u570d\u8cc7\u6e90\u3002 deployTable.applications=\u5df2\u5efa\u7f6e\u7684\u61c9\u7528\u7a0b\u5f0f -deployTable.lifeCycle=\u751f\u547d\u9031\u671f\u6a21\u7d44 deployTable.colName=\u540d\u7a31 deployTable.colEnabled=\u5df2\u555f\u7528 deployTable.colStatus=\u72c0\u614b @@ -926,7 +921,6 @@ redeploy.preserveAppScopedResourcesHelp=\u4fdd\u7559\u61c9\u7528\u7a0b\u5f0f\u7b # Manage Targets manageTargets.PageTitle=\u7ba1\u7406\u76ee\u6a19 manageApplicationTargets.PageTitleHelp=\u7ba1\u7406\u5177\u6709\u53ef\u7528\u61c9\u7528\u7a0b\u5f0f\u7684\u76ee\u6a19 (\u53e2\u96c6\u548c\u7368\u7acb\u4f3a\u670d\u5668\u57f7\u884c\u8655\u7406)\u3002 -manageLifecycleTargets.PageTitleHelp=\u7ba1\u7406\u5177\u6709\u53ef\u7528\u751f\u547d\u9031\u671f\u6a21\u7d44\u7684\u76ee\u6a19 (\u53e2\u96c6\u548c\u7368\u7acb\u4f3a\u670d\u5668\u57f7\u884c\u8655\u7406)\u3002 manageResourceTargets.PageTitle=\u7ba1\u7406\u8cc7\u6e90\u76ee\u6a19 manageResourceTargets.PageTitleHelp=\u7ba1\u7406\u5177\u6709\u53ef\u7528\u8cc7\u6e90\u7684\u76ee\u6a19 (\u53e2\u96c6\u548c\u7368\u7acb\u4f3a\u670d\u5668\u57f7\u884c\u8655\u7406)\u3002 @@ -941,9 +935,6 @@ common.TargetTableTitle=\u76ee\u6a19 applicationTargetListing.PageTitle=\u61c9\u7528\u7a0b\u5f0f\u76ee\u6a19 applicationTargetListing.PageTitleHelp=\u5217\u51fa\u61c9\u7528\u7a0b\u5f0f\u76ee\u6a19\u3002 -lifecycleTargetListing.PageTitle=\u751f\u547d\u9031\u671f\u6a21\u7d44\u76ee\u6a19 -lifecycleTargetListing.PageTitleHelp=\u5217\u51fa\u751f\u547d\u9031\u671f\u6a21\u7d44\u76ee\u6a19\u3002 - resourceTargetListing.PageTitle=\u8cc7\u6e90\u76ee\u6a19 resourceTargetListing.PageTitleHelp=\u5217\u51fa\u8cc7\u6e90\u76ee\u6a19\u3002 diff --git a/appserver/admingui/core/src/main/resources/org/glassfish/admingui/core/Strings.properties b/appserver/admingui/core/src/main/resources/org/glassfish/admingui/core/Strings.properties index ef72bdda4df..31db5677a82 100644 --- a/appserver/admingui/core/src/main/resources/org/glassfish/admingui/core/Strings.properties +++ b/appserver/admingui/core/src/main/resources/org/glassfish/admingui/core/Strings.properties @@ -37,7 +37,7 @@ # only if the new code is made subject to such option by the copyright # holder. # -# Portions Copyright [2016-2024] [Payara Foundation and/or its affiliates] +# Portions Copyright 2016-2026 Payara Foundation and/or its affiliates TODO= TBD=TBD @@ -75,7 +75,6 @@ tree.domain=Domain tree.appServer=Payara Server tree.applications=Applications tree.enterpriseApps=Enterprise Applications -tree.lifecycle=Lifecycle Modules tree.resources=Resources tree.jdbcResources=JDBC Resources @@ -288,11 +287,8 @@ msg.enableResourceOnTargetsSuccessful=Resource has been enabled on selected targ msg.disableResourceOnTargetsSuccessful=Resource has been disabled on selected target(s). msg.enableSuccessfulPE=Selected application(s) has been enabled. msg.disableSuccessfulPE=Selected application(s) has been disabled. -msg.enableSuccessfulLifecycle=Selected Lifecycle Module(s) has been enabled. -msg.disableSuccessfulLifecycle=Selected Lifecycle Module(s) has been disabled. msg.enableResourceSuccessfulPE=Selected resource(s) has been enabled. msg.disableResourceSuccessfulPE=Selected resource(s) has been disabled. -msg.NoSuchLifecycle=Cannot find Lifecycle with the specified name. Resource may have been deleted. msg.NoSuchCluster=Cannot find specified Cluster Resource. Cluster may have been deleted. msg.NoSuchConfig=Cannot find specified Config Resource. Config may have been deleted. msg.NoSuchInstance=Cannot find specified Instance. Instance may have been deleted. @@ -457,7 +453,7 @@ commonTasks.task.adminGuide.infoLinkText=More on Administration Guide commonTasks.task.devGuide=Application Development Guide commonTasks.task.devGuide.toolTip=Application Development Guide -commonTasks.task.devGuide.infoText=How to create and run Java EE applications in the Payara Server environment. Topics include developer tools, security, debugging, and creating lifecycle modules. +commonTasks.task.devGuide.infoText=How to create and run Java EE applications in the Payara Server environment. Topics include developer tools, security and debugging. commonTasks.task.devGuide.infoTitle=Developer's Guide commonTasks.task.devGuide.infoLinkText=More on Application Development Guide @@ -762,7 +758,6 @@ applications.enterpriseAppsToolTip=Enterprise Applications applications.webAppsToolTip=Web Applications applications.ejbModulesToolTip=EJB Modules applications.connectorModulesToolTip=Connector Modules -applications.lifecycleModulesToolTip=Lifecycle Modules applications.appclientModulesToolTip=Application Client Modules ComponentTable.tableTitle=Modules and Components @@ -799,7 +794,6 @@ enterpriseApplications.descriptorPageTitleHelp=View module descriptors for the a enterpriseApplications.appScopedResourcesPageTitle=Application Scoped Resources enterpriseApplications.appScopedResourcesPageTitleHelp=View application scoped resources for the application. deployTable.applications=Deployed Applications -deployTable.lifeCycle=Lifecycle Modules deployTable.colName=Name deployTable.colEnabled=Enabled deployTable.colStatus=Status @@ -968,7 +962,6 @@ redeploy.preserveAppScopedResourcesHelp=Preserves application-scoped resources a # Manage Targets manageTargets.PageTitle=Manage Targets manageApplicationTargets.PageTitleHelp=Manage the targets (clusters and stand-alone server instances) on which the application is available. -manageLifecycleTargets.PageTitleHelp=Manage the targets (clusters and stand-alone server instances) on which the lifecycle module is available. manageResourceTargets.PageTitle=Manage Resource Targets manageResourceTargets.PageTitleHelp=Manage the targets (clusters and stand-alone server instances) on which the resource is available. @@ -983,9 +976,6 @@ common.TargetTableTitle=Targets applicationTargetListing.PageTitle=Application Targets applicationTargetListing.PageTitleHelp=List application targets. -lifecycleTargetListing.PageTitle=Lifecycle Module Targets -lifecycleTargetListing.PageTitleHelp=List lifecycle module targets. - resourceTargetListing.PageTitle=Resource Targets resourceTargetListing.PageTitleHelp=List resource targets. diff --git a/appserver/admingui/core/src/main/resources/templates/menu.inc b/appserver/admingui/core/src/main/resources/templates/menu.inc index ceed318ef44..38870f01870 100644 --- a/appserver/admingui/core/src/main/resources/templates/menu.inc +++ b/appserver/admingui/core/src/main/resources/templates/menu.inc @@ -39,14 +39,13 @@ holder. --> - + - - + + @@ -177,8 +178,8 @@

create-application-ref

reference_name

The name of the application or module, which can be a Java EE -application, Web module, EJB module, connector module, application -client module, or lifecycle module.
+application, Web module, EJB module, connector module or application +client module
The name can include an optional version identifier, which follows the name and is separated from the name by a colon (:). The version identifier must begin with a letter or number. It can contain diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/create-jvm-options.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/create-jvm-options.html index b23cf4f50ce..07cf16ff0f1 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/create-jvm-options.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/create-jvm-options.html @@ -17,7 +17,8 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + + @@ -50,13 +51,6 @@ - - - - Next - - - @@ -443,13 +437,6 @@

create-jvm-options

- - - - Next - - - diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/create-lifecycle-module.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/create-lifecycle-module.html deleted file mode 100644 index 3908a66ba92..00000000000 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/create-lifecycle-module.html +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - - - create-lifecycle-module - - - - - - - - - -
- create-lifecycle-module
-
-
- - - - - - - - - - - - - - -
- - - Previous - - - - - Next - - - - - Contents - -
- - -
-
-
-

-
-
-
-
-

create-lifecycle-module

-
-
-

creates a lifecycle module

-
-
-

Synopsis

-
-
-
-
asadmin [asadmin-options] create-lifecycle-module [--help]
---classname classname
-[--enabled={true|false}] [--target target]
-[--classpath classpath] [--loadorder loadorder]
-[--failurefatal={false|true} ] [--description description]
-[--property (name=value)[:name=value]*]
-module_name
-
-
-
-

Description

-
-
-

The create-lifecycle-module subcommand creates a lifecycle module. A -lifecycle module provides a means of running a short or long duration -Java-based task at a specific stage in the server life cycle. 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.

-
-
--classname
-
-

This is the fully qualified name of the startup class.

-
-
--target
-
-

Indicates the location where the lifecycle module is to be created. -Valid values are

-
-
    -
  • -

    server- Specifies the default server instance as the target for -creating the lifecycle module. server is the name of the default -server instance and is the default value for this option.

    -
  • -
  • -

    cluster_name- Specifies a particular cluster as the target for -creating the lifecycle module.

    -
  • -
  • -

    instance_name- Specifies a particular stand-alone server instance as -the target for creating the lifecycle module.

    -
  • -
-
-
-
--classpath
-
-

This option indicates where the lifecycle module is located. It is a -classpath with the standard format: either colon-separated (Unix) or -semicolon-separated (Windows) JAR files and directories. The -referenced JAR files and directories are not uploaded to the server -instance.

-
-
--loadorder
-
-

This option represents an integer value that can be used to force the -order in which deployed lifecycle modules are loaded at server -startup. Smaller numbered modules are loaded sooner. Order is -unspecified if two or more lifecycle modules have the same load-order -value. The default is Integer.MAX_VALUE, which means the lifecycle -module is loaded last.

-
-
--failurefatal
-
-

This option tells the system what to do if the lifecycle module does -not load correctly. When this option is set to true, the system aborts -the server startup if this module does not load properly. The default -value is false.

-
-
--enabled
-
-

This option determines whether the lifecycle module is enabled at -runtime. The default value is true.

-
-
--description
-
-

This is the text description of the lifecycle module.

-
-
--property
-
-

This is an optional attribute containing name/value pairs used to -configure the lifecycle module.

-
-
-
-
-

Operands

-
-
-
-
module_name
-
-

This operand is a unique identifier for the deployed server lifecycle -event listener module.

-
-
-
-
-

Examples

-
-
-

-
-
-

Example 1   Creating a Lifecycle Module

-
-
-

The following example creates a lifecycle module named customSetup.

-
-
-
-
asadmin> create-lifecycle-module --classname "com.acme.CustomSetup"
---classpath "/export/customSetup" --loadorder 1 --failurefatal=true
---description "this is a sample customSetup"
---property rmi="Server\=acme1\:7070":timeout=30 customSetup
-Command create-lifecycle-module executed successfully
-
-
-
-

The escape character \ is used in the property option to specify that -the equal sign (=) and colon (:) are part of the rmi property value.

-
-
-

Exit Status

-
-
-
-
0
-
-

command executed successfully

-
-
1
-
-

error in executing the command

-
-
-
-
-

See Also

-
- - -
-

"Developing Lifecycle Listeners" in Payara Server -Open Source Edition Application Development Guide

-
-
-
- -
- - - - - - - - - - - - - - -
- - - 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-local-instance.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/create-local-instance.html index 605967720ef..d31aa192369 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/create-local-instance.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/create-local-instance.html @@ -17,7 +17,8 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + + @@ -43,13 +44,6 @@ - - - - Previous - - - @@ -649,13 +643,7 @@

create-local-instance

- - -
- - Previous - - + diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-application-ref.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-application-ref.html index b8b9fe96cd9..dfaee798718 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-application-ref.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-application-ref.html @@ -17,7 +17,8 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + + @@ -165,8 +166,8 @@

delete-application-ref

reference_name

The name of the application or module, which can be a Java EE -application module, Web module, EJB module, connector module, -application client module, or lifecycle module.
+application module, Web module, EJB module, connector module or +application client module
The name can include an optional version identifier, which follows the name and is separated from the name by a colon (:). The version identifier must begin with a letter or number. It can contain diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-jvm-options.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-jvm-options.html index d739fcbed7f..9eb79623fac 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-jvm-options.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-jvm-options.html @@ -17,7 +17,8 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + + @@ -50,13 +51,6 @@
- - - - Next - - - @@ -334,13 +328,6 @@

delete-jvm-options

- - - - Next - - - diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-lifecycle-module.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-lifecycle-module.html deleted file mode 100644 index 4e9c479dff7..00000000000 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-lifecycle-module.html +++ /dev/null @@ -1,236 +0,0 @@ - - - - - - - - delete-lifecycle-module - - - - - - - - - -
- delete-lifecycle-module
-
-
- - - - - - - - - - - - - - -
- - - Previous - - - - - Next - - - - - Contents - -
- - -
-
-
-

-
-
-
-
-

delete-lifecycle-module

-
-
-

removes the lifecycle module

-
-
-

Synopsis

-
-
-
-
asadmin [asadmin-options] delete-lifecycle-module [--help]
-[--target target] module_name
-
-
-
-

Description

-
-
-

The delete-lifecycle-module subcommand removes a lifecycle module. A -lifecycle module provides a means of running a short or long duration -Java-based task at a specific stage in the server life cycle. 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.

-
-
--target
-
-

Indicates the location where the lifecycle module is to be deleted. -Valid values are

-
-
    -
  • -

    server- Specifies the default server instance as the target for -deleting the lifecycle module. server is the name of the default -server instance and is the default value for this option.

    -
  • -
  • -

    cluster_name- Specifies a particular cluster as the target for -deleting the lifecycle module.

    -
  • -
  • -

    instance_name- Specifies a particular server instance as the target -for deleting the lifecycle module.

    -
  • -
-
-
-
-
-
-

Operands

-
-
-
-
module_name
-
-

This operand is a unique identifier for the deployed server lifecycle -event listener module.

-
-
-
-
-

Examples

-
-
-

-
-
-

Example 1   Deleting a Lifecycle Module

-
-
-

The following example deletes a lifecycle module named customSetup.

-
-
-
-
asadmin> delete-lifecycle-module customSetup
-Command delete-lifecycle-module 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-local-instance.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/delete-local-instance.html index abe68759f58..ccb0392aaaf 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 @@ -17,7 +17,8 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + + @@ -43,12 +44,6 @@ - - - - Previous - - @@ -253,13 +248,7 @@

delete-local-instance

- - -
- - Previous - - + diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-commands.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-commands.html index 92125c34a58..de5df166105 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-commands.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-commands.html @@ -17,7 +17,8 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + + @@ -275,7 +276,7 @@

list-commands

create-jmsdest list-containers create-jndi-resource list-custom-resources create-jvm-options list-file-groups -create-lifecycle-module list-file-users +create-virtual-server list-file-users create-message-security-provider list-http-listeners create-network-listener list-iiop-listeners create-password-alias list-javamail-resources @@ -287,7 +288,6 @@

list-commands

create-system-properties list-jndi-entries create-threadpool list-jndi-resources create-transport list-jvm-options -create-virtual-server list-lifecycle-modules delete-admin-object list-logger-levels delete-audit-module list-message-security-providers ... diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-libraries.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-libraries.html index d65a0dcd671..b8ace2402d1 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-libraries.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-libraries.html @@ -17,7 +17,8 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + + @@ -50,13 +51,6 @@
- - - - Next - - - @@ -218,13 +212,6 @@

list-libraries

- - - - Next - - - diff --git a/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-lifecycle-modules.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-lifecycle-modules.html deleted file mode 100644 index f6778207de0..00000000000 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-lifecycle-modules.html +++ /dev/null @@ -1,233 +0,0 @@ - - - - - - - - list-lifecycle-modules - - - - - - - - - -
- list-lifecycle-modules
-
-
- - - - - - - - - - - - - - -
- - - Previous - - - - - Next - - - - - Contents - -
- - -
-
-
-

-
-
-
-
-

list-lifecycle-modules

-
-
-

lists the lifecycle modules

-
-
-

Synopsis

-
-
-
-
asadmin [asadmin-options] list-lifecycle-modules [--help]
-[target]
-
-
-
-

Description

-
-
-

The list-lifecycle-modules subcommand lists lifecycle modules. A -lifecycle module provides a means of running a short or long duration -Java-based task at a specific stage in the server life cycle. 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.

-
-
-
-
-

Operands

-
-
-
-
target
-
-

Indicates the location where lifecycle modules are to be listed. Valid -values are

-
-
    -
  • -

    server- Specifies the default server instance as the target for -listing lifecycle modules. server is the name of the default server -instance and is the default value for this operand.

    -
  • -
  • -

    cluster_name- Specifies a particular cluster as the target for -listing lifecycle modules.

    -
  • -
  • -

    instance_name- Specifies a particular server instance as the target -for listing lifecycle modules.

    -
  • -
-
-
-
-
-
-

Examples

-
-
-

-
-
-

Example 1   Listing Lifecycle Modules

-
-
-
-
asadmin> list-lifecycle-modules
-WSTCPConnectorLCModule
-Command list-lifecycle-modules executed successfully
-
-
-
-

WSTCPConnectorLCModule is the only lifecycle module listed for the -default target, server.

-
-
-

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-log-attributes.html b/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-log-attributes.html index 514a7677601..44c37222ff3 100644 --- a/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-log-attributes.html +++ b/appserver/admingui/reference-manual/src/main/help/en/help/reference/list-log-attributes.html @@ -17,7 +17,8 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + + @@ -43,12 +44,6 @@ - - - - Previous - - @@ -223,14 +218,7 @@

list-log-attributes

- - -
- - Previous - - - + 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 22f02a44e24..80a5cbf1f2d 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 @@ -17,7 +17,8 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> - + + @@ -203,9 +204,6 @@

create-jvm-options

  • -

    create-lifecycle-module

    -
  • -
  • create-local-instance

  • @@ -362,9 +360,6 @@

    delete-jvm-options

  • -

    delete-lifecycle-module

    -
  • -
  • delete-local-instance

  • @@ -632,9 +627,6 @@

    list-libraries

  • -

    list-lifecycle-modules

    -
  • -
  • list-log-attributes

  • 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 2d6263cc359..aef747aa8ca 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 @@ -1,7 +1,7 @@ - - + - - "JBI Framework LifecycleModule" - - - - diff --git a/nucleus/admin/launcher/src/test/resources/domains/domain1/config/domain.xml b/nucleus/admin/launcher/src/test/resources/domains/domain1/config/domain.xml index 5365da96064..4216a9cf2b8 100644 --- a/nucleus/admin/launcher/src/test/resources/domains/domain1/config/domain.xml +++ b/nucleus/admin/launcher/src/test/resources/domains/domain1/config/domain.xml @@ -39,20 +39,13 @@ holder. --> - - + - - "JBI Framework LifecycleModule" - - - - diff --git a/nucleus/admin/launcher/src/test/resources/domains/domain2/config/domain.xml b/nucleus/admin/launcher/src/test/resources/domains/domain2/config/domain.xml index bf3fa40cff4..9c78ba0d459 100644 --- a/nucleus/admin/launcher/src/test/resources/domains/domain2/config/domain.xml +++ b/nucleus/admin/launcher/src/test/resources/domains/domain2/config/domain.xml @@ -39,20 +39,13 @@ holder. --> - - + - - "JBI Framework LifecycleModule" - - - - diff --git a/nucleus/admin/launcher/src/test/resources/domains/domain3/config/domain.xml b/nucleus/admin/launcher/src/test/resources/domains/domain3/config/domain.xml index 6503140e969..8fab26bfe65 100644 --- a/nucleus/admin/launcher/src/test/resources/domains/domain3/config/domain.xml +++ b/nucleus/admin/launcher/src/test/resources/domains/domain3/config/domain.xml @@ -39,20 +39,13 @@ holder. --> - - + - - "JBI Framework LifecycleModule" - - - - diff --git a/nucleus/admin/launcher/src/test/resources/domains/domainNoLog/config/domain.xml b/nucleus/admin/launcher/src/test/resources/domains/domainNoLog/config/domain.xml index bacbc483c15..2ba8e932f4c 100644 --- a/nucleus/admin/launcher/src/test/resources/domains/domainNoLog/config/domain.xml +++ b/nucleus/admin/launcher/src/test/resources/domains/domainNoLog/config/domain.xml @@ -39,20 +39,13 @@ holder. --> - - + - - "JBI Framework LifecycleModule" - - - - diff --git a/nucleus/admin/rest/rest-service/src/main/java/org/glassfish/admin/rest/generator/CommandResourceMetaData.java b/nucleus/admin/rest/rest-service/src/main/java/org/glassfish/admin/rest/generator/CommandResourceMetaData.java index 001ddd9db74..14c702fde82 100644 --- a/nucleus/admin/rest/rest-service/src/main/java/org/glassfish/admin/rest/generator/CommandResourceMetaData.java +++ b/nucleus/admin/rest/rest-service/src/main/java/org/glassfish/admin/rest/generator/CommandResourceMetaData.java @@ -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 + package org.glassfish.admin.rest.generator; import java.lang.reflect.Method; @@ -256,9 +258,7 @@ private static void addCommandMetaData(String beanName, CommandResourceMetaData {"IiopListener", "create-ssl", "POST", "create-ssl", "Create", "id=$parent", "type=iiop-listener"}, // Not used? IiopListener not in nucleus {"IiopService", "create-ssl", "POST", "create-ssl", "Create", "type=iiop-service"}, // Not used? IiopListener not in nucleus {"LbConfig", "create-http-listener", "POST", "create-http-listener", "create-http-listener"}, - {"LbConfig", "delete-http-listener", "POST", "delete-http-listener", "delete-http-listener"}, - {"ListApplication", "create-lifecycle-module", "POST", "create-lifecycle-module", "Create Lifecycle Module"}, // TODO: ListApplication not found - {"ListApplication", "delete-lifecycle-module", "DELETE", "delete-lifecycle-module", "Delete Lifecycle Module"},}; + {"LbConfig", "delete-http-listener", "POST", "delete-http-listener", "delete-http-listener"}}; private static final String[][] configBeanCustomResources = { // ConfigBean, Custom Resource Class, path {"Cluster", "SystemPropertiesCliResource", "system-properties"}, diff --git a/nucleus/admin/rest/rest-service/src/main/java/org/glassfish/admin/rest/generator/ResourcesGeneratorBase.java b/nucleus/admin/rest/rest-service/src/main/java/org/glassfish/admin/rest/generator/ResourcesGeneratorBase.java index 9fdcaec26a7..77cf24acfdf 100644 --- a/nucleus/admin/rest/rest-service/src/main/java/org/glassfish/admin/rest/generator/ResourcesGeneratorBase.java +++ b/nucleus/admin/rest/rest-service/src/main/java/org/glassfish/admin/rest/generator/ResourcesGeneratorBase.java @@ -36,9 +36,9 @@ * 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-2020] [Payara Foundation] */ +// Portions Copyright 2017-2026 Payara Foundation and/or affiliates + package org.glassfish.admin.rest.generator; import java.util.HashMap; @@ -468,7 +468,7 @@ private boolean hasSingletonAnnotation(ConfigModel model) { * delete-custom-resource delete-http-listener delete-iiop-listener delete-javamail-resource delete-jdbc-connection-pool * delete-jdbc-resource delete-jms-host delete-message-security-provider delete-profiler delete-resource-adapter-config * delete-resource-ref delete-system-property delete-virtual-server What is missing is: delete-jms-resource delete-jmsdest - * delete-jndi-resource delete-lifecycle-module delete-message-security-provider delete-connector-security-map + * delete-jndi-resource delete-message-security-provider delete-connector-security-map * delete-connector-work-security-map delete-node-config delete-node-ssh delete-file-user delete-password-alias * delete-http-health-checker delete-http-lb-ref delete-http-redirect delete-instance */ diff --git a/nucleus/admin/rest/rest-service/src/test/resources/GlassFishI18NData.properties b/nucleus/admin/rest/rest-service/src/test/resources/GlassFishI18NData.properties index 98337a9b26c..07849fe5c0d 100644 --- a/nucleus/admin/rest/rest-service/src/test/resources/GlassFishI18NData.properties +++ b/nucleus/admin/rest/rest-service/src/test/resources/GlassFishI18NData.properties @@ -37,7 +37,7 @@ # only if the new code is made subject to such option by the copyright # holder. # -# Portions Copyright [2016-2025] [Payara Foundation and/or its affiliates] +# Portions Copyright 2016-2026 Payara Foundation and/or its affiliates com.sun.enterprise.config.serverbeans.AccessLog.bufferSizeBytes.help=buffer-size-bytes com.sun.enterprise.config.serverbeans.AccessLog.bufferSizeBytes.label=buffer-size-bytes @@ -893,25 +893,6 @@ com.sun.enterprise.config.serverbeans.LbConfig.responseTimeoutInSeconds.label=re com.sun.enterprise.config.serverbeans.LbConfig.routeCookieEnabled.help=route-cookie-enabled com.sun.enterprise.config.serverbeans.LbConfig.routeCookieEnabled.label=route-cookie-enabled - - -com.sun.enterprise.config.serverbeans.LifecycleModule.className.help=class-name -com.sun.enterprise.config.serverbeans.LifecycleModule.className.label=class-name -com.sun.enterprise.config.serverbeans.LifecycleModule.classpath.help=classpath -com.sun.enterprise.config.serverbeans.LifecycleModule.classpath.label=classpath -com.sun.enterprise.config.serverbeans.LifecycleModule.enabled.help=enabled -com.sun.enterprise.config.serverbeans.LifecycleModule.enabled.label=enabled -com.sun.enterprise.config.serverbeans.LifecycleModule.isFailureFatal.help=is-failure-fatal -com.sun.enterprise.config.serverbeans.LifecycleModule.isFailureFatal.label=is-failure-fatal -com.sun.enterprise.config.serverbeans.LifecycleModule.loadOrder.help=load-order -com.sun.enterprise.config.serverbeans.LifecycleModule.loadOrder.label=load-order -com.sun.enterprise.config.serverbeans.LifecycleModule.name.help=name -com.sun.enterprise.config.serverbeans.LifecycleModule.name.label=name -com.sun.enterprise.config.serverbeans.LifecycleModule.objectType.help=object-type -com.sun.enterprise.config.serverbeans.LifecycleModule.objectType.label=object-type - - - com.sun.enterprise.config.serverbeans.LoadBalancer.autoApplyEnabled.help=auto-apply-enabled com.sun.enterprise.config.serverbeans.LoadBalancer.autoApplyEnabled.label=auto-apply-enabled com.sun.enterprise.config.serverbeans.LoadBalancer.deviceHost.help=device-host diff --git a/nucleus/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/pe/PEFileLayout.java b/nucleus/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/pe/PEFileLayout.java index 481c6804566..ab1734df7ca 100644 --- a/nucleus/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/pe/PEFileLayout.java +++ b/nucleus/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/pe/PEFileLayout.java @@ -37,8 +37,7 @@ * only if the new code is made subject to such option by the copyright * holder. */ - -// Portions Copyright [2016-2025] [Payara Foundation and/or affiliates] +// Portions Copyright 2016-2026 Payara Foundation and/or affiliates package com.sun.enterprise.admin.servermgmt.pe; @@ -205,12 +204,6 @@ public File getJ2EEModulesDir() return new File(getApplicationsRootDir(), J2EE_MODULES_DIR); } - public static final String LIFECYCLE_MODULES_DIR = "lifecycle-modules"; - public File getLifecycleModulesDir() - { - return new File(getApplicationsRootDir(), LIFECYCLE_MODULES_DIR); - } - public static final String MBEAN_FOLDER_NAME = "mbeans"; public File getMbeansDir() { diff --git a/nucleus/common/common-util/src/test/resources/adminport.xml b/nucleus/common/common-util/src/test/resources/adminport.xml index f45c72ac813..f132d3bddff 100644 --- a/nucleus/common/common-util/src/test/resources/adminport.xml +++ b/nucleus/common/common-util/src/test/resources/adminport.xml @@ -39,20 +39,13 @@ holder. --> - - + - - "JBI Framework LifecycleModule" - - - - diff --git a/nucleus/common/common-util/src/test/resources/adminport2.xml b/nucleus/common/common-util/src/test/resources/adminport2.xml index c361882506b..3d7884c5116 100644 --- a/nucleus/common/common-util/src/test/resources/adminport2.xml +++ b/nucleus/common/common-util/src/test/resources/adminport2.xml @@ -39,20 +39,13 @@ holder. --> - - + - - "JBI Framework LifecycleModule" - - - - diff --git a/nucleus/common/common-util/src/test/resources/hasprofiler.xml b/nucleus/common/common-util/src/test/resources/hasprofiler.xml index e98cd052829..6443e262846 100644 --- a/nucleus/common/common-util/src/test/resources/hasprofiler.xml +++ b/nucleus/common/common-util/src/test/resources/hasprofiler.xml @@ -39,20 +39,13 @@ holder. --> - - + - - "JBI Framework LifecycleModule" - - - - diff --git a/nucleus/common/common-util/src/test/resources/noconfig.xml b/nucleus/common/common-util/src/test/resources/noconfig.xml index 7ada413079f..3633a2e9471 100644 --- a/nucleus/common/common-util/src/test/resources/noconfig.xml +++ b/nucleus/common/common-util/src/test/resources/noconfig.xml @@ -39,20 +39,13 @@ holder. --> - - + - - "JBI Framework LifecycleModule" - - - - diff --git a/nucleus/common/common-util/src/test/resources/nodomainname.xml b/nucleus/common/common-util/src/test/resources/nodomainname.xml index d8e5f6c5671..efc8fe96a77 100644 --- a/nucleus/common/common-util/src/test/resources/nodomainname.xml +++ b/nucleus/common/common-util/src/test/resources/nodomainname.xml @@ -39,20 +39,13 @@ holder. --> - - + - - "JBI Framework LifecycleModule" - - - - diff --git a/nucleus/common/common-util/src/test/resources/rightorder.xml b/nucleus/common/common-util/src/test/resources/rightorder.xml index b71c9e7f55e..715a49b72e0 100644 --- a/nucleus/common/common-util/src/test/resources/rightorder.xml +++ b/nucleus/common/common-util/src/test/resources/rightorder.xml @@ -39,20 +39,13 @@ holder. --> - - + - - "JBI Framework LifecycleModule" - - - - diff --git a/nucleus/common/common-util/src/test/resources/rightordernoclosedomain.xml b/nucleus/common/common-util/src/test/resources/rightordernoclosedomain.xml index 759316bb67e..fc8d83aef41 100644 --- a/nucleus/common/common-util/src/test/resources/rightordernoclosedomain.xml +++ b/nucleus/common/common-util/src/test/resources/rightordernoclosedomain.xml @@ -40,8 +40,7 @@ holder. --> - - + @@ -55,12 +54,6 @@ - - "JBI Framework LifecycleModule" - - - - diff --git a/nucleus/common/common-util/src/test/resources/v2domain.xml b/nucleus/common/common-util/src/test/resources/v2domain.xml index a6fb384d1ac..5f766741b04 100644 --- a/nucleus/common/common-util/src/test/resources/v2domain.xml +++ b/nucleus/common/common-util/src/test/resources/v2domain.xml @@ -41,7 +41,7 @@ holder. --> - + @@ -57,11 +57,6 @@ - - "JBI Framework LifecycleModule" - - - diff --git a/nucleus/common/common-util/src/test/resources/wrongorder.xml b/nucleus/common/common-util/src/test/resources/wrongorder.xml index 0306caf4050..c2f20913427 100644 --- a/nucleus/common/common-util/src/test/resources/wrongorder.xml +++ b/nucleus/common/common-util/src/test/resources/wrongorder.xml @@ -39,20 +39,13 @@ holder. --> - - + - - "JBI Framework LifecycleModule" - - - - diff --git a/nucleus/common/common-util/src/test/resources/wrongordernoclosedomain.xml b/nucleus/common/common-util/src/test/resources/wrongordernoclosedomain.xml index 9fe5649aed7..30879775c44 100644 --- a/nucleus/common/common-util/src/test/resources/wrongordernoclosedomain.xml +++ b/nucleus/common/common-util/src/test/resources/wrongordernoclosedomain.xml @@ -40,8 +40,7 @@ holder. --> - - + @@ -55,12 +54,6 @@ - - "JBI Framework LifecycleModule" - - - - diff --git a/nucleus/common/glassfish-api/src/main/java/com/sun/appserv/server/LifecycleEvent.java b/nucleus/common/glassfish-api/src/main/java/com/sun/appserv/server/LifecycleEvent.java deleted file mode 100755 index abcdf6e7e7d..00000000000 --- a/nucleus/common/glassfish-api/src/main/java/com/sun/appserv/server/LifecycleEvent.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 1997-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.appserv.server; - - -/** - * This class defines the types of events that get fired by the application server. - * It also contains a LifecycleEventContext that can be used by the - * lifecycle modules. - */ -public class LifecycleEvent extends java.util.EventObject { - - private int eventType; - private Object eventData; - private transient LifecycleEventContext ctx = null; - - // Lifecycle event types - - /** Server is initializing subsystems and setting up the runtime environment. - */ - public final static int INIT_EVENT = 0; - - /** Server is starting up applications - */ - public final static int STARTUP_EVENT = 1; - - /** Server is ready to service requests - */ - public final static int READY_EVENT = 2; - - /** Server is shutting down applications - */ - public final static int SHUTDOWN_EVENT = 3; - - /** Server is terminating the subsystems and the runtime environment. - */ - public final static int TERMINATION_EVENT = 4; - - - /** - * Construct new lifecycle event - * @param source The object on which the event initially occurred - * @param eventType type of the event - * @param ctx the underlying context for the lifecycle event - */ - public LifecycleEvent(Object source, int eventType, Object eventData, LifecycleEventContext ctx) { - super(source); - - this.eventType = eventType; - this.eventData = eventData; - this.ctx = ctx; - } - - /** Get the type of event associated with this - */ - public int getEventType() { - return eventType; - } - - /** Get the data associated with the event. - */ - public Object getData() { - return eventData; - } - - /** Get the ServerContext generating this lifecycle event - */ - public LifecycleEventContext getLifecycleEventContext() { - return ctx; - } -} diff --git a/nucleus/common/glassfish-api/src/main/java/com/sun/appserv/server/LifecycleEventContext.java b/nucleus/common/glassfish-api/src/main/java/com/sun/appserv/server/LifecycleEventContext.java deleted file mode 100755 index c32d294aaae..00000000000 --- a/nucleus/common/glassfish-api/src/main/java/com/sun/appserv/server/LifecycleEventContext.java +++ /dev/null @@ -1,92 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 1997-2010 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.appserv.server; - -import javax.naming.InitialContext; - -/** - * LifecycleEventContext interface exposes the server-wide runtime environment - * that is created by ApplicationServer. This context has only accessors and - * is a subset of ServerContext used by the server runtime. - */ -public interface LifecycleEventContext { - /** - * Get the server command-line arguments - */ - public String[] getCmdLineArgs(); - - /** - * Get server install root - */ - public String getInstallRoot(); - - /** - * Get the server instance name - */ - public String getInstanceName(); - - /** - * Get the initial naming context. - */ - public InitialContext getInitialContext(); - - /** - * Writes the specified message to a server log file. - * - * @param message a String specifying the - * message to be written to the log file - */ - public void log(String message); - - /** - * Writes an explanatory message and a stack trace - * for a given Throwable exception - * to the server log file. - * - * @param message a String that - * describes the error or exception - * - * @param throwable the Throwable error - * or exception - */ - - public void log(String message, Throwable throwable); -} diff --git a/nucleus/common/glassfish-api/src/main/java/com/sun/appserv/server/LifecycleListener.java b/nucleus/common/glassfish-api/src/main/java/com/sun/appserv/server/LifecycleListener.java deleted file mode 100755 index 2a5727d7547..00000000000 --- a/nucleus/common/glassfish-api/src/main/java/com/sun/appserv/server/LifecycleListener.java +++ /dev/null @@ -1,74 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 1997-2010 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.appserv.server; - -import java.util.Properties; - -/** - * lifecycle modules implement com.sun.appserv.server.LifecycleListener interface. - * There is just one method in this interface: handleEvent() which posts server - * lifecycle events to the lifecycle modules. - *

    - * Upon start up, before initializing its subsystems application server posts lifcycle modules the - * INIT_EVENT. This is followed by server posting the STARTUP_EVENT to the - * lifecycle modules upon which server starts loading and initializaing the applications. Once this - * phase is completed, the READY_EVENT is posted to the lifecycle modules. - *

    - * When the server is shutdown, server posts the SHUTDOWN_EVENT to the lifecycle modules and - * then shuts down the applications and subsystems. Once this phase is completed the - * TERMINATION_EVENT is posted. - *

    - * Note that lifecycle modules may obtain the event specific data by calling getData() - * on the event parameter in the handleEvent(). For the INIT_EVENT event, - * getData() returns the lifecycle module's properties configured in server.xml. - *

    - * When is-failure-fatal in server.xml is set to true, all exceptions from the - * lifecycle modules are treated as fatal conditions. - */ -public interface LifecycleListener { - - /** receive a server lifecycle event - * @param event associated event - * @throws ServerLifecycleException for exception condition. - * - */ - public void handleEvent(LifecycleEvent event) throws ServerLifecycleException; -} diff --git a/nucleus/common/glassfish-api/src/main/java/com/sun/appserv/server/ServerLifecycleException.java b/nucleus/common/glassfish-api/src/main/java/com/sun/appserv/server/ServerLifecycleException.java deleted file mode 100644 index 28ef14936ba..00000000000 --- a/nucleus/common/glassfish-api/src/main/java/com/sun/appserv/server/ServerLifecycleException.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 1997-2010 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.appserv.server; - -/** - * Exception thrown by application server lifecycle modules and subsystems. These exceptions - * are generally considered fatal to the operation of application server. - */ -public final class ServerLifecycleException extends Exception { - - /** - * Construct a new LifecycleException with no other information. - */ - public ServerLifecycleException() { - super(); - } - - /** - * Construct a new LifecycleException for the specified message. - * - * @param message Message describing this exception - */ - public ServerLifecycleException(String message) { - super(message); - } - - /** - * Construct a new LifecycleException for the specified throwable. - * - * @param rootCause Throwable that caused this exception - */ - public ServerLifecycleException(Throwable rootCause) { - super(rootCause); - } - - /** - * Construct a new LifecycleException for the specified message - * and throwable. - * - * @param message Message describing this exception - * @param rootCause Throwable that caused this exception - */ - public ServerLifecycleException(String message, Throwable rootCause) { - super(message, rootCause); - } -} diff --git a/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_de.properties b/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_de.properties index a0921faf6cc..c853f7d4649 100644 --- a/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_de.properties +++ b/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_de.properties @@ -37,8 +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 appnamenotunique=Anwendungsname {0} wird bereits verwendet. W\u00E4hlen Sie einen anderen Namen. unknownmoduletpe=Modultyp nicht erkannt f\u00FCr Modul {0} @@ -73,10 +72,4 @@ RenameFailed=Umbenennen von Backup in {0} nicht m\u00F6glich TmpRenameFailed=Umbenennen von {0} in {1} nicht m\u00F6glich BackupDeleteFailed=Vorherige Backupdatei unter {0} konnte nicht gel\u00F6scht werden -lifecyclemodule.loadExceptionIsFatal=Wenn das Lebenszyklusmodul [{0}] nicht geladen werden kann, wird dies als schwerwiegend betrachtet; pr\u00FCfen Sie den Classpath und die Eigenschaft ''is-failure-fatal''. -lifecyclemodule.preInvoke_exception=Ausnahme im Lebenszyklusmodul [{0}] w\u00E4hrend des PRE-Aufrufs. -lifecyclemodule.postInvoke_exception=Ausnahme im Lebenszyklusmodul [{0}] w\u00E4hrend des POST-Aufrufs. -lifecyclemodule.event_exceptionIsFatal=Die Ausnahme von des Event Handlers des Lebenszyklusmoduls wird als schwerwiegend betrachtet; pr\u00FCfen Sie die Eigenschaft "is-failure-fatal". - - fnf=Datei nicht gefunden {0} diff --git a/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_es.properties b/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_es.properties index 97389ba2cf4..587470e696c 100644 --- a/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_es.properties +++ b/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_es.properties @@ -37,8 +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 appnamenotunique=El nombre de la aplicaci\u00F3n {0} ya est\u00E1 en uso. Elija otro nombre. unknownmoduletpe=Tipo de m\u00F3dulo no reconocido para m\u00F3dulo {0} @@ -73,10 +72,4 @@ RenameFailed=No se ha podido cambiar el nombre de la copia de seguridad a {0} TmpRenameFailed=No se ha podido cambiar el nombre {0} a {1} BackupDeleteFailed=No se ha podido suprimir el archivo de copia de seguridad anterior en {0} -lifecyclemodule.loadExceptionIsFatal=Considerando el fallo en la carga del m\u00F3dulo de ciclo de vida [{0}] como fatal; compruebe la ruta de acceso de clase y la propiedad is-failure-fatal. -lifecyclemodule.preInvoke_exception=Excepci\u00F3n en el m\u00F3dulo de ciclo de vida [{0}] durante llamada previa. -lifecyclemodule.postInvoke_exception=Excepci\u00F3n en el m\u00F3dulo de ciclo de vida [{0}] durante llamada posterior. -lifecyclemodule.event_exceptionIsFatal=Considerando la excepci\u00F3n del manejador de eventos del m\u00F3dulo de ciclo de vida como fatal; compruebe la propiedad is-failure-fatal. - - fnf=Archivo no encontrado {0} diff --git a/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_fr.properties b/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_fr.properties index e28270634b8..0fc43046291 100644 --- a/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_fr.properties +++ b/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_fr.properties @@ -37,8 +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 appnamenotunique=Le nom d''application {0} est d\u00E9j\u00E0 utilis\u00E9. Choisissez un autre nom. unknownmoduletpe=Le type de module n''est pas reconnu pour le module {0} @@ -73,10 +72,4 @@ RenameFailed=Impossible de renommer la sauvegarde en {0} TmpRenameFailed=Impossible de renommer {0} en {1} BackupDeleteFailed=Impossible de supprimer le fichier de sauvegarde pr\u00E9c\u00E9dent dans {0} -lifecyclemodule.loadExceptionIsFatal=Traitement de l''\u00E9chec du chargement du module de cycle de vie [{0}] comme \u00E9chec grave. V\u00E9rifiez le classpath et la propri\u00E9t\u00E9 is-failure-fatal. -lifecyclemodule.preInvoke_exception=Exception du module de cycle de vie [{0}] avant l''appel. -lifecyclemodule.postInvoke_exception=Exception du module de cycle de vie [{0}] apr\u00E8s l''appel. -lifecyclemodule.event_exceptionIsFatal=Traitement de l'exception du gestionnaire d'\u00E9v\u00E9nement du module de cycle de vie comme exception fatale. V\u00E9rifiez la propri\u00E9t\u00E9 is-failure-fatal. - - fnf=Fichier introuvable {0} diff --git a/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_it.properties b/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_it.properties index 574f0bda3a2..28527a3a2e0 100644 --- a/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_it.properties +++ b/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_it.properties @@ -37,8 +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 appnamenotunique=Nome applicazione {0} gi\u00E0 in uso. Selezionarne un altro. unknownmoduletpe=Tipo di modulo non riconosciuto per il modulo {0} @@ -73,10 +72,4 @@ RenameFailed=Impossibile rinominare il backup in {0} TmpRenameFailed=Impossibile rinominare {0} in {1} BackupDeleteFailed=Impossibile eliminare il file di backup precedente in {0} -lifecyclemodule.loadExceptionIsFatal=L''errore di caricamento del modulo del ciclo di vita [{0}] verr\u00E0 considerato irreversibile. Controllare il classpath e la propriet\u00E0 is-failure-fatal. -lifecyclemodule.preInvoke_exception=Eccezione relativa al modulo del ciclo di vita [{0}] durante la fase pre-richiamo. -lifecyclemodule.postInvoke_exception=Eccezione relativa al modulo del ciclo di vita [{0}] durante la fase post-richiamo. -lifecyclemodule.event_exceptionIsFatal=L'eccezione dell'handler di eventi del modulo del ciclo di vita verr\u00E0 considerata irreversibile. Controllare la propriet\u00E0 is-failure-fatal. - - fnf=File non trovato {0} diff --git a/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_ja.properties b/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_ja.properties index 79da4673b44..3fee73c9a2c 100644 --- a/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_ja.properties +++ b/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_ja.properties @@ -37,8 +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 appnamenotunique=\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u540D{0}\u306F\u3059\u3067\u306B\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u5225\u306E\u540D\u524D\u3092\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002 unknownmoduletpe=\u30E2\u30B8\u30E5\u30FC\u30EB{0}\u306E\u30E2\u30B8\u30E5\u30FC\u30EB\u30FB\u30BF\u30A4\u30D7\u3092\u8A8D\u8B58\u3067\u304D\u307E\u305B\u3093 @@ -73,10 +72,5 @@ RenameFailed=\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u306E\u540D\u524D\u3092{0}\u30 TmpRenameFailed={0}\u304B\u3089{1}\u306B\u540D\u524D\u3092\u5909\u66F4\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F BackupDeleteFailed={0}\u3067\u4EE5\u524D\u306E\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u30FB\u30D5\u30A1\u30A4\u30EB\u3092\u524A\u9664\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F -lifecyclemodule.loadExceptionIsFatal=\u30E9\u30A4\u30D5\u30B5\u30A4\u30AF\u30EB\u30FB\u30E2\u30B8\u30E5\u30FC\u30EB[{0}]\u306E\u30ED\u30FC\u30C9\u3067\u81F4\u547D\u7684\u306A\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u30AF\u30E9\u30B9\u30FB\u30D1\u30B9\u304A\u3088\u3073is-failure-fatal\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002 -lifecyclemodule.preInvoke_exception=pre-invocation\u3067\u306E\u30E9\u30A4\u30D5\u30B5\u30A4\u30AF\u30EB\u30FB\u30E2\u30B8\u30E5\u30FC\u30EB[{0}]\u306E\u4F8B\u5916\u3002 -lifecyclemodule.postInvoke_exception=post-invocation\u3067\u306E\u30E9\u30A4\u30D5\u30B5\u30A4\u30AF\u30EB\u30FB\u30E2\u30B8\u30E5\u30FC\u30EB[{0}]\u306E\u4F8B\u5916\u3002 -lifecyclemodule.event_exceptionIsFatal=\u30E9\u30A4\u30D5\u30B5\u30A4\u30AF\u30EB\u30FB\u30E2\u30B8\u30E5\u30FC\u30EB\u30FB\u30A4\u30D9\u30F3\u30C8\u30FB\u30CF\u30F3\u30C9\u30E9\u3067\u81F4\u547D\u7684\u306A\u4F8B\u5916\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002is-failure-fatal\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002 - fnf=\u30D5\u30A1\u30A4\u30EB{0}\u304C\u307F\u3064\u304B\u308A\u307E\u305B\u3093 diff --git a/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_ko.properties b/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_ko.properties index 586ac9a18e0..5025e672170 100644 --- a/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_ko.properties +++ b/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_ko.properties @@ -37,8 +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 appnamenotunique=\uC751\uC6A9 \uD504\uB85C\uADF8\uB7A8 \uC774\uB984 {0}\uC774(\uAC00) \uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC785\uB2C8\uB2E4. \uB2E4\uB978 \uC774\uB984\uC744 \uC120\uD0DD\uD558\uC2ED\uC2DC\uC624. unknownmoduletpe=\uBAA8\uB4C8 {0}\uC5D0 \uB300\uD574 \uBAA8\uB4C8 \uC720\uD615\uC774 \uC778\uC2DD\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. @@ -73,10 +72,4 @@ RenameFailed=\uBC31\uC5C5\uC758 \uC774\uB984\uC744 {0}(\uC73C)\uB85C \uBC14\uAFC TmpRenameFailed=\uC774\uB984 {0}\uC744(\uB97C) {1}(\uC73C)\uB85C \uBCC0\uACBD\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4. BackupDeleteFailed={0}\uC5D0\uC11C \uC774\uC804 \uBC31\uC5C5 \uD30C\uC77C\uC744 \uC0AD\uC81C\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. -lifecyclemodule.loadExceptionIsFatal=\uC218\uBA85 \uC8FC\uAE30 \uBAA8\uB4C8 [{0}]\uC758 \uB85C\uB4DC \uC2E4\uD328\uB97C \uCE58\uBA85\uC801 \uC624\uB958\uB85C \uCC98\uB9AC\uD569\uB2C8\uB2E4. \uD074\uB798\uC2A4 \uACBD\uB85C\uC640 is-failure-fatal \uC18D\uC131\uC744 \uD655\uC778\uD558\uC2ED\uC2DC\uC624. -lifecyclemodule.preInvoke_exception=\uC0AC\uC804 \uD638\uCD9C \uC911 \uC218\uBA85 \uC8FC\uAE30 \uBAA8\uB4C8 [{0}]\uC5D0 \uC608\uC678 \uC0AC\uD56D\uC774 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. -lifecyclemodule.postInvoke_exception=\uC0AC\uD6C4 \uD638\uCD9C \uC911 \uC218\uBA85 \uC8FC\uAE30 \uBAA8\uB4C8 [{0}]\uC5D0 \uC608\uC678 \uC0AC\uD56D\uC774 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. -lifecyclemodule.event_exceptionIsFatal=\uC218\uBA85 \uC8FC\uAE30 \uBAA8\uB4C8 \uC774\uBCA4\uD2B8 \uCC98\uB9AC\uAE30\uC5D0\uC11C \uBC1C\uC0DD\uD55C \uC608\uC678 \uC0AC\uD56D\uC744 \uCE58\uBA85\uC801 \uC624\uB958\uB85C \uCC98\uB9AC\uD569\uB2C8\uB2E4. is-failure-fatal \uC18D\uC131\uC744 \uD655\uC778\uD558\uC2ED\uC2DC\uC624. - - fnf=\uD30C\uC77C\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC74C {0} diff --git a/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_pt_BR.properties b/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_pt_BR.properties index fdf178229f1..e368958c498 100644 --- a/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_pt_BR.properties +++ b/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_pt_BR.properties @@ -37,8 +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 appnamenotunique=Nome de aplica\u00E7\u00E3o {0} j\u00E1 est\u00E1 em uso. Escolha outro nome. unknownmoduletpe=Tipo de m\u00F3dulo n\u00E3o reconhecido para o m\u00F3dulo {0} @@ -73,10 +72,4 @@ RenameFailed=N\u00E3o foi poss\u00EDvel renomear o backup para {0} TmpRenameFailed=N\u00E3o foi poss\u00EDvel renomear {0} para {1} BackupDeleteFailed=N\u00E3o foi poss\u00EDvel deletar o arquivo de backup anterior em {0} -lifecyclemodule.loadExceptionIsFatal=Tratando a falha ao carregar o m\u00F3dulo de ciclo de vida [{0}] como fatal; verifique sua classpath e a propriedade is-failure-fatal. -lifecyclemodule.preInvoke_exception=Exce\u00E7\u00E3o no m\u00F3dulo de ciclo de vida [{0}] durante a pr\u00E9-chamada. -lifecyclemodule.postInvoke_exception=Exce\u00E7\u00E3o no m\u00F3dulo de ciclo de vida [{0}] durante a p\u00F3s-chamada. -lifecyclemodule.event_exceptionIsFatal=Tratando como fatal a exce\u00E7\u00E3o do handler de eventos do m\u00F3dulo de ciclo de vida; verifique a propriedade is-failure-fatal. - - fnf=Arquivo n\u00E3o encontrado {0} diff --git a/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_zh_CN.properties b/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_zh_CN.properties index cc26f0eb744..47e03dca183 100644 --- a/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_zh_CN.properties +++ b/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_zh_CN.properties @@ -37,8 +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 appnamenotunique=\u5E94\u7528\u7A0B\u5E8F\u540D\u79F0{0}\u5DF2\u4F7F\u7528\u3002\u8BF7\u9009\u62E9\u4E0D\u540C\u540D\u79F0\u3002 unknownmoduletpe=\u65E0\u6CD5\u8BC6\u522B\u6A21\u5757{0}\u7684\u6A21\u5757\u7C7B\u578B @@ -73,10 +72,4 @@ RenameFailed=\u65E0\u6CD5\u5C06\u5907\u4EFD\u91CD\u547D\u540D\u4E3A{0} TmpRenameFailed=\u65E0\u6CD5\u5C06{0}\u91CD\u547D\u540D\u4E3A{1} BackupDeleteFailed=\u65E0\u6CD5\u5728{0}\u4E0A\u5220\u9664\u524D\u4E00\u4E2A\u5907\u4EFD\u6587\u4EF6 -lifecyclemodule.loadExceptionIsFatal=\u5C06\u52A0\u8F7D\u751F\u547D\u5468\u671F\u6A21\u5757 [{0}] \u5931\u8D25\u89C6\u4E3A\u81F4\u547D\u9519\u8BEF; \u8BF7\u68C0\u67E5\u7C7B\u8DEF\u5F84\u548C is-failure-fatal \u5C5E\u6027\u3002 -lifecyclemodule.preInvoke_exception=\u5728\u8C03\u7528\u524D\u671F\u95F4\u751F\u547D\u5468\u671F\u6A21\u5757 [{0}] \u51FA\u73B0\u5F02\u5E38\u9519\u8BEF\u3002 -lifecyclemodule.postInvoke_exception=\u5728\u8C03\u7528\u540E\u671F\u95F4\u751F\u547D\u5468\u671F\u6A21\u5757 [{0}] \u51FA\u73B0\u5F02\u5E38\u9519\u8BEF\u3002 -lifecyclemodule.event_exceptionIsFatal=\u5C06\u751F\u547D\u5468\u671F\u6A21\u5757\u4E8B\u4EF6\u5904\u7406\u7A0B\u5E8F\u7684\u5F02\u5E38\u9519\u8BEF\u89C6\u4E3A\u81F4\u547D\u9519\u8BEF; \u8BF7\u68C0\u67E5 is-failure-fatal \u5C5E\u6027\u3002 - - fnf=\u627E\u4E0D\u5230\u6587\u4EF6: {0} diff --git a/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_zh_TW.properties b/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_zh_TW.properties index bb5fa4af43e..2f564b64909 100644 --- a/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_zh_TW.properties +++ b/nucleus/core/kernel-l10n/src/main/resources/com/sun/enterprise/v3/server/LocalStrings_zh_TW.properties @@ -37,8 +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 appnamenotunique=\u61C9\u7528\u7A0B\u5F0F\u540D\u7A31 {0} \u5DF2\u5728\u4F7F\u7528\u3002\u8ACB\u6311\u9078\u4E0D\u540C\u7684\u540D\u7A31\u3002 unknownmoduletpe=\u6A21\u7D44 {0} \u7684\u6A21\u7D44\u985E\u578B\u7121\u6CD5\u8FA8\u8B58 @@ -73,10 +72,4 @@ RenameFailed=\u7121\u6CD5\u5C07\u5099\u4EFD\u91CD\u65B0\u547D\u540D\u70BA {0} TmpRenameFailed=\u7121\u6CD5\u5C07 {0} \u91CD\u65B0\u547D\u540D\u70BA {1} BackupDeleteFailed=\u7121\u6CD5\u5728 {0} \u522A\u9664\u5148\u524D\u7684\u5099\u4EFD\u6A94\u6848 -lifecyclemodule.loadExceptionIsFatal=\u5C07\u8F09\u5165\u751F\u547D\u9031\u671F\u6A21\u7D44 [{0}] \u6642\u51FA\u73FE\u7684\u6545\u969C\u8996\u70BA\u81F4\u547D\u6545\u969C\uFF1B\u8ACB\u6AA2\u67E5\u60A8\u7684\u985E\u5225\u8DEF\u5F91\u8207 is-failure-fatal \u7279\u6027\u3002 -lifecyclemodule.preInvoke_exception=\u5728\u547C\u53EB\u524D\uFF0C\u751F\u547D\u9031\u671F\u6A21\u7D44 [{0}] \u767C\u751F\u7570\u5E38\u3002 -lifecyclemodule.postInvoke_exception=\u5728\u547C\u53EB\u5F8C\uFF0C\u751F\u547D\u9031\u671F\u6A21\u7D44 [{0}] \u767C\u751F\u7570\u5E38\u3002 -lifecyclemodule.event_exceptionIsFatal=\u5C07\u751F\u547D\u9031\u671F\u6A21\u7D44\u4E8B\u4EF6\u8655\u7406\u7A0B\u5F0F\u4E2D\u7684\u7570\u5E38\u8996\u70BA\u81F4\u547D\u7570\u5E38\uFF1B\u8ACB\u6AA2\u67E5 is-failure-fatal \u7279\u6027\u3002 - - fnf=\u627E\u4E0D\u5230\u6A94\u6848 {0} diff --git a/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/ApplicationConfigListener.java b/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/ApplicationConfigListener.java index 0de550cd840..eb1850c1157 100644 --- a/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/ApplicationConfigListener.java +++ b/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/ApplicationConfigListener.java @@ -37,7 +37,7 @@ * only if the new code is made subject to such option by the copyright * holder. */ -// Portions Copyright [2017-2024] [Payara Foundation and/or its affiliates] +// Portions Copyright 2017-2026 Payara Foundation and/or its affiliates package com.sun.enterprise.v3.server; @@ -206,10 +206,6 @@ public void postConstruct() { private void handleAppEnableChange(Object parent, String appName, boolean enabled) { - Application application = applications.getApplication(appName); - if (application.isLifecycleModule()) { - return; - } if (enabled) { if (isCurrentInstanceMatchingTarget(parent)) { enableApplication(appName); @@ -223,9 +219,6 @@ private void handleAppEnableChange(Object parent, private void handleOtherAppConfigChanges(Object parent, String appName) { Application application = applications.getApplication(appName); - if (application.isLifecycleModule()) { - return; - } // reload the application for other application related // config changes if the application is in enabled state if (isCurrentInstanceMatchingTarget(parent) && diff --git a/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/ApplicationLifecycle.java b/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/ApplicationLifecycle.java index dddbfb42ad6..0ec9bec3a6a 100644 --- a/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/ApplicationLifecycle.java +++ b/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/ApplicationLifecycle.java @@ -37,8 +37,7 @@ * only if the new code is made subject to such option by the copyright * holder. */ - -// Portions Copyright 2016-2024 Payara Foundation and/or its affiliates. +// Portions Copyright 2016-2026 Payara Foundation and/or its affiliates. package com.sun.enterprise.v3.server; @@ -2429,13 +2428,8 @@ public void validateDeploymentTarget(String target, String name, public void validateUndeploymentTarget(String target, String name) { List referencedTargets = domain.getAllReferencedTargetsForApplication(name); if (referencedTargets.size() > 1) { - Application app = applications.getApplication(name); if (!DeploymentUtils.isDomainTarget(target) && domain.getDeploymentGroupNamed(target) == null) { - if (app.isLifecycleModule()) { - throw new IllegalArgumentException(localStrings.getLocalString("delete_lifecycle_on_multiple_targets", "Lifecycle module {0} is referenced by more than one targets. Please remove other references before attempting delete operation.", name)); - } else { - throw new IllegalArgumentException(localStrings.getLocalString("undeploy_on_multiple_targets", "Application {0} is referenced by more than one targets. Please remove other references or specify all targets (or domain target if using asadmin command line) before attempting undeploy operation.", name)); - } + throw new IllegalArgumentException(localStrings.getLocalString("undeploy_on_multiple_targets", "Application {0} is referenced by more than one targets. Please remove other references or specify all targets (or domain target if using asadmin command line) before attempting undeploy operation.", name)); } } } diff --git a/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/ApplicationLoaderService.java b/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/ApplicationLoaderService.java index b141fadf04a..2f906aca8d7 100644 --- a/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/ApplicationLoaderService.java +++ b/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/ApplicationLoaderService.java @@ -37,7 +37,7 @@ * only if the new code is made subject to such option by the copyright * holder. */ -// Portions Copyright [2017-2024] [Payara Foundation and/or its affiliates] +// Portions Copyright 2017-2026 Payara Foundation and/or its affiliates package com.sun.enterprise.v3.server; @@ -384,11 +384,6 @@ public List processApplication(Application app String source = app.getLocation(); final String appName = app.getName(); - // lifecycle modules are loaded separately - if (Boolean.valueOf(app.getDeployProperties().getProperty(ServerTags.IS_LIFECYCLE))) { - return Collections.emptyList(); - } - URI uri; try { uri = new URI(source); diff --git a/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/DynamicReloader.java b/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/DynamicReloader.java index 242a8618af2..2e966bb2952 100644 --- a/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/DynamicReloader.java +++ b/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/DynamicReloader.java @@ -37,7 +37,7 @@ * only if the new code is made subject to such option by the copyright * holder. */ -// Portions Copyright [2016-2024] [Payara Foundation and/or its affiliates] +// Portions Copyright 2016-2026 Payara Foundation and/or its affiliates package com.sun.enterprise.v3.server; @@ -141,10 +141,6 @@ private synchronized void initAppReloadInfo(Applications applications) throws UR for (ApplicationName m : applications.getModules()) { if (m instanceof Application) { Application app = (Application) m; - if (Boolean.parseBoolean(app.getDeployProperties().getProperty(ServerTags.IS_LIFECYCLE))) { - // skip lifecycle modules - continue; - } AppReloadInfo info = new AppReloadInfo(app); appReloadInfo.put(app.getName(), info); logger.log(Level.FINE, "[Reloader] Monitoring {0} at {1}", new Object[]{app.getName(), app.getLocation()}); @@ -199,10 +195,8 @@ private synchronized List chooseAppsToReload() throws URISyntaxEx if (m instanceof Application) { Application app = (Application) m; - if (app.getLocation() == null || Boolean.parseBoolean(app.getDeployProperties().getProperty - (ServerTags.IS_LIFECYCLE))) { + if (app.getLocation() == null) { // skip apps without a location - // skip lifecycle modules continue; } AppReloadInfo reloadInfo = findOrCreateAppReloadInfo(app); diff --git a/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/LifecycleEventContextImpl.java b/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/LifecycleEventContextImpl.java deleted file mode 100755 index 844005a9e3d..00000000000 --- a/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/LifecycleEventContextImpl.java +++ /dev/null @@ -1,115 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 1997-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.v3.server; - -import com.sun.appserv.server.LifecycleEventContext; -import java.util.logging.Level; -import java.util.logging.Logger; -import javax.naming.InitialContext; -import org.glassfish.internal.api.ServerContext; -import org.glassfish.kernel.KernelLoggerInfo; - -public class LifecycleEventContextImpl implements LifecycleEventContext { - - private ServerContext ctx; - - private static final Logger logger = KernelLoggerInfo.getLogger(); - - /** - * public constructor - */ - public LifecycleEventContextImpl(ServerContext ctx) { - this.ctx = ctx; - } - - /** - * Get the server command-line arguments - */ - public String[] getCmdLineArgs() { - return ctx.getCmdLineArgs(); - } - - /** - * Get server installation root - */ - public String getInstallRoot() { - return ctx.getInstallRoot().getPath(); - } - - /** - * Get the server instance name - */ - public String getInstanceName() { - return ctx.getInstanceName(); - } - - /** - * Get the initial naming context. - */ - public InitialContext getInitialContext() { - return ctx.getInitialContext(); - } - - /** - * Writes the specified message to a server log file. - * - * @param msg a String specifying the - * message to be written to the log file - */ - public void log(String message) { - logger.info(message); - } - - /** - * Writes an explanatory message and a stack trace - * for a given Throwable exception - * to the server log file. - * - * @param message a String that - * describes the error or exception - * - * @param throwable the Throwable error - * or exception - */ - public void log(String message, Throwable throwable) { - logger.log(Level.INFO, message, throwable); - } -} diff --git a/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/LifecycleListenerImpl.java b/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/LifecycleListenerImpl.java deleted file mode 100755 index bbdb9793ed5..00000000000 --- a/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/LifecycleListenerImpl.java +++ /dev/null @@ -1,110 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 1997-2010 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.v3.server; - -import java.util.Properties; - -import com.sun.appserv.server.LifecycleListener; -import com.sun.appserv.server.LifecycleEvent; -import com.sun.appserv.server.LifecycleEventContext; -import com.sun.appserv.server.ServerLifecycleException; - -/** - * LifecycleListenerImpl is a dummy implementation for the LifecycleListener interface. - * This implementaion stubs out various lifecycle interface methods. - */ -public class LifecycleListenerImpl implements LifecycleListener { - - /** receive a server lifecycle event - * @param event associated event - * @throws ServerLifecycleException for exceptional condition. - * - * Configure this module as a lifecycle-module in server.xml: - * - * - * - * - * - * - * - * Setis-failure-fatalin server.xml to true for - * fatal conditions. - */ - public void handleEvent(LifecycleEvent event) throws ServerLifecycleException { - LifecycleEventContext ctx = event.getLifecycleEventContext(); - - ctx.log("got event" + event.getEventType() + " event data: " + event.getData()); - - Properties props; - - if (LifecycleEvent.INIT_EVENT == event.getEventType()) { - System.out.println("LifecycleListener: INIT_EVENT"); - - props = (Properties) event.getData(); - - // handle INIT_EVENT - return; - } - - if (LifecycleEvent.STARTUP_EVENT == event.getEventType()) { - System.out.println("LifecycleListener: STARTUP_EVENT"); - - // handle STARTUP_EVENT - return; - } - - if (LifecycleEvent.SHUTDOWN_EVENT== event.getEventType()) { - System.out.println("LifecycleListener: SHUTDOWN_EVENT"); - - // handle SHUTDOWN_EVENT - return; - } - - if (LifecycleEvent.TERMINATION_EVENT == event.getEventType()) { - System.out.println("LifecycleListener: TERMINATE_EVENT"); - - // handle TERMINATION_EVENT - return; - } - } -} diff --git a/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/LifecycleModuleService.java b/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/LifecycleModuleService.java deleted file mode 100755 index 6b4062edd06..00000000000 --- a/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/LifecycleModuleService.java +++ /dev/null @@ -1,356 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 1997-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.v3.server; - -import java.util.ArrayList; -import java.util.HashSet; -import java.util.Iterator; -import java.util.List; -import java.util.Properties; -import java.util.concurrent.CountDownLatch; -import java.util.concurrent.Future; -import java.util.concurrent.TimeUnit; - -import jakarta.inject.Inject; -import jakarta.inject.Named; - -import org.glassfish.api.FutureProvider; -import org.glassfish.api.StartupRunLevel; -import org.glassfish.api.admin.ServerEnvironment; -import org.glassfish.api.event.EventListener; -import org.glassfish.api.event.EventTypes; -import org.glassfish.api.event.Events; -import org.glassfish.deployment.common.DeploymentException; -import org.glassfish.hk2.api.PostConstruct; -import org.glassfish.hk2.api.PreDestroy; -import org.glassfish.hk2.runlevel.RunLevel; -import org.glassfish.internal.api.ServerContext; -import org.jvnet.hk2.annotations.Service; - -import com.sun.appserv.server.LifecycleListener; -import com.sun.appserv.server.ServerLifecycleException; -import com.sun.enterprise.config.serverbeans.Application; -import com.sun.enterprise.config.serverbeans.Applications; -import com.sun.enterprise.config.serverbeans.ConfigBeansUtilities; -import com.sun.enterprise.config.serverbeans.Server; -import com.sun.enterprise.config.serverbeans.ServerTags; -import com.sun.enterprise.util.Result; - -/** - * Support class to assist in firing LifecycleEvent notifications to - * registered LifecycleListeners. - */ -@Service -@RunLevel(StartupRunLevel.VAL) -public class LifecycleModuleService implements PreDestroy, PostConstruct, EventListener, FutureProvider>{ - - @Inject - ServerContext context; - - @Inject - Applications apps; - - @Inject - Events events; - - @Inject @Named( ServerEnvironment.DEFAULT_INSTANCE_NAME) - Server server; - - @Inject - private ConfigBeansUtilities configBeansUtilities; - - /** - * The set of registered LifecycleListeners for event notifications. - */ - private ArrayList listeners = new ArrayList(); - - List>> futures = new ArrayList(); - - public void postConstruct() { - events.register(this); - try { - onInitialization(); - } catch (Exception e) { - addExceptionToFuture(e); - } - } - - public void preDestroy() { - try { - onTermination(); - } catch (Exception e) { - throw new RuntimeException(e); - } - } - - public List>> getFutures() { - return futures; - } - - public void event(Event event) { - try { - if (event.is(EventTypes.SERVER_STARTUP)) { - onStartup(); - } else if (event.is(EventTypes.SERVER_READY)) { - onReady(); - } else if (event.is(EventTypes.PREPARE_SHUTDOWN)) { - onShutdown(); - } - } catch (Exception e) { - throw new DeploymentException(e); - } - } - - private void onInitialization() throws ServerLifecycleException { - List applications = apps.getApplications(); - List lcms = new ArrayList();; - for (Application app : applications) { - if (Boolean.valueOf(app.getDeployProperties().getProperty - (ServerTags.IS_LIFECYCLE))) { - lcms.add(app); - } - } - - HashSet listenerSet = new HashSet(); - for (Application next : lcms) { - Properties props = next.getDeployProperties(); - String enabled = next.getEnabled(); - if ( isEnabled(next.getName(), enabled) ) { - String strOrder = (String)props.remove( - ServerTags.LOAD_ORDER); - - int order = Integer.MAX_VALUE; - if (strOrder != null && strOrder.length() > 0) { - try { - order = Integer.parseInt(strOrder); - } catch(NumberFormatException nfe) { - nfe.printStackTrace(); - } - } - - String className = (String)props.remove( - ServerTags.CLASS_NAME); - ServerLifecycleModule slcm = - new ServerLifecycleModule(context, - next.getName(), className); - - slcm.setLoadOrder(order); - - String classpath = (String)props.remove( - ServerTags.CLASSPATH); - slcm.setClasspath(classpath); - - String isFailureFatal = (String)props.remove( - ServerTags.IS_FAILURE_FATAL); - slcm.setIsFatal(Boolean.valueOf(isFailureFatal)); - - props.remove(ServerTags.IS_LIFECYCLE); - props.remove(ServerTags.OBJECT_TYPE); - - for (String propName : props.stringPropertyNames()) { - slcm.setProperty(propName, props.getProperty(propName)); - } - - LifecycleListener listener = slcm.loadServerLifecycle(); - listenerSet.add(slcm); - } - } - sortModules(listenerSet); - - initialize(); - } - - /** - * Returns true if life cycle module is enabled in the application - * level and in the application ref level. - * - * @return true if life cycle module is enabled - */ - private boolean isEnabled(String name, String enabled) { - - // true if enabled in both lifecyle module and in the ref - return (Boolean.valueOf(enabled) && - Boolean.valueOf(configBeansUtilities.getEnabled( - server.getName(), name))); - } - - private void resetClassLoader(final ClassLoader c) { - // set the common class loader as the thread context class loader - java.security.AccessController.doPrivileged( - new java.security.PrivilegedAction() { - public Object run() { - Thread.currentThread().setContextClassLoader(c); - return null; - } - } - ); - } - - private void sortModules(HashSet listenerSet) { - // FIXME: use a better sorting algo - for(Iterator iter = listenerSet.iterator(); iter.hasNext();) { - ServerLifecycleModule next = (ServerLifecycleModule) iter.next(); - int order = next.getLoadOrder(); - int i=0; - for(;i order) { - break; - } - } - this.listeners.add(i,next); - } - } - - private void initialize() - throws ServerLifecycleException { - - if (listeners.isEmpty()) - return; - - final ClassLoader cl = Thread.currentThread().getContextClassLoader(); - for(Iterator iter = listeners.iterator(); iter.hasNext();) { - ServerLifecycleModule next = (ServerLifecycleModule) iter.next(); - next.onInitialization(); - } - // set it back - resetClassLoader(cl); - } - - private void onStartup() throws ServerLifecycleException { - - if (listeners.isEmpty()) - return; - - final ClassLoader cl = Thread.currentThread().getContextClassLoader(); - for(Iterator iter = listeners.iterator(); iter.hasNext();) { - ServerLifecycleModule next = (ServerLifecycleModule) iter.next(); - next.onStartup(); - } - // set it back - resetClassLoader(cl); - } - - private void onReady() throws ServerLifecycleException { - - if (listeners.isEmpty()) - return; - - final ClassLoader cl = Thread.currentThread().getContextClassLoader(); - for(Iterator iter = listeners.iterator(); iter.hasNext();) { - ServerLifecycleModule next = (ServerLifecycleModule) iter.next(); - next.onReady(); - } - // set it back - resetClassLoader(cl); - } - - private void onShutdown() throws ServerLifecycleException { - - if (listeners.isEmpty()) - return; - - final ClassLoader cl = Thread.currentThread().getContextClassLoader(); - for(Iterator iter = listeners.iterator(); iter.hasNext();) { - ServerLifecycleModule next = (ServerLifecycleModule) iter.next(); - next.onShutdown(); - } - // set it back - resetClassLoader(cl); - } - - private void onTermination() throws ServerLifecycleException { - - if (listeners.isEmpty()) - return; - - ClassLoader cl = Thread.currentThread().getContextClassLoader(); - for(Iterator iter = listeners.iterator(); iter.hasNext();) { - ServerLifecycleModule next = (ServerLifecycleModule) iter.next(); - next.onTermination(); - } - // set it back - resetClassLoader(cl); - } - - private Future> addExceptionToFuture(Throwable t) { - Future> future = new LifecycleModuleFuture(); - ((LifecycleModuleFuture)future).setResult(new Result(t)); - futures.add(future); - return future; - } - - public static final class LifecycleModuleFuture implements Future> { - Result result; - CountDownLatch latch = new CountDownLatch(1); - - public void setResult(Result result) { - this.result = result; - latch.countDown(); - } - - @Override - public boolean cancel(boolean mayInterruptIfRunning) { - return false; - } - - @Override - public boolean isCancelled() { - return false; - } - - @Override - public boolean isDone() { - return latch.getCount() == 0; - } - - @Override - public Result get() throws InterruptedException { - latch.await(); - return result; - } - - @Override - public Result get(long timeout, TimeUnit unit) throws InterruptedException { - latch.await(timeout, unit); - return result; - } - } -} diff --git a/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/LocalStrings.properties b/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/LocalStrings.properties index cfb32231b37..2313db95cb4 100644 --- a/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/LocalStrings.properties +++ b/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/LocalStrings.properties @@ -37,7 +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 appnamenotunique=Application name {0} is already in use. Please pick a different name. unknownmoduletpe=Module type not recognized for module {0} @@ -54,7 +54,6 @@ use.create_app_ref=Application {0} is already deployed on other targets. Please use.create_app_ref_2=Application {0} is already deployed in this domain. Please use create-application-ref command to create application reference on target {1} redeploy_on_multiple_targets=Application {0} is referenced by more than one targets. Please remove other references or specify all targets (or domain target if using asadmin command line) before attempting redeploy operation undeploy_on_multiple_targets=Application {0} is referenced by more than one targets. Please remove other references or specify all targets (or domain target if using asadmin command line) before attempting undeploy operation. -delete_lifecycle_on_multiple_targets=Lifecycle module {0} is referenced by more than one targets. Please remove other references before attempting delete operation. cannot_specify_managed_target=Cannot specify target {0} for the operation. Target {0} is a managed target application.deploy_domain=Application with name {0} is already referenced by other target(s). Please specify force option to redeploy to domain. @@ -72,10 +71,4 @@ RenameFailed=Could not rename backup to {0} TmpRenameFailed=Could not rename {0} to {1} BackupDeleteFailed=Could not delete previous backup file at {0} -lifecyclemodule.loadExceptionIsFatal=Treating failure loading the lifecycle module [{0}] as fatal; please check your classpath and the is-failure-fatal property. -lifecyclemodule.preInvoke_exception=Exception lifecycle module [{0}] during pre-invocation. -lifecyclemodule.postInvoke_exception=Exception lifecycle module [{0}] during post-invocation. -lifecyclemodule.event_exceptionIsFatal=Treating the exception from lifecycle module event handler as fatal; please check the is-failure-fatal property. - - fnf=File not found {0} \ No newline at end of file diff --git a/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/ServerLifecycleModule.java b/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/ServerLifecycleModule.java deleted file mode 100755 index 54247a1888e..00000000000 --- a/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/ServerLifecycleModule.java +++ /dev/null @@ -1,252 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 1997-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 [2019] Payara Foundation and/or affiliates - -package com.sun.enterprise.v3.server; - -import com.sun.appserv.server.LifecycleEvent; -import com.sun.appserv.server.LifecycleEventContext; -import com.sun.appserv.server.LifecycleListener; -import com.sun.appserv.server.ServerLifecycleException; -import com.sun.enterprise.util.LocalStringManagerImpl; -import org.glassfish.internal.api.ServerContext; -import org.glassfish.kernel.KernelLoggerInfo; -import org.glassfish.loader.util.ASClassLoaderUtil; - -import java.io.File; -import java.net.URL; -import java.net.URLClassLoader; -import java.util.List; -import java.util.Properties; -import java.util.logging.Level; -import java.util.logging.Logger; - -/** - * @author Sridatta Viswanath - */ - -public final class ServerLifecycleModule { - - private LifecycleListener slcl; - private String name; - private String className; - private String classpath; - private int loadOrder; - private boolean isFatal = false; - private String statusMsg = "OK"; - - private ServerContext ctx; - private LifecycleEventContext leContext; - private ClassLoader urlClassLoader; - private Properties props = new Properties(); - - private static final Logger _logger = KernelLoggerInfo.getLogger(); - private static boolean _isTraceEnabled = false; - - private final static String LIFECYCLE_PREFIX = "lifecycle_"; - - final private static LocalStringManagerImpl localStrings = new LocalStringManagerImpl(ServerLifecycleModule.class); - - ServerLifecycleModule(ServerContext ctx, String name, String className) { - this.name = name; - this.className = className; - this.ctx = ctx; - this.leContext = new LifecycleEventContextImpl(ctx); - - _isTraceEnabled = _logger.isLoggable(Level.FINE); - } - - void setClasspath(String classpath) { - this.classpath = classpath; - } - - void setProperty(String name, String value) { - props.put(name, value); - } - - Properties getProperties() { - return this.props; - } - - void setLoadOrder(int loadOrder) { - this.loadOrder = loadOrder; - } - - void setIsFatal(boolean isFatal) { - this.isFatal = isFatal; - } - - String getName() { - return this.name; - } - - String getClassName() { - return this.className; - } - - String getClasspath() { - return this.classpath; - } - - int getLoadOrder() { - return this.loadOrder; - } - - boolean isFatal() { - return isFatal; - } - - LifecycleListener loadServerLifecycle() throws ServerLifecycleException { - ClassLoader classLoader = ctx.getLifecycleParentClassLoader(); - - try { - if (this.classpath != null) { - URL[] urls = getURLs(); - - if (urls != null) { - StringBuilder sb = new StringBuilder(128); - for(int i=0;i urlList = ASClassLoaderUtil.getURLsFromClasspath( - this.classpath, File.pathSeparator, ""); - return ASClassLoaderUtil.convertURLListToArray(urlList); - } - - private void postEvent(int eventType, Object data) - throws ServerLifecycleException { - if (slcl == null) { - if (isFatal) { - throw new ServerLifecycleException(localStrings.getLocalString("lifecyclemodule.loadExceptionIsFatal", "Treating failure loading the lifecycle module as fatal", this.name)); - } - - return; - } - - if (urlClassLoader != null) - setClassLoader(); - - LifecycleEvent slcEvent= new LifecycleEvent(this, eventType, data, this.leContext); - try { - slcl.handleEvent(slcEvent); - } catch (ServerLifecycleException sle) { - _logger.log(Level.WARNING, KernelLoggerInfo.serverLifecycleException, - new Object[] {this.name, sle}); - - if (isFatal) - throw sle; - } catch (Exception ee) { - _logger.log(Level.WARNING, KernelLoggerInfo.lifecycleModuleException, - new Object[] {this.name, ee}); - - if (isFatal) { - throw new ServerLifecycleException(localStrings.getLocalString("lifecyclemodule.event_exceptionIsFatal", "Treating the exception from lifecycle module event handler as fatal"), ee); - } - } - } - - public void onInitialization() - throws ServerLifecycleException { - postEvent(LifecycleEvent.INIT_EVENT, props); - } - - public void onStartup() - throws ServerLifecycleException { - postEvent(LifecycleEvent.STARTUP_EVENT, props); - } - - public void onReady() throws ServerLifecycleException { - postEvent(LifecycleEvent.READY_EVENT, props); - } - - public void onShutdown() throws ServerLifecycleException { - postEvent(LifecycleEvent.SHUTDOWN_EVENT, props); - } - - public void onTermination() throws ServerLifecycleException { - postEvent(LifecycleEvent.TERMINATION_EVENT, props); - } - - private void setClassLoader() { - // set the url class loader as the thread context class loader - java.security.AccessController.doPrivileged( - new java.security.PrivilegedAction() { - public Object run() { - Thread.currentThread().setContextClassLoader(urlClassLoader); - return null; - } - } - ); - } - - /** - * return status of this lifecycle module as a string - */ - public String getStatus() { - return statusMsg; - } - - public String toString() { - return "Server LifecycleListener support"; - } -} diff --git a/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/UpgradeStartup.java b/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/UpgradeStartup.java index 3cee412c0ac..bc3395e5d9e 100644 --- a/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/UpgradeStartup.java +++ b/nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/server/UpgradeStartup.java @@ -37,8 +37,7 @@ * only if the new code is made subject to such option by the copyright * holder. */ - -// Portions Copyright [2019-2021] [Payara Foundation and/or its affiliates] +// Portions Copyright 2019-2026 Payara Foundation and/or its affiliates package com.sun.enterprise.v3.server; @@ -183,11 +182,6 @@ public Object run(ConfigBeanProxy... configBeanProxies) throws PropertyVetoExcep // redeploy all existing applications for (Application app : applications.getApplications()) { - // we don't need to redeploy lifecycle modules - if (Boolean.valueOf(app.getDeployProperties().getProperty - (ServerTags.IS_LIFECYCLE))) { - continue; - } logger.log(Level.INFO, "Redeploy application " + app.getName() + " located at " + app.getLocation()); // we let upgrade proceed even if one application // failed to redeploy diff --git a/nucleus/core/kernel/src/main/java/org/glassfish/kernel/KernelLoggerInfo.java b/nucleus/core/kernel/src/main/java/org/glassfish/kernel/KernelLoggerInfo.java index 1b1b5ad03ba..d1b99636c87 100644 --- a/nucleus/core/kernel/src/main/java/org/glassfish/kernel/KernelLoggerInfo.java +++ b/nucleus/core/kernel/src/main/java/org/glassfish/kernel/KernelLoggerInfo.java @@ -36,9 +36,8 @@ * 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 [2016-2020s] [Payara Foundation and/or its affiliates] */ +// Portions Copyright 2016-2026 Payara Foundation and/or its affiliates package org.glassfish.kernel; @@ -371,24 +370,7 @@ public static Logger getLogger() { cause = "An unexpected exception occurred while closing an archive.", action = "Check the system logs and contact Payara Support.", level = "SEVERE") - public static final String exceptionWhileClosing = LOGMSG_PREFIX + "-00051"; - - @LogMessageInfo( - message = "Exception loading lifecycle module [{0}]; [{1}]", - cause = "An unexpected exception occurred while loading a lifecycle module.", - action = "Check the system logs and contact Payara Support.", - level = "SEVERE") - public static final String exceptionLoadingLifecycleModule = LOGMSG_PREFIX + "-00052"; - - @LogMessageInfo( - message = "Lifecycle module [{0}] threw ServerLifecycleException, exception: {1}", - level = "WARNING") - public static final String serverLifecycleException = LOGMSG_PREFIX + "-00053"; - - @LogMessageInfo( - message = "Lifecycle module [{0}] threw an Exception; please check your lifecycle module. Exception: {1}", - level = "WARNING") - public static final String lifecycleModuleException = LOGMSG_PREFIX + "-00054"; + public static final String exceptionWhileClosing = LOGMSG_PREFIX + "-00051"; @LogMessageInfo( message = "GrizzlyService stop-proxy problem", diff --git a/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_de.properties b/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_de.properties index 40b5b80ec7e..bb23350d30a 100644 --- a/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_de.properties +++ b/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/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 Usage# deploy.command=Eine Anwendung auf dem Application Server bereitstellen @@ -83,7 +84,6 @@ download.errDownloading=Fehler beim Herunterladen der erstellten Dateien download.errFileExists=Dateien k\u00F6nnen nicht generiert werden. Datei [{0}] ist bereits vorhanden. download.errParentFileMissing=Dateien k\u00F6nnen nicht generiert werden. Verzeichnis [{0}] ist nicht vorhanden. compat.value.not.supported=Warnung: {0} ist kein unterst\u00FCtzter Wert f\u00FCr die Kompatibilit\u00E4tseigenschaft. Der derzeit unterst\u00FCtzte Wert f\u00FCr die Eigenschaft ist v2. Die Eigenschaft wird ignoriert. -lifecyclemodule_withsamename_exists=Es ist bereits ein Lebenszyklusmodul mit demselben Namen {0} vorhanden. W\u00E4hlen Sie einen anderen Namen f\u00FCr die Anwendung. application_withsamename_exists=Es ist bereits eine Anwendung mit demselben Namen {0} vorhanden. W\u00E4hlen Sie einen anderen Namen f\u00FCr das Lebenszyklusmodul. # undeploy.command=Deployment einer zuvor bereitgestellten Anwendung auf dem Application Server aufheben diff --git a/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_es.properties b/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_es.properties index e95992690d6..ee928e24cf5 100644 --- a/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_es.properties +++ b/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/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 Usage# deploy.command=Desplegar una aplicaci\u00F3n en el servidor de aplicaciones @@ -83,7 +84,6 @@ download.errDownloading=Error al descargar los archivos generados download.errFileExists=No se han podido generar archivos. El archivo [{0}] ya existe. download.errParentFileMissing=No se han podido generar archivos. El directorio [{0}] no existe. compat.value.not.supported=Advertencia: {0} no es un valor soportado para la propiedad compatibility. El valor soportado actual de la propiedad es v2. Ignorando la propiedad. -lifecyclemodule_withsamename_exists=El m\u00F3dulo de ciclo de vida con el mismo nombre {0} ya existe. Seleccione un nombre diferente para la aplicaci\u00F3n. application_withsamename_exists=La aplicaci\u00F3n con el mismo nombre {0} ya existe. Seleccione un nombre diferente para el m\u00F3dulo de ciclo de vida. # undeploy.command=Anula el despliegue de una aplicaci\u00F3n desplegada anteriormente en el servidor de aplicaciones diff --git a/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_fr.properties b/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_fr.properties index 90d2f328c77..931f660f8a7 100644 --- a/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_fr.properties +++ b/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/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 Usage# deploy.command=D\u00E9ployer une application sur le serveur d'applications @@ -83,7 +84,6 @@ download.errDownloading=Erreur lors du t\u00E9l\u00E9chargement des fichiers g\u download.errFileExists=Impossible de g\u00E9n\u00E9rer les fichiers. Le fichier [{0}] existe d\u00E9j\u00E0. download.errParentFileMissing=Impossible de g\u00E9n\u00E9rer les fichiers. Le r\u00E9pertoire [{0}] n''existe pas. compat.value.not.supported=Avertissement : {0} n''est pas une valeur prise en charge pour la propri\u00E9t\u00E9 de compatibilit\u00E9. La valeur actuellement prise en charge pour la propri\u00E9t\u00E9 est v2. La propri\u00E9t\u00E9 n''est pas prise en compte. -lifecyclemodule_withsamename_exists=Un module de cycle de vie portant le m\u00EAme nom {0} existe d\u00E9j\u00E0, s\u00E9lectionnez un nom diff\u00E9rent pour l''application. application_withsamename_exists=Une application portant le m\u00EAme nom {0} existe d\u00E9j\u00E0, s\u00E9lectionnez un nom diff\u00E9rent pour le module de cycle de vie. # undeploy.command=Annuler le d\u00E9ploiement d'une application d\u00E9ploy\u00E9e pr\u00E9c\u00E9demment \u00E0 partir du serveur d'applications diff --git a/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_it.properties b/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_it.properties index 04376306ffb..3cfe4cb272a 100644 --- a/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_it.properties +++ b/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/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 Usage# deploy.command=Distribuisce un'applicazione all'application server @@ -83,7 +84,6 @@ download.errDownloading=Errore durante lo scaricamento dei file generati download.errFileExists=Impossibile generare i file. Il file [{0}] gi\u00E0 esiste. download.errParentFileMissing=Impossibile generare i file. La directory [{0}] non esiste. compat.value.not.supported=Avvertenza: {0} non \u00E8 un valore supportato per la propriet\u00E0 di compatibilit\u00E0. Il valore corrente supportato per la propriet\u00E0 \u00E8 v2. La propriet\u00E0 verr\u00E0 ignorata. -lifecyclemodule_withsamename_exists=Un modulo del ciclo di vita con lo stesso nome {0} esiste gi\u00E0. Scegliere un nome diverso per l''applicazione. application_withsamename_exists=Un''applicazione con lo stesso nome {0} esiste gi\u00E0. Scegliere un nome diverso per il modulo del ciclo di vita. # undeploy.command=Annullare la distribuzione dall'application server di un'applicazione distribuita in precedenza diff --git a/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_ja.properties b/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_ja.properties index 80cd81474f4..2ebba4a8f3e 100644 --- a/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_ja.properties +++ b/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/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 Usage# deploy.command=\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u3092\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u30FB\u30B5\u30FC\u30D0\u30FC\u306B\u30C7\u30D7\u30ED\u30A4\u3057\u307E\u3059 @@ -83,7 +84,6 @@ download.errDownloading=\u751F\u6210\u3055\u308C\u305F\u30D5\u30A1\u30A4\u30EB\u download.errFileExists=\u30D5\u30A1\u30A4\u30EB\u3092\u751F\u6210\u3067\u304D\u307E\u305B\u3093\u3002\u30D5\u30A1\u30A4\u30EB[{0}]\u306F\u3059\u3067\u306B\u5B58\u5728\u3057\u307E\u3059\u3002 download.errParentFileMissing=\u30D5\u30A1\u30A4\u30EB\u3092\u751F\u6210\u3067\u304D\u307E\u305B\u3093\u3002\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA[{0}]\u304C\u5B58\u5728\u3057\u307E\u305B\u3093\u3002 compat.value.not.supported=\u8B66\u544A: {0}\u306F\u4E92\u63DB\u6027\u30D7\u30ED\u30D1\u30C6\u30A3\u3067\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u308B\u5024\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u30D7\u30ED\u30D1\u30C6\u30A3\u3067\u73FE\u5728\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u308B\u5024\u306Fv2\u3067\u3059\u3002\u30D7\u30ED\u30D1\u30C6\u30A3\u306F\u7121\u8996\u3055\u308C\u307E\u3059\u3002 -lifecyclemodule_withsamename_exists=\u540C\u3058\u540D\u524D{0}\u306E\u30E9\u30A4\u30D5\u30B5\u30A4\u30AF\u30EB\u30FB\u30E2\u30B8\u30E5\u30FC\u30EB\u306F\u3059\u3067\u306B\u5B58\u5728\u3057\u307E\u3059\u3002\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u306B\u5225\u306E\u540D\u524D\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002 application_withsamename_exists=\u540C\u3058\u540D\u524D{0}\u306E\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u306F\u3059\u3067\u306B\u5B58\u5728\u3057\u307E\u3059\u3002\u30E9\u30A4\u30D5\u30B5\u30A4\u30AF\u30EB\u30FB\u30E2\u30B8\u30E5\u30FC\u30EB\u306B\u5225\u306E\u540D\u524D\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002 # undeploy.command=\u4EE5\u524D\u306B\u30C7\u30D7\u30ED\u30A4\u3055\u308C\u305F\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u3092\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u30FB\u30B5\u30FC\u30D0\u30FC\u304B\u3089\u30A2\u30F3\u30C7\u30D7\u30ED\u30A4\u3057\u307E\u3059 diff --git a/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_ko.properties b/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_ko.properties index d26ac1c983f..2e4305c6dfe 100644 --- a/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_ko.properties +++ b/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/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 Usage# deploy.command=\uC751\uC6A9 \uD504\uB85C\uADF8\uB7A8\uC744 \uC560\uD50C\uB9AC\uCF00\uC774\uC158 \uC11C\uBC84\uC5D0 \uBC30\uCE58\uD569\uB2C8\uB2E4. @@ -83,7 +84,6 @@ download.errDownloading=\uC0DD\uC131\uB41C \uD30C\uC77C\uC744 \uB2E4\uC6B4\uB85C download.errFileExists=\uD30C\uC77C\uC744 \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uD30C\uC77C [{0}]\uC774(\uAC00) \uC874\uC7AC\uD569\uB2C8\uB2E4. download.errParentFileMissing=\uD30C\uC77C\uC744 \uC0DD\uC131\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uB514\uB809\uD1A0\uB9AC [{0}]\uC774(\uAC00) \uC874\uC7AC\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. compat.value.not.supported=\uACBD\uACE0: {0}\uC740(\uB294) \uD638\uD658\uC131 \uC18D\uC131\uC5D0 \uB300\uD574 \uC9C0\uC6D0\uB418\uB294 \uAC12\uC774 \uC544\uB2D9\uB2C8\uB2E4. \uD604\uC7AC \uC18D\uC131\uC5D0 \uB300\uD574 \uC9C0\uC6D0\uB418\uB294 \uAC12\uC740 v2\uC785\uB2C8\uB2E4. \uC18D\uC131\uC774 \uBB34\uC2DC\uB429\uB2C8\uB2E4. -lifecyclemodule_withsamename_exists=\uB3D9\uC77C\uD55C \uC774\uB984 {0}\uC744(\uB97C) \uC0AC\uC6A9\uD558\uB294 \uC218\uBA85 \uC8FC\uAE30 \uBAA8\uB4C8\uC774 \uC874\uC7AC\uD569\uB2C8\uB2E4. \uB2E4\uB978 \uC751\uC6A9 \uD504\uB85C\uADF8\uB7A8 \uC774\uB984\uC744 \uC120\uD0DD\uD558\uC2ED\uC2DC\uC624. application_withsamename_exists=\uB3D9\uC77C\uD55C \uC774\uB984 {0}\uC744(\uB97C) \uC0AC\uC6A9\uD558\uB294 \uC751\uC6A9 \uD504\uB85C\uADF8\uB7A8\uC774 \uC874\uC7AC\uD569\uB2C8\uB2E4. \uC218\uBA85 \uC8FC\uAE30 \uBAA8\uB4C8\uC758 \uB2E4\uB978 \uC774\uB984\uC744 \uC120\uD0DD\uD558\uC2ED\uC2DC\uC624. # undeploy.command=\uC560\uD50C\uB9AC\uCF00\uC774\uC158 \uC11C\uBC84\uC5D0\uC11C \uC774\uC804\uC5D0 \uBC30\uCE58\uB41C \uC751\uC6A9 \uD504\uB85C\uADF8\uB7A8\uC758 \uBC30\uCE58\uB97C \uD574\uC81C\uD569\uB2C8\uB2E4. diff --git a/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_pt_BR.properties b/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_pt_BR.properties index c041a81e36f..027cbabd988 100644 --- a/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_pt_BR.properties +++ b/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/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 Usage# deploy.command=Implantar uma aplica\u00E7\u00E3o no servidor de aplica\u00E7\u00F5es @@ -83,7 +84,6 @@ download.errDownloading=Erro ao fazer download dos arquivos gerados download.errFileExists=N\u00E3o foi poss\u00EDvel gerar os arquivos. O arquivo [{0}] j\u00E1 existe. download.errParentFileMissing=N\u00E3o foi poss\u00EDvel gerar os arquivos. O diret\u00F3rio [{0}] n\u00E3o existe. compat.value.not.supported=Advert\u00EAncia: {0} n\u00E3o \u00E9 um valor suportado para a propriedade de compatibilidade. O valor atual suportado para a propriedade \u00E9 v2. Ignorando a propriedade. -lifecyclemodule_withsamename_exists=J\u00E1 existe um m\u00F3dulo de ciclo de vida com o mesmo nome {0}; escolha outro nome para a aplica\u00E7\u00E3o. application_withsamename_exists=J\u00E1 existe uma aplica\u00E7\u00E3o com o mesmo nome {0}; escolha outro nome para o m\u00F3dulo de ciclo de vida. # undeploy.command=Cancelar a implanta\u00E7\u00E3o de uma aplica\u00E7\u00E3o anteriormente implantada com base no servidor de aplica\u00E7\u00F5es diff --git a/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_zh_CN.properties b/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_zh_CN.properties index de24b6568f4..a2c854b6889 100644 --- a/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_zh_CN.properties +++ b/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/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 Usage# deploy.command=\u5C06\u5E94\u7528\u7A0B\u5E8F\u90E8\u7F72\u5230\u5E94\u7528\u7A0B\u5E8F\u670D\u52A1\u5668 @@ -83,7 +84,6 @@ download.errDownloading=\u4E0B\u8F7D\u751F\u6210\u7684\u6587\u4EF6\u65F6\u51FA\u download.errFileExists=\u65E0\u6CD5\u751F\u6210\u6587\u4EF6\u3002\u6587\u4EF6 [{0}] \u5DF2\u5B58\u5728\u3002 download.errParentFileMissing=\u65E0\u6CD5\u751F\u6210\u6587\u4EF6\u3002\u76EE\u5F55 [{0}] \u4E0D\u5B58\u5728\u3002 compat.value.not.supported=\u8B66\u544A: compatibility \u5C5E\u6027\u4E0D\u652F\u6301\u503C{0}\u3002\u8BE5\u5C5E\u6027\u5F53\u524D\u652F\u6301\u7684\u503C\u4E3A v2\u3002\u5FFD\u7565\u8BE5\u5C5E\u6027\u3002 -lifecyclemodule_withsamename_exists=\u5DF2\u5B58\u5728\u5177\u6709\u76F8\u540C\u540D\u79F0{0}\u7684\u751F\u547D\u5468\u671F\u6A21\u5757, \u8BF7\u4E3A\u5E94\u7528\u7A0B\u5E8F\u9009\u62E9\u5176\u4ED6\u540D\u79F0\u3002 application_withsamename_exists=\u5DF2\u5B58\u5728\u5177\u6709\u76F8\u540C\u540D\u79F0{0}\u7684\u5E94\u7528\u7A0B\u5E8F, \u8BF7\u4E3A\u751F\u547D\u5468\u671F\u6A21\u5757\u9009\u62E9\u5176\u4ED6\u540D\u79F0\u3002 # undeploy.command=\u4ECE\u5E94\u7528\u7A0B\u5E8F\u670D\u52A1\u5668\u53D6\u6D88\u90E8\u7F72\u4EE5\u524D\u90E8\u7F72\u7684\u5E94\u7528\u7A0B\u5E8F diff --git a/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_zh_TW.properties b/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_zh_TW.properties index 125988265f1..098b3ca9d95 100644 --- a/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/LocalStrings_zh_TW.properties +++ b/nucleus/deployment/admin-l10n/src/main/resources/org/glassfish/deployment/admin/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 Usage# deploy.command=\u5C07\u61C9\u7528\u7A0B\u5F0F\u5EFA\u7F6E\u81F3\u61C9\u7528\u7A0B\u5F0F\u4F3A\u670D\u5668 @@ -83,7 +84,6 @@ download.errDownloading=\u4E0B\u8F09\u7522\u751F\u7684\u6A94\u6848\u6642\u767C\u download.errFileExists=\u7121\u6CD5\u7522\u751F\u6A94\u6848\u3002\u6A94\u6848 [{0}] \u5DF2\u7D93\u5B58\u5728\u3002 download.errParentFileMissing=\u7121\u6CD5\u7522\u751F\u6A94\u6848\u3002\u76EE\u9304 [{0}] \u4E0D\u5B58\u5728\u3002 compat.value.not.supported=\u8B66\u544A\uFF1A{0} \u4E0D\u662F\u76F8\u5BB9\u6027\u7279\u6027\u6240\u652F\u63F4\u7684\u503C\u3002\u6B64\u7279\u6027\u76EE\u524D\u6240\u652F\u63F4\u7684\u503C\u70BA v2\u3002\u5FFD\u7565\u8A72\u7279\u6027\u3002 -lifecyclemodule_withsamename_exists=\u5DF2\u7D93\u6709\u540D\u7A31\u4E00\u6A23\u70BA {0} \u7684\u751F\u547D\u9031\u671F\u6A21\u7D44\u5B58\u5728. \u8ACB\u70BA\u61C9\u7528\u7A0B\u5F0F\u9078\u64C7\u5176\u4ED6\u540D\u7A31\u3002 application_withsamename_exists=\u5DF2\u7D93\u6709\u540D\u7A31\u4E00\u6A23\u70BA {0} \u7684\u61C9\u7528\u7A0B\u5F0F\u5B58\u5728. \u8ACB\u70BA\u751F\u547D\u9031\u671F\u6A21\u7D44\u9078\u64C7\u5176\u4ED6\u540D\u7A31\u3002 # undeploy.command=\u5F9E\u61C9\u7528\u7A0B\u5F0F\u4F3A\u670D\u5668\u53D6\u6D88\u5EFA\u7F6E\u5148\u524D\u5EFA\u7F6E\u7684\u61C9\u7528\u7A0B\u5F0F diff --git a/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/CreateApplicationRefCommand.java b/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/CreateApplicationRefCommand.java index 25357883301..30764d20018 100644 --- a/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/CreateApplicationRefCommand.java +++ b/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/CreateApplicationRefCommand.java @@ -37,7 +37,8 @@ * only if the new code is made subject to such option by the copyright * holder. */ -// Portions Copyright [2017-2021] [Payara Foundation and/or its affiliates] +// Portions Copyright 2017-2026 Payara Foundation and/or its affiliates + package org.glassfish.deployment.admin; import com.sun.enterprise.admin.util.ClusterOperationUtil; @@ -260,10 +261,6 @@ public void execute(AdminCommandContext context) { } else { Transaction t = new Transaction(); - if (applicationInfo.isLifecycleModule()) { - handleLifecycleModule(context, t); - return; - } ReadableArchive archive; File file = null; @@ -434,45 +431,4 @@ private boolean isDeploymentGroup(String target) { } return isDeploymentGroup; } - - private void handleLifecycleModule(AdminCommandContext context, Transaction t) { - final ActionReport report = context.getActionReport(); - final Logger logger = context.getLogger(); - - Application app = applications.getApplication(name); - - // create a dummy context to hold params and props - DeployCommandParameters commandParams = new DeployCommandParameters(); - commandParams.name = name; - commandParams.target = target; - commandParams.virtualservers = virtualservers; - commandParams.enabled = enabled; - - ExtendedDeploymentContext lifecycleContext = new DeploymentContextImpl(report, null, commandParams, null); - try { - deployment.registerAppInDomainXML(null, lifecycleContext, t, true); - } catch(Exception e) { - report.failure(logger, e.getMessage()); - } - - if (!DeploymentUtils.isDASTarget(target)) { - final ParameterMap paramMap = new ParameterMap(); - paramMap.add("DEFAULT", name); - paramMap.add(DeploymentProperties.TARGET, target); - paramMap.add(DeploymentProperties.ENABLED, enabled.toString()); - if (virtualservers != null) { - paramMap.add(DeploymentProperties.VIRTUAL_SERVERS, - virtualservers); - } - // pass the applicationInfo props so we have the information to persist in the - // domain.xml - Properties appProps = app.getDeployProperties(); - paramMap.set(DeploymentProperties.APP_PROPS, DeploymentUtils.propertiesValue(appProps, ':')); - - final List targets = new ArrayList(); - targets.add(target); - ClusterOperationUtil.replicateCommand("_lifecycle", FailurePolicy.Error, FailurePolicy.Warn, - FailurePolicy.Ignore, targets, context, paramMap, habitat); - } - } } diff --git a/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/CreateLifecycleModuleCommand.java b/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/CreateLifecycleModuleCommand.java deleted file mode 100644 index 170b9b1912c..00000000000 --- a/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/CreateLifecycleModuleCommand.java +++ /dev/null @@ -1,235 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2008-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 [2017-2021] [Payara Foundation and/or its affiliates] - -package org.glassfish.deployment.admin; - -import com.sun.enterprise.config.serverbeans.Application; -import com.sun.enterprise.config.serverbeans.Applications; -import com.sun.enterprise.config.serverbeans.Cluster; -import com.sun.enterprise.util.LocalStringManagerImpl; -import com.sun.enterprise.config.serverbeans.ServerTags; -import com.sun.enterprise.config.serverbeans.Domain; -import com.sun.enterprise.config.serverbeans.Server; -import java.util.ArrayList; -import java.util.Collection; -import org.glassfish.internal.deployment.Deployment; -import org.glassfish.internal.deployment.ExtendedDeploymentContext; -import org.glassfish.api.ActionReport; -import org.glassfish.api.Param; -import org.glassfish.api.I18n; -import org.glassfish.api.deployment.DeployCommandParameters; -import org.glassfish.deployment.common.DeploymentContextImpl; -import org.glassfish.config.support.TargetType; -import org.glassfish.config.support.CommandTarget; -import jakarta.inject.Inject; -import org.jvnet.hk2.annotations.Service; - -import org.glassfish.hk2.api.PerLookup; -import org.jvnet.hk2.config.Transaction; - -import java.util.Properties; -import java.util.List; -import org.glassfish.api.admin.AccessRequired.AccessCheck; -import org.glassfish.api.admin.AdminCommand; -import org.glassfish.api.admin.AdminCommandContext; -import org.glassfish.api.admin.AdminCommandSecurity; -import org.glassfish.api.admin.ExecuteOn; -import org.glassfish.api.admin.RestEndpoint; -import org.glassfish.api.admin.RestEndpoints; -import org.glassfish.api.admin.RestParam; -import org.glassfish.api.admin.RuntimeType; -import org.glassfish.deployment.common.DeploymentUtils; - -/** - * Create lifecycle modules. - * - */ -@Service(name="create-lifecycle-module") -@I18n("create.lifecycle.module") -@ExecuteOn(value={RuntimeType.DAS, RuntimeType.INSTANCE}) -@PerLookup -@TargetType(value={CommandTarget.DOMAIN, CommandTarget.DAS, CommandTarget.STANDALONE_INSTANCE, CommandTarget.CLUSTER, CommandTarget.DEPLOYMENT_GROUP}) -@RestEndpoints({ - @RestEndpoint(configBean=Cluster.class, - opType=RestEndpoint.OpType.POST, - path="create-lifecycle-module", - description="Create Lifecycle Module", - params={ - @RestParam(name="target", value="$parent") - }), - @RestEndpoint(configBean=Server.class, - opType=RestEndpoint.OpType.POST, - path="create-lifecycle-module", - description="Create Lifecycle Module", - params={ - @RestParam(name="target", value="$parent") - }) -}) -public class CreateLifecycleModuleCommand implements AdminCommand, AdminCommandSecurity.AccessCheckProvider { - - @Param(primary=true) - public String name = null; - - @Param(optional=false) - public String classname = null; - - @Param(optional=true) - public String classpath = null; - - @Param(optional=true) - public String loadorder = null; - - @Param(optional=true, defaultValue="false") - public Boolean failurefatal = false; - - @Param(optional=true, defaultValue="true") - public Boolean enabled = true; - - @Param(optional=true) - public String description = null; - - @Param(optional=true) - public String target = "server"; - - @Param(optional=true, separator=':') - public Properties property = null; - - @Inject - Deployment deployment; - - @Inject - Domain domain; - - @Inject - Applications apps; - - final private static LocalStringManagerImpl localStrings = new LocalStringManagerImpl(CreateLifecycleModuleCommand.class); - - @Override - public Collection getAccessChecks() { - final List accessChecks = new ArrayList(); - /* - * One check for the life cycle module itself. - */ - accessChecks.add(new AccessCheck(DeploymentCommandUtils.APPLICATION_RESOURCE_NAME, "create")); - - /* - * One check for the target. - */ - accessChecks.add(new AccessCheck( - DeploymentCommandUtils.getTargetResourceNameForNewAppRef(domain, target), "create")); - return accessChecks; - } - - - public void execute(AdminCommandContext context) { - - ActionReport report = context.getActionReport(); - - try { - validateTarget(target, name); - } catch (IllegalArgumentException ie) { - report.setMessage(ie.getMessage()); - report.setActionExitCode(ActionReport.ExitCode.FAILURE); - return; - } - - DeployCommandParameters commandParams = new DeployCommandParameters(); - commandParams.name = name; - commandParams.enabled = enabled; - commandParams.description = description; - commandParams.target = target; - - // create a dummy context to hold params and props - ExtendedDeploymentContext deploymentContext = new DeploymentContextImpl(report, null, commandParams, null); - - Properties appProps = deploymentContext.getAppProps(); - - if (property!=null) { - appProps.putAll(property); - } - - // set to default "user", deployers can override it - appProps.setProperty(ServerTags.OBJECT_TYPE, "user"); - appProps.setProperty(ServerTags.CLASS_NAME, classname); - if (classpath != null) { - appProps.setProperty(ServerTags.CLASSPATH, classpath); - } - if (loadorder != null) { - appProps.setProperty(ServerTags.LOAD_ORDER, loadorder); - } - appProps.setProperty(ServerTags.IS_FAILURE_FATAL, - failurefatal.toString()); - - appProps.setProperty(ServerTags.IS_LIFECYCLE, "true"); - - try { - Transaction t = deployment.prepareAppConfigChanges(deploymentContext); - deployment.registerAppInDomainXML(null, deploymentContext, t); - } catch(Exception e) { - report.setMessage("Failed to create lifecycle module: " + e); - report.setActionExitCode(ActionReport.ExitCode.FAILURE); - return; - } - - report.setActionExitCode(ActionReport.ExitCode.SUCCESS); - } - - private void validateTarget(String target, String name) { - List referencedTargets = domain.getAllReferencedTargetsForApplication(name); - Application app = apps.getApplication(name); - if (app != null && !app.isLifecycleModule()){ - throw new IllegalArgumentException(localStrings.getLocalString("application_withsamename_exists", "Application with same name {0} already exists, please pick a different name for the lifecycle module.", name)); - } - if (referencedTargets.isEmpty()) { - if (deployment.isRegistered(name)) { - throw new IllegalArgumentException(localStrings.getLocalString("lifecycle.use.create_app_ref_2", "Lifecycle module {0} is already created in this domain. Please use create application ref to create application reference on target {1}", name, target)); - } - } else { - if (referencedTargets.contains(target)) { - throw new IllegalArgumentException(localStrings.getLocalString("lifecycle.alreadyreg", "Lifecycle module {0} is already created on this target {1}", name, target)); - } else { - throw new IllegalArgumentException(localStrings.getLocalString("lifecycle.use.create_app_ref", "Lifecycle module {0} is already referenced by other target(s). Please use create application ref to create application reference on target {1}", name, target)); - } - } - } -} diff --git a/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/DeleteApplicationRefCommand.java b/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/DeleteApplicationRefCommand.java index f25ae60124d..26f1d2cccf4 100644 --- a/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/DeleteApplicationRefCommand.java +++ b/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/DeleteApplicationRefCommand.java @@ -37,7 +37,8 @@ * only if the new code is made subject to such option by the copyright * holder. */ -// Portions Copyright 2017-2023 [Payara Foundation and/or its affiliates] +// Portions Copyright 2017-2026 Payara Foundation and/or its affiliates + package org.glassfish.deployment.admin; import com.sun.enterprise.admin.util.ClusterOperationUtil; @@ -221,15 +222,6 @@ public void execute(AdminCommandContext context) { return; } - if (application.isLifecycleModule()) { - try { - deployment.unregisterAppFromDomainXML(appName, target, true); - } catch(Exception e) { - report.failure(logger, e.getMessage()); - } - return; - } - try { ReadableArchive source = null; ApplicationInfo appInfo = deployment.get(appName); diff --git a/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/DeleteLifecycleModuleCommand.java b/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/DeleteLifecycleModuleCommand.java deleted file mode 100644 index 128be45e4ec..00000000000 --- a/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/DeleteLifecycleModuleCommand.java +++ /dev/null @@ -1,198 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2008-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 [2017-2021] [Payara Foundation and/or its affiliates] - -package org.glassfish.deployment.admin; - -import com.sun.enterprise.util.LocalStringManagerImpl; -import java.util.ArrayList; -import org.glassfish.deployment.common.DeploymentUtils; -import org.glassfish.api.ActionReport; -import org.glassfish.api.Param; -import org.glassfish.api.I18n; -import org.glassfish.internal.deployment.Deployment; -import com.sun.enterprise.config.serverbeans.ApplicationRef; -import com.sun.enterprise.config.serverbeans.Domain; -import com.sun.enterprise.admin.util.ClusterOperationUtil; -import com.sun.enterprise.config.serverbeans.Cluster; -import com.sun.enterprise.config.serverbeans.Server; -import java.util.Collection; -import org.glassfish.common.util.admin.ParameterMapExtractor; -import org.glassfish.config.support.TargetType; -import org.glassfish.config.support.CommandTarget; -import jakarta.inject.Inject; -import org.jvnet.hk2.annotations.Service; - -import org.glassfish.hk2.api.PerLookup; -import org.glassfish.hk2.api.ServiceLocator; - -import java.util.logging.Logger; -import java.util.Collections; -import java.util.List; -import org.glassfish.api.admin.AccessRequired.AccessCheck; -import org.glassfish.api.admin.AdminCommand; -import org.glassfish.api.admin.AdminCommandContext; -import org.glassfish.api.admin.AdminCommandSecurity; -import org.glassfish.api.admin.ExecuteOn; -import org.glassfish.api.admin.FailurePolicy; -import org.glassfish.api.admin.ParameterMap; -import org.glassfish.api.admin.RestEndpoint; -import org.glassfish.api.admin.RestEndpoints; -import org.glassfish.api.admin.RestParam; -import org.glassfish.api.admin.RuntimeType; -import org.glassfish.api.admin.ServerEnvironment; - -/** - * Delete lifecycle modules. - * - */ -@Service(name="delete-lifecycle-module") -@I18n("delete.lifecycle.module") -@PerLookup -@ExecuteOn(value={RuntimeType.DAS, RuntimeType.INSTANCE}) -@TargetType(value={CommandTarget.DOMAIN, CommandTarget.DAS, CommandTarget.STANDALONE_INSTANCE, CommandTarget.CLUSTER, CommandTarget.DEPLOYMENT_GROUP}) -@RestEndpoints({ - @RestEndpoint(configBean=Cluster.class, - opType=RestEndpoint.OpType.DELETE, - path="delete-lifecycle-module", - description="Delete Lifecycle Module", - params={ - @RestParam(name="target", value="$parent") - }), - @RestEndpoint(configBean=Server.class, - opType=RestEndpoint.OpType.DELETE, - path="delete-lifecycle-module", - description="Delete Lifecycle Module", - params={ - @RestParam(name="target", value="$parent") - }) -}) -public class DeleteLifecycleModuleCommand implements AdminCommand, AdminCommandSecurity.AccessCheckProvider { - - @Param(primary=true) - public String name = null; - - @Param(optional=true) - public String target = "server"; - - @Inject - Deployment deployment; - - @Inject - Domain domain; - - @Inject - ServerEnvironment env; - - @Inject - ServiceLocator habitat; - - private List targets = null; - - final private static LocalStringManagerImpl localStrings = new LocalStringManagerImpl(DeleteLifecycleModuleCommand.class); - - @Override - public Collection getAccessChecks() { - final List accessChecks = new ArrayList(); - if (env.isDas() && DeploymentUtils.isDomainTarget(target)) { - targets = domain.getAllReferencedTargetsForApplication(name); - for (String t : targets) { - final String resourceName = DeploymentCommandUtils.getTargetResourceNameForExistingAppRef(domain, t, name); - if (resourceName != null) { - accessChecks.add(new AccessCheck(resourceName, "delete")); - } - } - } else { - final String resourceName = DeploymentCommandUtils.getTargetResourceNameForExistingAppRef(domain, target, name); - if (resourceName != null) { - accessChecks.add(new AccessCheck(resourceName, "delete")); - } - } - return accessChecks; - } - - public void execute(AdminCommandContext context) { - - ActionReport report = context.getActionReport(); - final Logger logger = context.getLogger(); - - if (!deployment.isRegistered(name)) { - report.setMessage(localStrings.getLocalString("lifecycle.notreg","Lifecycle module {0} not registered", name)); - report.setActionExitCode(ActionReport.ExitCode.FAILURE); - return; - } - - if (!DeploymentUtils.isDomainTarget(target)) { - ApplicationRef ref = domain.getApplicationRefInTarget(name, target); - if (ref == null) { - report.setMessage(localStrings.getLocalString("lifecycle.not.referenced.target","Lifecycle module {0} is not referenced by target {1}", name, target)); - report.setActionExitCode(ActionReport.ExitCode.FAILURE); - return; - } - } - - deployment.validateUndeploymentTarget(target, name); - - if (env.isDas() && DeploymentUtils.isDomainTarget(target)) { - // replicate command to all referenced targets - try { - ParameterMapExtractor extractor = new ParameterMapExtractor(this); - ParameterMap paramMap = extractor.extract(Collections.EMPTY_LIST); - paramMap.set("DEFAULT", name); - - ClusterOperationUtil.replicateCommand("delete-lifecycle-module", FailurePolicy.Error, - FailurePolicy.Ignore, FailurePolicy.Warn, targets, context, paramMap, habitat); - } catch (Exception e) { - report.failure(logger, e.getMessage()); - return; - } - } - - try { - deployment.unregisterAppFromDomainXML(name, target); - } catch(Exception e) { - report.setMessage("Failed to delete lifecycle module: " + e); - report.setActionExitCode(ActionReport.ExitCode.FAILURE); - } - - report.setActionExitCode(ActionReport.ExitCode.SUCCESS); - } -} diff --git a/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/DeployCommand.java b/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/DeployCommand.java index 890a308d741..5e4e3aa925a 100644 --- a/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/DeployCommand.java +++ b/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/DeployCommand.java @@ -37,7 +37,7 @@ * only if the new code is made subject to such option by the copyright * holder. */ -// Portions Copyright 2016-2024 Payara Foundation and/or its affiliates +// Portions Copyright 2016-2026 Payara Foundation and/or its affiliates package org.glassfish.deployment.admin; @@ -789,9 +789,6 @@ private Properties handleRedeploy(final String name, final ActionReport report, if (isredeploy) { //preserve settings first before undeploy Application app = apps.getModule(Application.class, name); - if (app.isLifecycleModule()) { - throw new IllegalArgumentException(localStrings.getLocalString("lifecyclemodule_withsamename_exists", "Lifecycle module with same name {0} already exists, please pick a different name for the application. ", name)); - } // we save some of the old registration information in our deployment parameters settingsFromDomainXML(app); diff --git a/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/InstanceLifecycleModuleCommand.java b/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/InstanceLifecycleModuleCommand.java deleted file mode 100644 index 351e17cc74e..00000000000 --- a/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/InstanceLifecycleModuleCommand.java +++ /dev/null @@ -1,155 +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 org.glassfish.deployment.admin; - -import org.glassfish.api.admin.AdminCommand; -import org.glassfish.api.admin.AdminCommandContext; -import org.glassfish.api.Param; -import org.glassfish.api.admin.ExecuteOn; -import org.glassfish.api.admin.RuntimeType; -import org.glassfish.api.ActionReport; -import org.glassfish.api.deployment.DeployCommandParameters; -import org.glassfish.internal.deployment.Deployment; -import org.glassfish.internal.deployment.ExtendedDeploymentContext; -import org.glassfish.deployment.common.DeploymentContextImpl; -import org.jvnet.hk2.annotations.Service; -import jakarta.inject.Inject; - -import org.glassfish.hk2.api.PerLookup; -import org.jvnet.hk2.config.Transaction; - -import com.sun.enterprise.util.LocalStringManagerImpl; -import com.sun.enterprise.config.serverbeans.Applications; -import com.sun.enterprise.config.serverbeans.Application; -import com.sun.enterprise.config.serverbeans.Domain; -import java.util.ArrayList; -import java.util.Collection; -import java.util.List; - -import java.util.logging.Logger; -import java.util.Properties; -import org.glassfish.api.admin.AccessRequired.AccessCheck; -import org.glassfish.api.admin.AdminCommandSecurity; -import org.glassfish.api.admin.RestEndpoint; -import org.glassfish.api.admin.RestEndpoints; - -/** - * The command to create application ref for lifecycle module on instance - */ -@Service(name="_lifecycle") -@PerLookup -@ExecuteOn(value={RuntimeType.INSTANCE}) -@RestEndpoints({ - @RestEndpoint(configBean=Domain.class, - opType=RestEndpoint.OpType.POST, - path="_lifecycle", - description="_lifecycle") -}) -public class InstanceLifecycleModuleCommand implements AdminCommand, AdminCommandSecurity.AccessCheckProvider { - - final private static LocalStringManagerImpl localStrings = new LocalStringManagerImpl(InstanceLifecycleModuleCommand.class); - - @Param(primary=true) - public String name = null; - - @Param(optional=true) - public String target = "server"; - - @Param(optional=true) - public String virtualservers = null; - - @Param(optional=true, defaultValue="true") - public Boolean enabled = true; - - @Param(separator=':') - public Properties appprops = null; - - @Inject - Deployment deployment; - - @Inject - Applications applications; - - @Inject - private Domain domain; - - @Override - public Collection getAccessChecks() { - final List accessChecks = new ArrayList(); - accessChecks.add(new AccessCheck(DeploymentCommandUtils.getTargetResourceNameForNewAppRef(domain, target), "write")); - return accessChecks; - } - - - - @Override - public void execute(AdminCommandContext context) { - final ActionReport report = context.getActionReport(); - final Logger logger = context.getLogger(); - - try { - Application application = applications.getApplication(name); - Transaction t = new Transaction(); - - // create a dummy context to hold params and props - DeployCommandParameters commandParams = new DeployCommandParameters(); - commandParams.name = name; - commandParams.target = target; - commandParams.enabled = enabled; - commandParams.virtualservers = virtualservers; - - ExtendedDeploymentContext lifecycleContext = new DeploymentContextImpl(report, null, commandParams, null); - lifecycleContext.getAppProps().putAll(appprops); - - if (application != null) { - // application element already been synchronized over - // just write application-ref - deployment.registerAppInDomainXML(null, lifecycleContext, t, true); - } else { - // write both - t = deployment.prepareAppConfigChanges(lifecycleContext); - deployment.registerAppInDomainXML(null, lifecycleContext, t); - } - } catch(Exception e) { - report.failure(logger, e.getMessage()); - } - } -} diff --git a/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/ListComponentsCommand.java b/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/ListComponentsCommand.java index 3c4f37d548a..afdd23c95bb 100644 --- a/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/ListComponentsCommand.java +++ b/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/ListComponentsCommand.java @@ -37,7 +37,7 @@ * only if the new code is made subject to such option by the copyright * holder. */ -// Portions Copyright [2017-2021] [Payara Foundation and/or its affiliates] +// Portions Copyright 2017-2026 Payara Foundation and/or its affiliates package org.glassfish.deployment.admin; @@ -135,11 +135,9 @@ public Collection getAccessChecks() { * apps, require read access to each app to be displayed. */ for (Application app : domain.getApplicationsInTarget(target)) { - if (!app.isLifecycleModule()) { - if (type == null || isApplicationOfThisType(app, type)) { - apps.add(app); - accessChecks.add(new AccessCheck(AccessRequired.Util.resourceNameFromConfigBeanProxy(app), "read")); - } + if (type == null || isApplicationOfThisType(app, type)) { + apps.add(app); + accessChecks.add(new AccessCheck(AccessRequired.Util.resourceNameFromConfigBeanProxy(app), "read")); } } return accessChecks; diff --git a/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/ListLifecycleModulesCommand.java b/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/ListLifecycleModulesCommand.java deleted file mode 100644 index 96b8681e4f0..00000000000 --- a/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/ListLifecycleModulesCommand.java +++ /dev/null @@ -1,135 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) 2008-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.deployment.admin; - -import com.sun.enterprise.util.LocalStringManagerImpl; -import com.sun.enterprise.config.serverbeans.Application; -import com.sun.enterprise.config.serverbeans.Cluster; -import com.sun.enterprise.config.serverbeans.Domain; -import com.sun.enterprise.config.serverbeans.Server; -import java.util.ArrayList; -import java.util.Collection; -import java.util.List; -import org.glassfish.api.ActionReport; -import org.glassfish.api.Param; -import org.glassfish.api.I18n; -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.RestEndpoint; -import org.glassfish.api.admin.RestEndpoints; -import org.glassfish.api.admin.RestParam; -import org.glassfish.api.admin.RuntimeType; -import org.glassfish.config.support.TargetType; -import org.glassfish.config.support.CommandTarget; -import org.jvnet.hk2.annotations.Service; - -import jakarta.inject.Inject; -import org.glassfish.api.admin.AccessRequired; -import org.glassfish.hk2.api.PerLookup; - - -/** - * List lifecycle modules. - * - */ -@Service(name="list-lifecycle-modules") -@I18n("list.lifecycle.modules") -@PerLookup -@CommandLock(CommandLock.LockType.NONE) -@ExecuteOn(value={RuntimeType.DAS}) -@TargetType(value={CommandTarget.DOMAIN, CommandTarget.DAS, CommandTarget.STANDALONE_INSTANCE, CommandTarget.CLUSTER}) -@RestEndpoints({ - @RestEndpoint(configBean=Cluster.class, - opType=RestEndpoint.OpType.GET, - path="list-lifecycle-modules", - description="List Lifecycle Modules", - params={ - @RestParam(name="target", value="$parent") - }), - @RestEndpoint(configBean=Domain.class, - opType=RestEndpoint.OpType.GET, - path="list-lifecycle-modules", - description="List Lifecycle Modules"), - @RestEndpoint(configBean=Server.class, - opType=RestEndpoint.OpType.GET, - path="list-lifecycle-modules", - description="List Lifecycle Modules", - params={ - @RestParam(name="target", value="$parent") - }) -}) -@AccessRequired(resource=DeploymentCommandUtils.APPLICATION_RESOURCE_NAME, action="read") -public class ListLifecycleModulesCommand implements AdminCommand { - - @Param(primary=true, optional=true) - public String target = "server"; - - @Param(optional=true, defaultValue="false", shortName="t") - public Boolean terse = false; - - @Inject - Domain domain; - - final private static LocalStringManagerImpl localStrings = new LocalStringManagerImpl(ListLifecycleModulesCommand.class); - - public void execute(AdminCommandContext context) { - - ActionReport report = context.getActionReport(); - ActionReport.MessagePart part = report.getTopMessagePart(); - - boolean found = false; - for (Application app : domain.getApplicationsInTarget(target)) { - if (app.isLifecycleModule()) { - ActionReport.MessagePart childPart = part.addChild(); - childPart.setMessage(app.getName()); - found = true; - } - } - - if (!found && !terse) { - part.setMessage(localStrings.getLocalString("list.components.no.elements.to.list", "Nothing to List.")); - } - - report.setActionExitCode(ActionReport.ExitCode.SUCCESS); - } -} diff --git a/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/LocalStrings.properties b/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/LocalStrings.properties index a2fce0139e2..4e673894d6b 100644 --- a/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/LocalStrings.properties +++ b/nucleus/deployment/admin/src/main/java/org/glassfish/deployment/admin/LocalStrings.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 Usage# deploy.command=Deploy an application to the application server @@ -83,9 +84,6 @@ download.errDownloading=Error while downloading generated files download.errFileExists=Unable to generate files. File [{0}] already exists. download.errParentFileMissing=Unable to generate files. Directory [{0}] does not exist. compat.value.not.supported=Warning: {0} is not a supported value for compatibility property. The current supported value for the property is v2. Ignoring the property. -lifecyclemodule_withsamename_exists=Lifecycle module with same name {0} already exists, please pick a different name for the application. -application_withsamename_exists=Application with same name {0} already exists, please pick a different name for the lifecycle module. -# undeploy.command=Undeploy a previously deployed application from the application server undeploy.command.usagetext=undeploy\n\t[--target[=]]\n\t[--droptables[=]]\n\t[--cascade[=]]\n\t[-?|--help[=]] name undeploy.command.name=Name of the deployed application @@ -140,12 +138,7 @@ component.status=Status of {0} is {1}. application.namespace.transform.failed=Application namespace transformation failed application.alreadyreg=Application with name [{0}] is already deployed application.notreg=Application with name [{0}] is not deployed -lifecycle.alreadyreg=Lifecycle module {0} is already created on this target {1} -lifecycle.use.create_app_ref_2=Lifecycle module {0} is already created in this domain. Please use create application ref to create application reference on target {1} -use.create_app_ref=Lifecycle module {0} is already referenced by other target(s). Please use create application ref to create application reference on target {1} -lifecycle.notreg=Lifecycle module with name [{0}] does not exist ref.not.referenced.target=Application {0} is not deployed on this target [{1}] -lifecycle.not.referenced.target=Lifecycle module {0} is not deployed on this target [{1}] virtualservers=List of virtual servers to apply the command to fnf=File not found : {0} fnr=File {0} does not have read permission diff --git a/nucleus/deployment/admin/src/main/manpages/org/glassfish/deployment/admin/create-application-ref.1 b/nucleus/deployment/admin/src/main/manpages/org/glassfish/deployment/admin/create-application-ref.1 index 52c517ab321..d1b534c7795 100644 --- a/nucleus/deployment/admin/src/main/manpages/org/glassfish/deployment/admin/create-application-ref.1 +++ b/nucleus/deployment/admin/src/main/manpages/org/glassfish/deployment/admin/create-application-ref.1 @@ -61,8 +61,8 @@ OPTIONS OPERANDS reference_name The name of the application or module, which can be a Java EE - application, Web module, EJB module, connector module, application - client module, or lifecycle module. + application, Web module, EJB module, connector module or application + client module. The name can include an optional version identifier, which follows the name and is separated from the name by a colon (:). The version diff --git a/nucleus/deployment/admin/src/main/manpages/org/glassfish/deployment/admin/create-lifecycle-module.1 b/nucleus/deployment/admin/src/main/manpages/org/glassfish/deployment/admin/create-lifecycle-module.1 deleted file mode 100644 index 4e7ba66bf12..00000000000 --- a/nucleus/deployment/admin/src/main/manpages/org/glassfish/deployment/admin/create-lifecycle-module.1 +++ /dev/null @@ -1,107 +0,0 @@ -create-lifecycle-module(1) asadmin Utility Subcommands create-lifecycle-module(1) - -NAME - create-lifecycle-module - creates a lifecycle module - -SYNOPSIS - create-lifecycle-module [--help] --classname classname - [--enabled={true|false}] [--target target] - [--classpath classpath] [--loadorder loadorder] - [--failurefatal={false|true} ] [--description description] - [--property (name=value)[:name=value]*] - module_name - -DESCRIPTION - The create-lifecycle-module subcommand creates a lifecycle module. A - lifecycle module provides a means of running a short or long duration - Java-based task at a specific stage in the server life cycle. This - subcommand is supported in remote mode only. - -OPTIONS - --help, -? - Displays the help text for the subcommand. - - --classname - This is the fully qualified name of the startup class. - - --target - Indicates the location where the lifecycle module is to be created. - Valid values are - - * server- Specifies the default server instance as the target for - creating the lifecycle module. server is the name of the - default server instance and is the default value for this - option. - - * cluster_name- Specifies a particular cluster as the target for - creating the lifecycle module. - - * instance_name- Specifies a particular stand-alone server - instance as the target for creating the lifecycle module. - - --classpath - This option indicates where the lifecycle module is located. It is - a classpath with the standard format: either colon-separated (Unix) - or semicolon-separated (Windows) JAR files and directories. The - referenced JAR files and directories are not uploaded to the server - instance. - - --loadorder - This option represents an integer value that can be used to force - the order in which deployed lifecycle modules are loaded at server - startup. Smaller numbered modules are loaded sooner. Order is - unspecified if two or more lifecycle modules have the same - load-order value. The default is Integer.MAX_VALUE, which means the - lifecycle module is loaded last. - - --failurefatal - This option tells the system what to do if the lifecycle module - does not load correctly. When this option is set to true, the - system aborts the server startup if this module does not load - properly. The default value is false. - - --enabled - This option determines whether the lifecycle module is enabled at - runtime. The default value is true. - - --description - This is the text description of the lifecycle module. - - --property - This is an optional attribute containing name/value pairs used to - configure the lifecycle module. - -OPERANDS - module_name - This operand is a unique identifier for the deployed server - lifecycle event listener module. - -EXAMPLES - Example 1, Creating a Lifecycle Module - The following example creates a lifecycle module named customSetup. - - asadmin> create-lifecycle-module --classname "com.acme.CustomSetup" - --classpath "/export/customSetup" --loadorder 1 --failurefatal=true - --description "this is a sample customSetup" - --property rmi="Server\=acme1\:7070":timeout=30 customSetup - Command create-lifecycle-module executed successfully - The escape character \ is used in the property option to specify - that the equal sign (=) and colon (:) are part of the rmi property - value. - -EXIT STATUS - 0 - command executed successfully - - 1 - error in executing the command - -SEE ALSO - delete-lifecycle-module(1), list-lifecycle-modules(1) - - asadmin(1M) - - "Developing Lifecycle Listeners" in Oracle GlassFish Server Application - Development Guide - -Java EE 8 09 Aug 2017 create-lifecycle-module(1) diff --git a/nucleus/deployment/admin/src/main/manpages/org/glassfish/deployment/admin/delete-application-ref.1 b/nucleus/deployment/admin/src/main/manpages/org/glassfish/deployment/admin/delete-application-ref.1 index fc42fdc5e0e..a93c3344113 100644 --- a/nucleus/deployment/admin/src/main/manpages/org/glassfish/deployment/admin/delete-application-ref.1 +++ b/nucleus/deployment/admin/src/main/manpages/org/glassfish/deployment/admin/delete-application-ref.1 @@ -49,8 +49,8 @@ OPTIONS OPERANDS reference_name The name of the application or module, which can be a Java EE - application module, Web module, EJB module, connector module, - application client module, or lifecycle module. + application module, Web module, EJB module, connector module or + application client module. The name can include an optional version identifier, which follows the name and is separated from the name by a colon (:). The version diff --git a/nucleus/deployment/admin/src/main/manpages/org/glassfish/deployment/admin/delete-lifecycle-module.1 b/nucleus/deployment/admin/src/main/manpages/org/glassfish/deployment/admin/delete-lifecycle-module.1 deleted file mode 100644 index bade38f7e3c..00000000000 --- a/nucleus/deployment/admin/src/main/manpages/org/glassfish/deployment/admin/delete-lifecycle-module.1 +++ /dev/null @@ -1,58 +0,0 @@ -delete-lifecycle-module(1) asadmin Utility Subcommands delete-lifecycle-module(1) - -NAME - delete-lifecycle-module - removes the lifecycle module - -SYNOPSIS - delete-lifecycle-module [--help] [--target target] module_name - -DESCRIPTION - The delete-lifecycle-module subcommand removes a lifecycle module. A - lifecycle module provides a means of running a short or long duration - Java-based task at a specific stage in the server life cycle. This - subcommand is supported in remote mode only. - -OPTIONS - --help, -? - Displays the help text for the subcommand. - - --target - Indicates the location where the lifecycle module is to be deleted. - Valid values are - - * server- Specifies the default server instance as the target for - deleting the lifecycle module. server is the name of the - default server instance and is the default value for this - option. - - * cluster_name- Specifies a particular cluster as the target for - deleting the lifecycle module. - - * instance_name- Specifies a particular server instance as the - target for deleting the lifecycle module. - -OPERANDS - module_name - This operand is a unique identifier for the deployed server - lifecycle event listener module. - -EXAMPLES - Example 1, Deleting a Lifecycle Module - The following example deletes a lifecycle module named customSetup. - - asadmin> delete-lifecycle-module customSetup - Command delete-lifecycle-module executed successfully - -EXIT STATUS - 0 - command executed successfully - - 1 - error in executing the command - -SEE ALSO - create-lifecycle-module(1), list-lifecycle-modules(1) - - asadmin(1M) - -Java EE 8 09 Aug 2017 delete-lifecycle-module(1) diff --git a/nucleus/deployment/admin/src/main/manpages/org/glassfish/deployment/admin/list-lifecycle-modules.1 b/nucleus/deployment/admin/src/main/manpages/org/glassfish/deployment/admin/list-lifecycle-modules.1 deleted file mode 100644 index 5f272571469..00000000000 --- a/nucleus/deployment/admin/src/main/manpages/org/glassfish/deployment/admin/list-lifecycle-modules.1 +++ /dev/null @@ -1,55 +0,0 @@ -list-lifecycle-modules(1) asadmin Utility Subcommands list-lifecycle-modules(1) - -NAME - list-lifecycle-modules - lists the lifecycle modules - -SYNOPSIS - list-lifecycle-modules [--help] [target] - -DESCRIPTION - The list-lifecycle-modules subcommand lists lifecycle modules. A - lifecycle module provides a means of running a short or long duration - Java-based task at a specific stage in the server life cycle. This - subcommand is supported in remote mode only. - -OPTIONS - --help, -? - Displays the help text for the subcommand. - -OPERANDS - target - Indicates the location where lifecycle modules are to be listed. - Valid values are - - * server- Specifies the default server instance as the target for - listing lifecycle modules. server is the name of the default - server instance and is the default value for this operand. - - * cluster_name- Specifies a particular cluster as the target for - listing lifecycle modules. - - * instance_name- Specifies a particular server instance as the - target for listing lifecycle modules. - -EXAMPLES - Example 1, Listing Lifecycle Modules - - asadmin> list-lifecycle-modules - WSTCPConnectorLCModule - Command list-lifecycle-modules executed successfully - WSTCPConnectorLCModule is the only lifecycle module listed for the - default target, server. - -EXIT STATUS - 0 - command executed successfully - - 1 - error in executing the command - -SEE ALSO - create-lifecycle-module(1), delete-lifecycle-module(1) - - asadmin(1M) - -Java EE 8 09 Aug 2017 list-lifecycle-modules(1) diff --git a/nucleus/deployment/admin/src/test/java/org/glassfish/deployment/admin/ListComponentsCommandTest.java b/nucleus/deployment/admin/src/test/java/org/glassfish/deployment/admin/ListComponentsCommandTest.java index 645bd651f25..04f29cc47da 100644 --- a/nucleus/deployment/admin/src/test/java/org/glassfish/deployment/admin/ListComponentsCommandTest.java +++ b/nucleus/deployment/admin/src/test/java/org/glassfish/deployment/admin/ListComponentsCommandTest.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 its affiliates] +// Portions Copyright 2017-2026 Payara Foundation and/or its affiliates package org.glassfish.deployment.admin; @@ -280,7 +280,6 @@ public Property removeProperty(Property property) { public Module getModule(String moduleName) {return null;} public boolean isStandaloneModule() {return false;} - public boolean isLifecycleModule() {return false;} public boolean containsSnifferType(String snifferType) {return false;} public List getModule() { return modules; diff --git a/nucleus/deployment/common/src/main/java/org/glassfish/deployment/versioning/VersioningService.java b/nucleus/deployment/common/src/main/java/org/glassfish/deployment/versioning/VersioningService.java index 48394257b4d..aae93246bf2 100644 --- a/nucleus/deployment/common/src/main/java/org/glassfish/deployment/versioning/VersioningService.java +++ b/nucleus/deployment/common/src/main/java/org/glassfish/deployment/versioning/VersioningService.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.deployment.versioning; @@ -309,9 +310,6 @@ public String getVersionFromSameDir(File dir) // check if directory deployment exist while ( it.hasNext() ) { app = (Application) it.next(); - /* - * A lifecycle module appears as an application but has a null location. - */ if (dir.toURI().toString().equals(app.getLocation())) { if(!VersioningUtils.getUntaggedName(app.getName()).equals(app.getName())){ return app.getName(); diff --git a/nucleus/deployment/common/src/test/java/org/glassfish/deployment/versioning/VersioningUtilsTest.java b/nucleus/deployment/common/src/test/java/org/glassfish/deployment/versioning/VersioningUtilsTest.java index 54a7a8c01e7..eebcde77be2 100644 --- a/nucleus/deployment/common/src/test/java/org/glassfish/deployment/versioning/VersioningUtilsTest.java +++ b/nucleus/deployment/common/src/test/java/org/glassfish/deployment/versioning/VersioningUtilsTest.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 its affiliates] +// Portions Copyright 2017-2026 Payara Foundation and/or its affiliates package org.glassfish.deployment.versioning; @@ -748,10 +748,6 @@ public boolean isStandaloneModule() { throw new UnsupportedOperationException("Not supported yet."); } - @Override - public boolean isLifecycleModule() { - throw new UnsupportedOperationException("Not supported yet."); - } @Override public boolean containsSnifferType(String snifferType) { diff --git a/nucleus/deployment/dtds/src/main/resources/lib/dtds/sun-server_1_0.dtd b/nucleus/deployment/dtds/src/main/resources/lib/dtds/sun-server_1_0.dtd index d773aa1d843..bb226e44a0c 100644 --- a/nucleus/deployment/dtds/src/main/resources/lib/dtds/sun-server_1_0.dtd +++ b/nucleus/deployment/dtds/src/main/resources/lib/dtds/sun-server_1_0.dtd @@ -33,7 +33,7 @@ only if the new code is made subject to such option by the copyright holder. --> - + @@ -949,34 +949,10 @@ For the default file provider, the param used is: filename. file at every module and application directory level to trigger reload. polling frequency is controlled by reload-poll-interval-in-seconds --> - - - - newCluster = new HashMap() { - { - put("id", clusterName); - } - }; - - Response response = post(URL_CLUSTER, newCluster); - checkStatusForSuccess(response); - - response = get(URL_CLUSTER + "/" + clusterName + "/list-lifecycle-modules"); - checkStatusForSuccess(response); - - response = delete(URL_CLUSTER + "/" + clusterName); // + "/delete-cluster"); - checkStatusForSuccess(response); - - response = get(URL_CLUSTER + "/" + clusterName); - checkStatusForFailure(response); - - } public String createCluster() { final String clusterName = "cluster_" + generateRandomString();