users@glassfish.java.net

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

From: Sigal Shaharabani <Sigal.Shaharabani_at_Teledata-Networks.com>
Date: Wed, 16 Dec 2009 16:30:20 +0200

We're using glassfish v2

This exe is at <install-dir>\lib\

 

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:47 PM
To: users_at_glassfish.dev.java.net
Subject: RE: GlassFish V3 - Running as Windows Service in Windows
2008Server

 


Yeah, but what version of Glassfish are you using ?
I tried the SVC but I got this error:

"appservService.exe not found"

And this file is not present in any directory, thats why I suppose the
problem is that this solution applies only to versions previous to
Glassfish V3 ....




"Sigal Shaharabani" <Sigal.Shaharabani_at_Teledata-Networks.com>

16/12/2009 10:22 AM

Please respond to
users_at_glassfish.dev.java.net

To

<users_at_glassfish.dev.java.net>

cc

 

Subject

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

 

 

 




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
<http://www.ryandelaplante.com/2009/08/in-past-i-have-chosen-to-use-comm
ercial.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.
  
************************************************************************
************

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