cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <o...@vip.net.pl>
Subject Cocoon + Jetty as Win32 service
Date Sat, 08 Mar 2003 16:02:08 GMT
Jetty on its own can be run as win32 service using this command (taken from
jetty readme):

%JETTY_HOME%\bin\JavaService -install "Jetty Java HTTP Server"
%%JAVA_VM%\jvm.dll -Djava.class.path=%CLASSPATH% -start
%org.mortbay.jetty.win32.Service -params ./etc/jetty.xml -stop
%org.mortbay.jetty.win32.Service -method stopAndDestroy -out
%./logs/jettysvc.out -err ./logs/jettysvc.err -current %JETTY_HOME%

Now I see that cocoon.bat uses a custom Loader class to setup classpath and
run Jetty server. 

The question is: how can I run Jetty as service using the same mechanism as
provided in cocoon.bat? 
	ouzo
-- 
            __
         | /  \ |        Leszek Gawron            //  \\
        \_\\  //_/      ouzo@vip.net.pl          _\\()//_
         .'/()\'.     Phone: +48(600)341118     / //  \\ \
          \\  //  recursive: adj; see recursive  | \__/ |


Mime
View raw message