22 September 2010

Glassfish 3 Admin Console hangs behind a proxy

When installing glassfish you can install the updatetool (default on) and configure proxysettings for it.
If the proxy settings do not match the currently active proxy the glassfish admin console may hang.
The glassfish web admin console will not forward your browser proxy settings to the updatetool, which has its own settings. It will wait for the updatetool to return, which never happens.

Here's a solution from the forums:
Change the update configuration using updatetool in GlassfishInstallDir/bin (it may ask you to install the tool first, just do so and start updatetool again).
In the tool go to preferences and enter correct proxy settings  (or disable automatic updates in the updates tab).

Alternatively, if you fail to install the tool, you can just kick out the module $GLASSFISH_HOME/glassfish/modules/console-updatecenter-plugin.jar by renaming it.

2 comments:

  1. Do you know anything about it will be fixed? It is a very annoying bug, and I ran into it at some customers.

    ReplyDelete
  2. The bug is still there on 3.0.1, don't know about 3.1.
    you can submit and track bugs at http://java.net/jira/browse/GLASSFISH

    ReplyDelete