Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot start Apache Tomcat as a Windows Service

 
Lars Hamandouche
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Lars Hamandouche
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic