File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Error with tomcat as win2k service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Error with tomcat as win2k service" Watch "Error with tomcat as win2k service" New topic

Error with tomcat as win2k service

Reetesh Shrivastav

Joined: Nov 19, 2004
Posts: 1
Please help me with this problem. I have tomcat5 and jdk1.4 and win2k.
Now I used service.bat to install tomcat as win service.It installed properly.
But now from adminstrative tool-->services I start Apache tomcat service
its displays error as "service-specific error code 0"

I think the problem is that in the registry in HKEY_LOCAL_MACHINE-->System-->CurrentControlSet-->Services-->Tomcat5-->Parameter there are no JVM options being shown. How to get them.

Service.bat code snippet is--
"%EXECUTABLE%" //IS//%SERVICE_NAME% --StartClass org.apache.catalina.startup.Bootstrap --StopClass org.apache.catalina.startup.Bootstrap --StartParams start --StopParams stop

Please help me..
Roel De Nijs

Joined: Jul 19, 2004
Posts: 5123

we do have something like this:

Hope it helps

SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
I agree. Here's the link:
subject: Error with tomcat as win2k service
Similar Threads
HTTP Status 404 - Servlet action is not available
server tomcat 5.5v server @localhost failed to start
Tomcat5- how can I get the Initial Memory pool numers set on command line to show up in GUI tool?
How to run tomcat 5.5.17 as a services in FC6..?
Couldn't start JBoss AS as Windows service