tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mladen Turk" <mt...@apache.org>
Subject RE: Tomcat 5.0.16 as a service
Date Thu, 04 Dec 2003 10:56:29 GMT
 

> -----Original Message-----
> From: Mike
> 
> OK, OK.  I know 5.x is SUPPOSED to have this easy to use 
> service installer, but it's not working for me.
> 
> I'm using:
> 
> tomcat //IS//ApacheTomcatLive
> --DisplayName "Apache Tomcat (Live)" 
> --Description "Apache Tomcat 5.0.16 - Live Instance" 
> --ImagePath "c:\www\live\tomcat\5.0.16\bin\bootstrap.jar" 
> --StartupClass org.apache.catalina.startup.Bootstrap;main;start
> --ShutdownClass org.apache.catalina.startup.Bootstrap;main;stop
> --Java auto
> 

Add the --Install c:\www\live\tomcat\5.0.16\bin\tomcat.exe
and use --Java java (not --Java auto).

If using --Java auto (inproc jvm.dll) you will need
--StartupClass org.apache.catalina.startup.BootstrapService;main;start

Also add
--JavaOptions -Xrs
(so that redirected java.exe doesn't die on first logoff).

MT.





---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message