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:
then its time to tweak some files. Here its how:
1. Update the %GLASSFISH_HOME/glassfish/domains/domain1/domain.xml
2. Remove update tool jar
(Backup and remove this JAR)
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.
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-Dcom.sun.enterprise.tools.admingui.NO_NETWORK=true
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.
Comments
Perfect answer man I too sometime faced the issue and google it but can not find correct answer.
Thanks
javin
FIX Protocol tutorial
steps given by u are really working.
It,s really helpful.After searching lot on google my search ends here
This is perfect! It took me a whole day to fix this, to no avail.
Thanks,
Its really worked for me as well.
Monika
its working man!
i found it very useful