users@glassfish.java.net

GlassFish V3 - Running as Windows Service in Windows 2008 Server

From: Javier Posadas <JPosadas_at_omhsa.com.ar>
Date: Wed, 16 Dec 2009 10:19:03 -0300

Hi,
        I have recently installed Glassfish V3 on a Windows 2008 Server EE
and I can't manage to make it work as a Windows Service, any time I log
out, the server goes down and I have to start it manually when I log in. I
have browsed many webpages that suggest diferent solutions but no one
worked for me.
        Some of them point to create a Windows Service referencing the
file



C:\Sun\AppServer\lib\appservService.exe

        But this executable is not present in any of my installation
directories (I think that this is present in previous versions of
Glassfish).
 
        Other solutions suggested point to make some changes in xml
configuration files:

        <jvm-options>-Xrs</jvm-options> (domain.xml)
 
        or

        <process name="as9-server"> (processLauncher.xml)
        ...
        <sysproperty key="-Xrs"/>
        ...

        None of these worked for me. I suspect that the problem is that
they don't apply for Windows 2008 Server. Any ideas ?

Thanks a lot, Javier.




************************************************************************************
Este correo electronico es confidencial y de uso exclusivo del destinatario.
Su contenido no debe ser revelado a terceros. En caso de que usted no sea el
destinatario, por favor notificar al remitente inmediatamente.

This e-mail is confidential and intended for exclusive use of the addressee(s) only.
You should not disclose its contents to any other person. If you are not the intended
recipient please notify the sender immediately.

************************************************************************************