Yann Petit

Greenhorn
+ Follow
since Jul 05, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Yann Petit

AFAIK there are two different problems here.

As already said by Glenn, replacing the Startup and Shutdown mode by JAva instead of JVM should do the trick for those running tomcat 7.06 +
This can be done by running %TOMCAT_HOME%\bin\tomcat7w.exe and go to the "Startup" and "Shutdown" tabs, then change the "Mode" field from "Jvm" to "Java".

But for those running tomcat 7.04 - you also need to disable the use of the Tomcat.pid file.
This can be done by running %TOMCAT_HOME%\bin\tomcat7w.exe and go to the "Logging" tab, then empty the "PID file" field.

In fact the windows installer automatically configure the use of such a file, but running tomcat as a service fails to delete the file which prevents the service to start again. But it seems that starting the service deletes the file and launching it a second time will succeed.

Hope this helps...
12 years ago