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
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: 8403

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
It's not a secret anymore!