glassfishglassfish-3asadmin

GlassFish - Admin console deploy at startup


This is a simple question: is there a way to tell GlassFish to load & deploy admin console during startup and not on-demand?


Solution

  • In the admin console, go to the "Domain"view. There a checkbox labeled Load console after DAS startup. Make sure it's checked. Don't forget to save, now the admin console will be loaded automatically instead of on the first access.

    You can also use the asadmin utility to change this setting:

    asadmin set configs.config.server-config.admin-service.property.adminConsoleStartup=ALWAYS