I'm facing difficulties starting my tomcat 6 as a service. When I run tomcat6w.exe & click the "Start" button, I get this window "Apache Service Manager" that says "Apache is attempting to start the following service..." but after the progress bar reaches around 40%, it disappears & my service status remains as "Stopped" .
However, please note that when I run startup.bat, I'm able to bring up my application & things are just fine .
Request you to please help me out with this one...
Here's the environment:
OS: Windows Server 2003 5.2
Server: Apache Tomcat 6.0.20
JVM Version: 1.6
I actually dont see any error logged... however, now I tried starting the service directly from my control panel->admin tools->services.
This is the error message I get: "Windows could not start the Apache Tomcat tomcat6 on Local Computer. For more information, review the System event log. If this is a non-Microsoft service, contact the service vendor, and refer to service specific error code 0"
Event log just gave "The Apache Tomcat service terminated with service-specific error 0 (0x0)"..
Vidya Shankar, it looks like your problem is an absence of msvcr71.dll file. The file is shipped with JDK, but it is not included in the Tomcat distribution. Copy msvcr71.dll to the place where the tomcat6.exe can find it. For example, copy %JAVA_HOME%\bin\msvcr71.dll to the directory where tomcat6.exe seats.