users@glassfish.java.net

Re: Run as Windows service?

From: Ryan de Laplante <ryan_at_ijws.com>
Date: Sun, 04 Nov 2007 09:58:49 -0500

We're using the -Xrs jvm-option in domain.xml on a Windows 2003 Server,
and don't encounter this issue? Did the processLauncher.xml solution
work for you?

Here is the GlassFish User FAQ on Windows services:

http://wiki.glassfish.java.net/Wiki.jsp?page=FaqRunAsWindowsService


Ryan

glassfish_at_javadesktop.org wrote:
> I had modified domain.xml to include the -Xrs, which didn't work, thinking whatever appservService.exe does uses the JVM parameters in there. What worked for me was modifying <GF_HOME>/lib/processLauncher.xml, and adding:
>
> <process name="as9-server">
> ...
> <sysproperty key="-Xrs"/>
> ...
>
> and now logging off the console doesn't kill the process.
> [Message sent by forum member 'jshevland' (jshevland)]
>
> http://forums.java.net/jive/thread.jspa?messageID=243041
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>