users@glassfish.java.net

Re: HELP!!!!!!!!!!!! Glassfish v3 in windows XP sp3 - Admin console never open.

From: <glassfish_at_javadesktop.org>
Date: Mon, 06 Sep 2010 17:41:03 PDT

Problem solved.
Glassfish v3 /updatetool do not like being behind a proxy.

I found this in a mail thread...


1. Stop admin console from making any network access. This is resolved in issue#
11057 : Need a way to specify no network access in GUI
<https://glassfish.dev.java.net/issues/show_bug.cgi?id=11057> Adding
<jvm-options>-Dcom.sun.enterprise.tools.admingui.NO_NETWORK=true</jvm-options>
will result in:

* Regardless of registration state, there will be no popup reminder, no
  registration tree node, no Registartion in common task.
* GlassFish News will not be shown in the tree node nor the common task page
* The information frame under Common Task page will not be rendered.


2. UpdateTool functionality As Admin Console moved to make use of the OSGi
architecture, updatetool functionality is implemented as a plugin module.
The application (console) itself shouldn't know what needs to be done in any
plugin. So, all you need to do is remove the updatetool plugin module if you
don't want any updatetool feature in the console.

However, this plugin module is part of the "glassfish-gui" IPS package, and one
cannot just remove this particular module. I will file an RFE so that this
updatetool plugin module resides in its own IPS package and can be add-on or
un-installed easily. As a workaround for now, just remove
console-updatecenter-plugin.jar.

You can do this:

* cd glassfishv3/glassfish
* mv modules/console-updatecenter-plugin.jar
  modules/console-updatecenter-plugin.jar.ORIG (or remove this jar)
* rm -r domains/domain1/osgi-cache
* rm -r domains/domain1/generated
* bin/asadmin start-domain

The above steps should make the console behaves as what you expect.

I still think there is issue with the update tool itself. The configuration file
location and format should be made public so that user can modify it to set
proxy information. As of now, as pointed out, there seems chicken and egg
problem regarding having to start it up to set the proxy but updatetool cannot
be start up due to network issue.
[Message sent by forum member 'lyallp']

http://forums.java.net/jive/thread.jspa?messageID=482002