This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Adding Tomcat as service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Products » Tomcat
Bookmark "Adding Tomcat as service" Watch "Adding Tomcat as service" New topic

Adding Tomcat as service

Mike Tyson

Joined: May 26, 2004
Posts: 2
I have apache tomcat server running but it does not appear in services does anyone know how to add it there?
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

When you installed it with the windows installer, you should have had the option to install as a service.

If you didn't use the installer or didn't select that option, then I understand there is a batch file somewhere in the tomcat directories that allows you to install it after the fact.
Andy Zhu
Ranch Hand

Joined: May 26, 2004
Posts: 145
I did this: installed tomcat 5.0.25 without service option. Later on, i ran $(CATALINA_HOME)/bin/service.exe, it installed tomcat5 as service but it doesn't appear in windows administration services. Anyway, I just want it to run manually. So do this at command line:

net start tomcat5 will start service
net stop tomcat5 will stop service

Good luck

--------<br />Andy Zhu<br />scjp 1.4<br />scjd 1.4<br />SAS Certified Programmer 9.0
Have you checked out Aspose?
subject: Adding Tomcat as service
It's not a secret anymore!