Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding Tomcat as service

 
Mike Tyson
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

http://www.coderanch.com/t/81928/Tomcat/Tomcat-as-service
 
Andy Zhu
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic