users@glassfish.java.net

Glassfish on Windows - shutting down at logout

From: <glassfish_at_javadesktop.org>
Date: Wed, 21 Apr 2010 03:16:29 PDT

I'm trying to set up Glassfish v3 on a windows server
I'm starting it using the command line and disconnecting the session
After about ten minutes, Glassfish shuts itself down

I think that it is something to do with the windows logout

I've looked at note http://blogs.sun.com/foo/entry/how_to_make_v3_platform
and have edited two files as follows;

domains.xml
<jvm-options>-Xrs</jvm-options>

adadmin.bat
%JAVA% -Xrs -jar "%~dp0..\modules\admin-cli.jar" %*

Setting it up as a service seems rather messy

Any ideas anybody?

Thanks in advance

Doug
[Message sent by forum member 'dougreed765']

http://forums.java.net/jive/thread.jspa?messageID=398188