aspose file tools*
The moose likes Tomcat and the fly likes Cannot start Apache Tomcat as a Windows Service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Cannot start Apache Tomcat as a Windows Service" Watch "Cannot start Apache Tomcat as a Windows Service" New topic
Author

Cannot start Apache Tomcat as a Windows Service

Lars Hamandouche
Greenhorn

Joined: Dec 16, 2010
Posts: 2
I have installed Apache Tomcat 6.0.28 as a Windows service.
I am able to start it from the Windows service panel as well as via net start Tomcat6
But I would like to start Tomcat as a Windows service using the command line.
If I try to start Tomcat via tomcat6.exe it starts but not as Windows service.
If I try to start Tomcat via tomcat6.exe //RS//Tomcat6 it tries to start but then stops.
The only output I get is within the log jakarta_service_20101215.log
[2010-12-15 13:57:10] [info] Commons Daemon procrun (1.0.2.0) started
[2010-12-15 13:57:10] [info] Running Service...
[2010-12-15 13:57:10] [info] Run service finished.
[2010-12-15 13:57:10] [info] Commons Daemon procrun finished.

Do you have any idea why this fails?
Thanks in advance!
Lars
Radovan Vukovic
Greenhorn

Joined: Nov 03, 2010
Posts: 19
Lars Hamandouche
Greenhorn

Joined: Dec 16, 2010
Posts: 2
Thanks for the reply but unfortunately that does not help.
We try to start Tomcat from another environment via an agent which does not allow to use net start.
So we are asked to start the server via tomcat6.exe and therefore I need to know why that does not work.
Thanks in advance!

Lars
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Cannot start Apache Tomcat as a Windows Service