Wednesday 6 July 2011

Login faster to Glassfish console

Adding JVM option and deleting the %GLASSFISH_HOME/glassfish/modules/console-updatecenter-plugin.jar
and glassfish console login will be very fast.

Steps:
1. Update the %GLASSFISH_HOME/glassfish/domains/domain1/domain.xml

-Dcom.sun.enterprise.tools.admingui.NO_NETWORK=true

This will block up the News item, the registration item, etc

2. Remove update tool jar
(Backup and remove this JAR)
%GLASSFISH_HOME/glassfish/modules/console-updatecenter-plugin.jar

Delete this dir: (Optional)
%GLASSFISH_HOME/glassfish/domains/domain1/osgi-cache
%GLASSFISH_HOME/glassfish/domains/domain1/generated

Now start the server (bin/asadmin start-domain) and you will see the admin console won't be hang up and take you directly to main page.

Reference: http://techmythoughts.blogspot.com/2010/08/glassfish-v3-admin-console-taking-too.html

No comments:

Post a Comment