users@glassfish.java.net

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

From: Javier Posadas <jposadas_at_omhsa.com.ar>
Date: Wed, 16 Dec 2009 15:24:52 -0300

Ok, but this solution doesn´t apply to V3, does anyone have another idea
???



                                                                           
             "Sigal
             Shaharabani"
             <Sigal.Shaharaban To
             i_at_Teledata-Networ
             ks.com> <users_at_glassfish.dev.java.net>
                                                                        cc
             16/12/2009 11:28
                                                                           
                                                                           
             Please respond to
             users_at_glassfish.d
                ev.java.net Subject
                                       RE: GlassFish V3 - Running as
                                       Windows Service in Windows
                                       2008Server
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           


                                                                            
                                                                            
                                                                            




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>
                                                                        To
                                             <users_at_glassfish.dev.java.net
 16/12/2009 10:22 AM >
                                                                        cc
                                                                           
                                                                   Subject
                                             RE: GlassFish V3 - Running as
                                             Windows Service in Windows
          Please respond to 2008 Server
     users_at_glassfish.dev.java.net
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           





We're using GlassfishSvc to make Glassfish a windows service
http://www.ryandelaplante.com/2009/08/in-past-i-have-chosen-to-use-commercial.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.

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





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

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