We have Glassfish v1m7 installed as a service on a Windows box. We used
$GF/lib/appservService.exe to install it. If you run that command,
you'll get this output:
sc.exe create SERVICE_NAME binPath=
"FULLY_QUALIFIED_PATH_TO_appservService.exe
\"FULLY_QUALIFIED_asadmin.bat_start_command\"
\"FULLY_QUALIFIED_asadmin.bat_stop_command\"" DisplayName=
"DISPLAY_NAME"
Hope that helps. Let me know how that works out for you. If that does
the trick, I'll try to find a place on the wiki to record that.
-----
Jason Lee, SCJP
Programmer/Analyst
http://www.iec-okc.com
> -----Original Message-----
> From: Edson Carlos Ericksson Richter
> [mailto:edson.richter_at_mgrinformatica.com.br]
> Sent: Friday, September 22, 2006 12:43 PM
> To: users_at_glassfish.dev.java.net
> Subject: Re: Glassfish as Windows Service
>
> Hi!
> Thanks, I did read this thread before. But this thread
> suggests to use Sun App Server 9 documents about restart -
> that imply using a .EXE there is not available on Glassfish distro.
>
> Could someone point how to install Glassfish as service
> without the .EXE? Or could you please make available the .EXE
> for download bundled with Glassfish for Windows platforms?
>
> IT: I found extremely easy to configure Glassifsh as service
> using Linux distros (either FC 4 and Ubuntu 6).
>
>
> Regards,
>
> Richter
>
>
>
> Sanjeeb Kumar Sahoo escreveu:
> > See
> > http://forums.java.net/jive/thread.jspa?forumID=56&threadID=16699
> >
> > Jim Driscoll wrote:
> >> Anyone?
> >>
> >> Jim
> >>
> >> Edson Carlos Ericksson Richter wrote:
> >>> Hi!
> >>>
> >>> I googled around, searched on blogs_at_sun, search on Glassfish wiki
> >>> and docs, and found only how to install Sun App Server 9
> as Windows
> >>> service (depends on .exe that is not available on Glassfish).
> >>> How could I put Glassfish V1 UR1 (any build) as Windows service?
> >>>
> >>>
> >>> Thanks,
> >>>
> >>> Richter
> >>>
> >>>
> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> >>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> >>
> >>
> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> >> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> >>
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> > For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> >
> >
> >
> >
>
>