users@glassfish.java.net

Re: Glassfish V3 as a Service on Windows Server

From: NBW <emailnbw_at_gmail.com>
Date: Fri, 12 Feb 2010 17:28:13 -0500

Hi Byron -

Here's my log as well, as you can see there's -Xrs and things still aren't
working properly:

Feb 12, 2010 12:19:53 PM com.sun.enterprise.admin.launcher.GFLauncherLogger
info
INFO: JVM invocation command line: C:\Sun\SDK\jdk\bin\java.exe -cp
C:/glassfishv3/glassfish/modules/glassfish.jar
-XX:+UnlockDiagnosticVMOptions
-XX:MaxPermSize=192m
-XX:NewRatio=2
-XX:+LogVMOutput
-XX:LogFile=C:\glassfishv3\glassfish\domains\domain1/logs/jvm.log
-Xrs
-Xmx512m
-client
-javaagent:C:/glassfishv3/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=C:\glassfishv3\glassfish/modules/autostart/
-Djavax.net.ssl.keyStore=C:\glassfishv3\glassfish\domains\domain1/config/keystore.jks
-Dosgi.shell.telnet.port=6666
-Djava.security.policy=C:\glassfishv3\glassfish\domains\domain1/config/server.policy
-Dfelix.fileinstall.poll=5000
-Dcom.sun.aas.instanceRoot=C:\glassfishv3\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=C:\glassfishv3\glassfish/modules/endorsed;C:\glassfishv3\glassfish/lib/endorsed
-Dcom.sun.aas.installRoot=C:\glassfishv3\glassfish
-Djava.ext.dirs=C:\Sun\SDK\jdk/lib/ext;C:\Sun\SDK\jdk/jre/lib/ext;C:\glassfishv3\glassfish\domains\domain1/lib/ext
-Dfelix.fileinstall.bundles.new.start=true
-Djavax.net.ssl.trustStore=C:\glassfishv3\glassfish\domains\domain1/config/cacerts.jks
-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
-Djava.security.auth.login.config=C:\glassfishv3\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=C:/glassfishv3/glassfish/lib;C:/Sun/SDK/jdk/bin;C:/WINDOWS/system32;C:/WINDOWS/Sun/Java/bin;C:/WINDOWS;C:/Perl/site/bin;C:/Perl/bin;G:/oraclexe/app/oracle/product/10.2.0/server/BIN;C:/Program
Files (x86)/PHP;C:/WINDOWS/system32/wbem;C:/Program Files
(x86)/Vim/vim72;C:/Program Files
(x86)/eclipse;C:/instantclient_10_2;C:/Program
Files/TortoiseSVN/bin;C:/Program Files (x86)/Common Files/Acronis/SnapAPI
com.sun.enterprise.glassfish.bootstrap.ASMain -domainname domain1
-asadmin-args
start-domain,,,--verbose,,,--domaindir,,,C:/glassfishv3/glassfish/domains,,,domain1
-instancename server -verbose true -debug false -asadmin-classpath
C:/glassfishv3/glassfish/modules/admin-cli.jar -asadmin-classname
com.sun.enterprise.admin.cli.AsadminMain -upgrade false -domaindir
C:/glassfishv3/glassfish/domains/domain1 -read-stdin true
Feb 12, 2010 12:19:54 PM com.sun.enterprise.admin.launcher.GFLauncherLogger
info
INFO: Successfully launched in 63 msec.

On Thu, Feb 11, 2010 at 3:09 PM, <glassfish_at_javadesktop.org> wrote:

> The issue you are having is at a JDK level. Take a look in server.log
>
> The exact commandline that the JDK is started with is written to the log
> every time the server starts. Is "-Xrs" in there?
>
> Try it without running as a service -- after all the main thing the Service
> does is simply
>
> asadmin start-domain
>
> -- does it work when you start the server manually?
> [Message sent by forum member 'bnevins' (byron.nevins_at_sun.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=386229
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>