users@glassfish.java.net

RE: GlassFish V3 - Running as Windows Service in Windows 2008 Server

From: Sigal Shaharabani <Sigal.Shaharabani_at_Teledata-Networks.com>
Date: Wed, 16 Dec 2009 15:24:06 +0200

We're using GlassfishSvc to make Glassfish a windows service

http://www.ryandelaplante.com/2009/08/in-past-i-have-chosen-to-use-comme
rcial.html

 

 

P please consider the environment - do you really need to print this
email?

________________________________

From: Javier Posadas [mailto:JPosadas_at_omhsa.com.ar]
Sent: Wednesday, December 16, 2009 3:19 PM
To: users_at_glassfish.dev.java.net
Subject: GlassFish V3 - Running as Windows Service in Windows 2008
Server

 


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.
 
************************************************************************
************