• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Cannot start Apache Tomcat as a Windows Service

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
 
Lars Hamandouche
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Why does your bag say "bombs"? The reason I ask is that my bag says "tiny ads" and it has stuff like this:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic