[Geoserver-devel] GeoServer as Windows service

Hi all. I'd like to get everyone's thoughts on getting GeoServer to be better integrated on the Windows platform. Currently, GeoServer is started and stopped by command-line shortcuts accessed via the Start Menu. A result of this is that as long as GS is running, there is a persistent command line window. The window is handy for debugging, but not good for much else. Closing that window shuts down GS. This is sub-optimal, and can be improved.

I would like to see GS run as a service, like Tomcat or any other program that is on without being launched. Being more tightly integrated with the OS makes for better management (services are familiar to a Windows SysAdmin) and a better user experience.

In the past, I've used srvany.exe to force a program to act as a service, but that's a) a little cheesy and b) might have licensing issues. I think we can do better. I have seen (but never used) a tool called Java Service Wrapper (wrapper.tanukisoftware.org) which appears to do exactly this. I would appreciate anyone's suggestions.

Thanks,
Mike Pumphrey
Outreach Engineer
The Open Planning Project

The other thing that might be good to investigate is how Tomcat does things. When I made the last installer I just started from Tomcat's windows installer. They run as a service now, so you may be able to just borrow their code and customize for GeoServer.

I think Jetty might also run better as a service these days, and they may just use the java service wrapper directly. Would be good to investigate how they're doing things.

Chris

Mike Pumphrey wrote:

Hi all. I'd like to get everyone's thoughts on getting GeoServer to be better integrated on the Windows platform. Currently, GeoServer is started and stopped by command-line shortcuts accessed via the Start Menu. A result of this is that as long as GS is running, there is a persistent command line window. The window is handy for debugging, but not good for much else. Closing that window shuts down GS. This is sub-optimal, and can be improved.

I would like to see GS run as a service, like Tomcat or any other program that is on without being launched. Being more tightly integrated with the OS makes for better management (services are familiar to a Windows SysAdmin) and a better user experience.

In the past, I've used srvany.exe to force a program to act as a service, but that's a) a little cheesy and b) might have licensing issues. I think we can do better. I have seen (but never used) a tool called Java Service Wrapper (wrapper.tanukisoftware.org) which appears to do exactly this. I would appreciate anyone's suggestions.

Thanks,
Mike Pumphrey
Outreach Engineer
The Open Planning Project

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:4005,48062238305901804284693!

Not sure how relevant this is, but I do notice that the Direct Readout Lab
at NASA has packaged up their Real Time Satellite Telemetry Processing
System (RT-STPS) with jsw. It does appear that JSW will run things as a
service on Windows and linux platforms. Since I generally use RT-STPS in
batch mode I can't swear to how good/bad jsw is. But it does show that the
package has one high dollar client.

FWIW,
Bryce

             Mike Pumphrey
             <mike@anonymised.com
             rg> To
             Sent by: geoserver-devel@anonymised.com
             geoserver-devel-b et
             ounces@anonymised.com cc
             ceforge.net
                                                                   Subject
                                       [Geoserver-devel] GeoServer as
             04/16/2008 09:54 Windows service
             AM
                                                                           
Hi all. I'd like to get everyone's thoughts on getting GeoServer to be
better integrated on the Windows platform. Currently, GeoServer is
started and stopped by command-line shortcuts accessed via the Start
Menu. A result of this is that as long as GS is running, there is a
persistent command line window. The window is handy for debugging, but
not good for much else. Closing that window shuts down GS. This is
sub-optimal, and can be improved.

I would like to see GS run as a service, like Tomcat or any other
program that is on without being launched. Being more tightly
integrated with the OS makes for better management (services are
familiar to a Windows SysAdmin) and a better user experience.

In the past, I've used srvany.exe to force a program to act as a
service, but that's a) a little cheesy and b) might have licensing
issues. I think we can do better. I have seen (but never used) a tool
called Java Service Wrapper (wrapper.tanukisoftware.org) which appears
to do exactly this. I would appreciate anyone's suggestions.

Thanks,
Mike Pumphrey
Outreach Engineer
The Open Planning Project

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel