Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Anybody knows how is possible to start automatically Tomcat's Monitor? Tomcatw.exe with the service's Tomcat? I tried but, it does not start.

I was trying to install like windows Services manually, but is not working.

My Tomcat services is called "Tomcat7Server" I created a services...

sc create "MoniTom" binpath "C:\DirTomcat7\bin\tomcat7w.ese //MS//Tomcat7Server"

I tryed to start my new services... but this no runs.

sc start "Monitom"

Please help me.

share|improve this question

2 Answers 2

Manually add it as a service by modifying the registry. Add the following Reg_SZ key to:

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

Name: ApacheTomcatMonitor

Value: "C:\Program Files\LOCATION OF Tomcat7w.exe" //MS//Tomcat7

Just make sure that you run this program as the administrator. You can do this by just right clicking on the Tomcat7w.exe and under properties, compatibility tab, check the run as administrator.

share|improve this answer

There are a variety of tools that will allow you to install programs as Windows Services, such as FireDaemon, srvany/instsrv, etc.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.