users@glassfish.java.net

Re: GlassFish v3 admin console very slow

From: Sam Crawford <samcrawford_at_gmail.com>
Date: Sat, 12 Dec 2009 17:00:40 +0000

Yes it does (matching forward and reverse DNS entries exist).

Thanks,

Sam


2009/12/12 <jcfolsom_at_pureperfect.com>:
>
> Does the host name for your machine resolve to an IP?
>
> -------- Original Message --------
> Subject: Re: GlassFish v3 admin console very slow
> From: Sam Crawford <samcrawford_at_gmail.com>
> Date: Sat, December 12, 2009 10:46 am
> To: users_at_glassfish.dev.java.net
>
> Hmmm, I've tried setting the
> com.sun.enterprise.tools.admingui.NO_NETWORK system property (by
> adding
> <jvm-options>-Dcom.sun.enterprise.tools.admingui.NO_NETWORK=1</jvm-options>
> in the domain.xml (I also tried the "true" value as well)). And I can
> see that the JVM has correctly started with this property set...
>
> gfdev 26057 14.2 6.9 822932 143900 pts/1 Sl 15:42 0:18
> /usr/java/latest/bin/java -cp
> /local/0/opt/glassfish-dev/glassfish/modules/glassfish.jar
> -XX:+UnlockDiagnosticVMOptions -XX:MaxPermSize=192m -XX:NewRatio=2
> -XX:+LogVMOutput
> -XX:LogFile=/local/0/opt/glassfish-dev/glassfish/domains/domain1/logs/jvm.log
> -Xmx512m -client
> -javaagent:/local/0/opt/glassfish-dev/glassfish/lib/monitor/btrace-agent.jar=unsafe=true,noServer=true
> -Dosgi.shell.telnet.maxconn=1
> -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
> -Dfelix.fileinstall.dir=/local/0/opt/glassfish-dev/glassfish/modules/autostart/
> -Djavax.net.ssl.keyStore=/local/0/opt/glassfish-dev/glassfish/domains/domain1/config/keystore.jks
> -Dosgi.shell.telnet.port=6666
> -Djava.security.policy=/local/0/opt/glassfish-dev/glassfish/domains/domain1/config/server.policy
> -Dfelix.fileinstall.poll=5000
> -Dcom.sun.aas.instanceRoot=/local/0/opt/glassfish-dev/glassfish/domains/domain1
> -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
> -Dosgi.shell.telnet.ip=127.0.0.1
> -Djava.endorsed.dirs=/local/0/opt/glassfish-dev/glassfish/modules/endorsed:/local/0/opt/glassfish-dev/glassfish/lib/endorsed
> -Dcom.sun.aas.installRoot=/local/0/opt/glassfish-dev/glassfish
> -Dcom.sun.enterprise.tools.admingui.NO_NETWORK=1
> -Djava.ext.dirs=/usr/java/latest/lib/ext:/usr/java/latest/jre/lib/ext:/local/0/opt/glassfish-dev/glassfish/domains/domain1/lib/ext
> -Dfelix.fileinstall.bundles.new.start=true
> -Djavax.net.ssl.trustStore=/local/0/opt/glassfish-dev/glassfish/domains/domain1/config/cacerts.jks
> -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
> -Djava.security.auth.login.config=/local/0/opt/glassfish-dev/glassfish/domains/domain1/config/login.conf
> -DANTLR_USE_DIRECT_CLASS_LOADING=true -Dfelix.fileinstall.debug=1
> -Dorg.glassfish.web.rfc2109_cookie_names_enforced=false
> -Djava.library.path=/local/0/opt/glassfish-dev/glassfish/lib:/usr/java/jdk1.6.0_17/jre/lib/i386/client:/usr/java/jdk1.6.0_17/jre/lib/i386:/usr/java/jdk1.6.0_17/lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
> com.sun.enterprise.glassfish.bootstrap.ASMain -domainname domain1
> -asadmin-args start-domain,,,domain1 -instancename server -verbose
> false -debug false -asadmin-classpath
> /local/0/opt/glassfish-dev/glassfish/modules/admin-cli.jar
> -asadmin-classname com.sun.enterprise.admin.cli.AsadminMain -upgrade
> false -domaindir /local/0/opt/glassfish-dev/glassfish/domains/domain1
> -read-stdin true
>
> Yet the console still takes forever to start, and I can still see it
> trying to phone home to Sun.
>
> Am I setting this property incorrectly somehow?
>
> Thanks,
>
> Sam
>
>
>
> On 11/12/2009, Hassan Schroeder <hassan.schroeder_at_gmail.com> wrote:
>> On Fri, Dec 11, 2009 at 11:54 AM, Snjezana Sevo-Zenzerovic
>> <Snjezana.Sevo-Zenzerovic_at_sun.com> wrote:
>>
>>>> The proxy settings that are used by updatetool are in the users home
>>>> directory in the .updatetool/defaults.cfg file.  There's a [network]
>>>> section
>>>> in that file that has the proxy.host and proxy.port settings for the
>>>> proxy.
>>
>> That directory exists, but not that file. Is the format documented?
>> Interestingly, there's a file called init.cfg with proxy information in
>> it.
>> So maybe the update tool doesn't know about those settings?
>>
>>> BTW, what OS is this?
>>
>> Linux blah.example.com 2.6.18-92.1.17.0.2.el5 #1 SMP Tue Nov 18
>> 05:20:06 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
>> (Red Hat 4.1.2-42 clone)
>>
>> --
>> Hassan Schroeder ------------------------ hassan.schroeder_at_gmail.com
>> twitter: @hassan
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net For additional
> commands, e-mail: users-help_at_glassfish.dev.java.net