quality@glassfish.java.net

Re: Admin console menu in GFv2

From: Snjezana Sevo-Zenzerovic <snjezana.sevozenzerovic_at_oracle.com>
Date: Thu, 18 Nov 2010 12:24:26 -0800 (PST)

But this is being reported for v2 where update center was not integrated with Admin console although NO_NETWORK flag workaround presumably still applies...

Thanks,

Snjezana

----- Original Message -----
From: anissa.lam_at_oracle.com
To: quality_at_glassfish.dev.java.net
Cc: wouter_at_van.reeven.nl
Sent: Thursday, November 18, 2010 9:27:13 AM GMT -08:00 US/Canada Pacific
Subject: Re: Admin console menu in GFv2



Hi Wouter,

If you add this to the jvm option
-Dcom.sun.enterprise.tools.admingui.NO_NETWORK=true
then Admin Console will not try to connect out to get the info from sun.com to display at the lower frame of Common Task page.
However, current update center functionality in GUI is not honoring this flag. I will fix that when fixing https://glassfish.dev.java.net/issues/show_bug.cgi?id=14667 . For the time being, you can safely remove the plugin module for update center functionality.
The jar is at glassfish3/glassfish/modules/console-updatecenter-plugin.jar

With the above 2 steps, GUI will not try to connect to the network.

thanks
Anissa

On 11/18/10 8:13 AM, Wouter van Reeven wrote:

Hi all,


One of my colleagues mentioned that the menu in admin console of GFv2
sometimes isn't loading properly. Apparently this is due to the admin
console trying to connect to some host in the sun.com domain. A
workaround for this is to add a bogus entry in /etc/hosts which reads

127.0.0.1 sun.com

Suppose I file an issue for this, will this be fixed?


Thanks, Wouter