Thursday, January 13, 2011

Glassfish Admin Console -- Problem Loading Page

Today I installed Glassfish v3 and when I tried to go to the administrative console all I went get would be a message stating that the admin console was initializing and then it would just show a gray bar at the top with a blue background.   At the same time I found the following log within my server.log file (D:\glassfish\glassfishv3\glassfish\domains\domain1\logs\server.log)

[#|2011-01-13T12:14:44.036-0600|INFO|glassfish3.0.1||_ThreadID=27;_ThreadName=Thread-1;|Cannot refresh Catalog : Connection timed out: connect|#]

It turns out that the admin console tries to call out to the internet on startup and ends up timing out when it cannot get to the internet.  For those of us who work for companies that implemented proxies this can be a bit problematic.  Luckily after doing some searching online I found some links that helped me solve the problem.  The most useful was from Stackoverflow which provided the solution (run
./asadmin create-jvm-options 

Please note that the asadmin file can be found within the bin directory of your root Glassfish installation path. 

The Stackoverflow link is:
I also was able to find a bug that discussed the problem (

No comments:

Post a Comment