tags:

views:

5200

answers:

4

I installed Tomcat 6.0.18 on a windows server 2003 box and it will not start as a service. I'm running it with jdk 1.6.0_07.

It runs when I start it with tomcat6.exe.

I got a vague error in the System Event Log on Windows.

The Apache Tomcat 6 service terminated with service-specific error 0 (0x0).

+2  A: 

From gobaco.wordpress.com

Tomcat 6 couldn’t find a file called msvcr71.dll.
I just copied it over from c:\windows\microsoft.net\framework\v1.1.4322 to c:\windows\system32

and was able to start tomcat.

I thought this was very strange, so I wanted to post it on SO in case anyone else runs into this problem. If someone wants to post the same answer I'll accept it.

ScArcher2
I have posted similar answer below :-)
anjanb
+4  A: 

I'll bite it :-)

Tomcat Service on windows is dependent on the MS C Runtime library msvcr71.dll. As long as it is in the path, the service will start just fine.

Just to prevent your other windows to be forced to use this version of the runtime library, you might want to copy the DLL to just the tomcat bin path instead of windows\system32.

anjanb
+1  A: 

i follow the above guide but still the same, error 0, my process monitor log at http://www.sendspace.com/file/t0tahr

cometta
i post my solution athttp://article.gmane.org/gmane.comp.jakarta.tomcat.user/184218
cometta
+1  A: 

I copied the msvcr71.dll from the java home directory to the bin directory of the apache-tomcat install, and the service started after that.

Marty