This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat as a Windows Service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat as a Windows Service" Watch "Tomcat as a Windows Service" New topic

Tomcat as a Windows Service

Jessica Harper

Joined: Mar 30, 2011
Posts: 2
I've found a couple of threads on this topic here, but honestly it's all greek to me. I know essentially nothing about setting this stuff up, so I'm hoping someone can help me in baby steps.

Here's my issue. I just started a new job and they installed Tomcat as a part of some Digital Asset Management system called Razuna months before I got hired. Currently this installation of Tomcat is running as a console, which means the user has to remain logged in on the server for it to stay running. They want me to figure out how to make this installation run as a service without reinstalling it, so that no one needs to be logged in all the time. I haven't a clue what I need to do.

This is a virtual machine, running Windows Server, though I'm not sure what edition. Heck, I don't even know what version of Tomcat is running. Can someone start me in the right direction and maybe help get me through this nightmare?

Thank you so much

David Heinecke

Joined: Mar 30, 2011
Posts: 3
Tomcat (at least modern versions) ships with a windows service shell (Procrun). You should look up the documentation for on Procrun/commons daemon for instructions on how to configure and run tomcat as a windows service.

For each version of tomcat, there is a Windows Service Installer that can be downloaded from any of the apache mirrors

That should get you started.
Jessica Harper

Joined: Mar 30, 2011
Posts: 2
Thank you. I will see if I can get it figured out.
I agree. Here's the link:
subject: Tomcat as a Windows Service
It's not a secret anymore!