GlassFish V3 admin console taking too much time to load.
admin console: initSessionAttributes()
Cannot refresh Catalog : Connection timed out
then its time to tweak some files. Here its how:
1. Update the %GLASSFISH_HOME/glassfish/domains/domain1/domain.xml
- <java-config>
- <jvm-options>-Dcom.sun.enterprise.tools.admingui.NO_NETWORK=truejvm-options>
- java-config>
2. Remove update tool jar
(Backup and remove this JAR)
%GLASSFISH_HOME/glassfish/modules/console-updatecenter-plugin.jarDelete this dir:
%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.
copy from:
http://techmythoughts.blogspot.com/2010/08/glassfish-v3-admin-console-taking-too.html