• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to run Tomcat in debug mode as a Service

 
Nikolay Gannev
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

We are using Tomcat 5.0.28. I know how to run the server in debug mode. What I am researching is how to run the server in debug mode if the server has been started as a service. In other words is there a way to pass some parameters or reconfigure the service (that calls tomcat5.exe) without modifying the catalina.bat file.
If this is not possible what is the easiest way to create another service that will use modified catalina.bat file? Has anybody done that so far?

Thanks in advance
Nikolay
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Nikolay Gannev:
... what is the easiest way to create another service that will use modified catalina.bat file? ...


When Tomcat is run as a service, it doesn't use the .bat files.
 
Nikolay Gannev
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ben,

I actually found the solution. If someone needs more info I can send details.

Thanks
 
Shariq Roomi
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to run TOmcat as service . The service stopped itself after few seconds, Any idea what is going on ?

[2007-03-22 15:50:36] [info] Running Service...
[2007-03-22 15:50:36] [info] Starting service...
[2007-03-22 15:50:38] [info] Service started in 1140 ms.
[2007-03-22 15:50:42] [info] Run service finished.
[2007-03-22 15:50:42] [info] Procrun finished.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic