[Geoserver-users] Geoserver as Windows Service

I’m trying to use GeoServer as a service in Win 2003 as shown in

http://geoserver.org/display/GEOSDOC/Windows+Service+Wrapper

and took the suggestions of the Comments, but still get this, any ideas?

D:\OGI\Downloads\geoserver_service_wrapper>wrapper.exe -c ./bin/wrapper/wrapper.
conf
wrapper | → Wrapper Started as Console
wrapper | Launching a JVM…
jvm 1 | WrapperSimpleApp: Unable to locate the class org.mortbay.start.Main:
java.lang.ClassNotFoundException: org.mortbay.start.Main
jvm 1 |
jvm 1 | WrapperSimpleApp Usage:
jvm 1 | java org.tanukisoftware.wrapper.WrapperSimpleApp {app_class} [app_p
arameters]
jvm 1 |
jvm 1 | Where:
jvm 1 | app_class: The fully qualified class name of the application t
o run.
jvm 1 | app_parameters: The parameters that would normally be passed to the
jvm 1 | application.
wrapper | ← Wrapper Stopped

Roger Bedell, President Sylvan Ascent Inc.
800-362-8971
+34 626 855 662
roger@anonymised.com
www.sylvanascent.com
www.topodepot.com


On Sun, 2 Nov 2008 05:34:23 am Sylvan Ascent Inc. wrote:

I'm trying to use GeoServer as a service in Win 2003 as shown in

http://geoserver.org/display/GEOSDOC/Windows+Service+Wrapper

and took the suggestions of the Comments, but still get this, any
ideas?

i've been running GeoServer with JSW for quiet some time now with no
problems. from what you posted it looks like a misconfiguration of the
wrapper.conf params. i, for example have the following set in that
wrapper.conf file (running on GNU/Linux Fedora 8) --the relative paths
may differ of course depending on where this wrapper.conf file is
located on your system:

...
wrapper.java.classpath.1=../lib/wrapper.jar
wrapper.java.classpath.2=../start.jar
...
wrapper.java.additional.8=-Djetty.home=..
...
wrapper.app.parameter.1=org.mortbay.start.Main
wrapper.app.parameter.2=0

wrapper.app.parameter.3=org.mortbay.start.Main
wrapper.app.parameter.4=true
wrapper.app.parameter.5=1
wrapper.app.parameter.6=--stop

D:\OGI\Downloads\geoserver_service_wrapper>wrapper.exe -c
./bin/wrapper/wrapper. conf
wrapper | --> Wrapper Started as Console
wrapper | Launching a JVM...
jvm 1 | WrapperSimpleApp: Unable to locate the class
org.mortbay.start.Main: java.lang.ClassNotFoundException:
org.mortbay.start.Main
jvm 1 |
jvm 1 | WrapperSimpleApp Usage:
jvm 1 | java org.tanukisoftware.wrapper.WrapperSimpleApp
{app_class} [app_p arameters]
jvm 1 |
jvm 1 | Where:
jvm 1 | app_class: The fully qualified class name of the
application t o run.
jvm 1 | app_parameters: The parameters that would normally be
passed to the jvm 1 | application.
wrapper | <-- Wrapper Stopped

Roger Bedell, President Sylvan Ascent Inc.
800-362-8971
+34 626 855 662
roger@anonymised.com <mailto:roger@anonymised.com>
www.sylvanascent.com <http://www.sylvanascent.com/&gt;
www.topodepot.com <http://www.topodepot.com/&gt;

cheers;
rsn