• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to run Tomcat in debug mode as a Service

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Ben,

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

Thanks
 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic