Posted in Uncategorized

GlassFish V3 admin console taking too much time to load

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

  1. <java-config>
  2. <jvm-options>-Dcom.sun.enterprise.tools.admingui.NO_NETWORK=true<!–jvm-options>
  3. <!–java-config>

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:

%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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s