Tomcat 6.0.18 service will not start on a windows server
Asked Answered
F

6

5

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).

Furthermore answered 26/9, 2008 at 19:25 Comment(0)
A
9

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.

Arrhenius answered 26/9, 2008 at 21:48 Comment(1)
If by launching Tomcat monitor you find you are pointing to a location where there is jvm.dll, like jre/server/jvm.dll, copy the dll where you have the jvm.dll.Cordle
F
3

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.

Furthermore answered 26/9, 2008 at 19:27 Comment(1)
I have posted similar answer below :-)Arrhenius
Q
2

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

Quadrisect answered 10/6, 2009 at 4:29 Comment(1)
i post my solution at article.gmane.org/gmane.comp.jakarta.tomcat.user/184218Quadrisect
C
2

I solved the same problem enabling the default java virtual machine in the configuration app.

Assuming you have installed tomcat using:

service install tomcat-6.0.35  

execute:

tomcat6w //ES/tomcat-6.0.35

a window pops up, select the java tab and click on "Use default" checkbox.

The service install script (I immagine) selected C:\Program Files(x86)\Java\jre\bin\client\jvm.dll instead.

Environment:

  • Windows Server standard SP2 64-bin
  • Java 1.6.0_23-b05 (Java hotspot 64-bit server vm 19.0-b09 mixed mode)
  • Apache tomcat 6.35 (you guessed this didn't you?)
Carrero answered 4/4, 2012 at 9:31 Comment(0)
B
1

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.

Buhl answered 8/4, 2010 at 18:28 Comment(0)
F
1

Even though it's an older post, I thought I'd share the knowledge about the very same issue I had, but the workaround was different.

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

As there was no more information regarding the problem I went back to the Tomcat Control Panel and had a look at the Java path, which was pointed to an earlier installation of Java Virtual Machine:

C:\Program Files\Java\jre6\bin\client\jvm.dll, which no longer existed, so I had to change the JRE version to jre7.

Having done that, the service started up and all running now.

Hope it'll help some of you out there.

Filigree answered 3/1, 2014 at 12:9 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.