GlassFish V3 admin console taking too much time to load.
If you have installed Glassfish V3 and trying to load admin console, but after signing in, is it taking too much time to get to the main page ? Do you have server.log entry like this:
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
This will block up the News item, the registration item, etc
2. Remove update tool jar
(Backup and remove this JAR)
Delete this dir:
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.