users@glassfish.java.net

Re: Run as Windows service?

From: Ryan de Laplante <ryan_at_ijws.com>
Date: Sun, 04 Nov 2007 15:07:48 -0500

Yes that is interesting. I guess I didn't encounter this problem
because I added the -Xrs jvm-option to the very end of the jvm-options list.


glassfish_at_javadesktop.org wrote:
> I found the difference between specifying -Xrs in domain.xml versus processLauncher.xml
> Below are the actual JVM options sent to the DAS JVM at launch. Note that the order of -Xrs is different.
>
> I would guess that the order should NOT matter. But it apparently does. We ran into headaches before because the order of options DOES matter: UnlockDiag.... *must* appear before the LogVMOutput option.
>
> Perhaps there is another undocumented order dependency here?!?
>
>
> **** -Xrs set in domain.xml ******
> -XX:+UnlockDiagnosticVMOptions
> -Xrs
> -XX:MaxPermSize=192m
> -Xmx512m
> -XX:NewRatio=2
> -XX:+LogVMOutput
> -XX:LogFile=D:/as/domains/domain1/logs/jvm.log
>
> *** -Xrs set in processLauncher.xml ****
>
> -XX:+UnlockDiagnosticVMOptions
> -XX:MaxPermSize=192m
> -Xmx512m
> -XX:NewRatio=2
> -XX:+LogVMOutput
> -Xrs
> -XX:LogFile=D:/as/domains/domain1/logs/jvm.log
> [Message sent by forum member 'bnevins' (bnevins)]
>
> http://forums.java.net/jive/thread.jspa?messageID=243709
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>