分类:
2010-08-27 09:26:26
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
-Dcom.sun.enterprise.tools.admingui.NO_NETWORK=true
%GLASSFISH_HOME/glassfish/modules/console-updatecenter-plugin.jarDelete this dir:
%GLASSFISH_HOME/glassfish/domains/domain1/osgi-cache
%GLASSFISH_HOME/glassfish/domains/domain1/generated