tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From " mde" <>
Subject problem setting up tomcat as NT service
Date Thu, 22 May 2003 17:20:57 GMT
Hi all,
  I'm trying to set up tomcat 4.1.24 as an NT service, but to no avail. choosing "install
as NT service" when I installed tomcat did not work, nor did following various instructions
I found online.

I was able to successfully install the service using the command below, but when I start the
service I get this error:

C:\>net start "Apache Tomcat"
The Apache Tomcat service is starting.
The Apache Tomcat service could not be started.

The service did not report an error.

More help is available by typing NET HELPMSG 3534.

C:\>net helpmsg 3534

The service did not report an error.


The service did not report an error.


Try the task later. If the problem persists, contact your network

*** the command I used to install as a service ***
"%CATALINA_HOME%\bin\tomcat.exe" -install "Apache Tomcat" "%JAVA_HOME%\jre\bin\server\jvm.dll"
-Djava.class.path="%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar" -Dcatalina.home="%CATALINA_HOME%"
-Xrs -start org.apache.catalina.startup.Bootstrap -params start -stop org.apache.catalina.startup.Bootstrap
-params stop -out "%CATALINA_HOME%\logs\stderr.log"

Any ideas to get this thing running as a service? The main reason I want it to run as a service
is that I need the "restart service after xxxx retries" functionality.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message