Bug 41868

Summary: Not able to start the Tomcat 6.0.10 in WinXP as a Service with JRE 1.6.0
Product: Tomcat 6 Reporter: Andre <andrewolter89>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Severity: major Keywords: APIBug
Priority: P2    
Version: unspecified   
Target Milestone: default   
Hardware: Other   
OS: Windows XP   

Description Andre 2007-03-16 11:53:18 UTC
My System:

- Fresh installed WinXP-Pro SP2
- JDK 1.6.0 with JRE 1.6.0 under %program files%/Java/...
- Tomcat 6.0.10 windows installer .exe

I manually set the JAVA_HOME Path to the JRE

I've installed the Tomcat with option "service startup". The JRE was found by
the installer. After that i tried to start the Tomcat, but it hang. In the logs
this happen:

[2007-03-16 19:47:15] [info] Running Service...
[2007-03-16 19:47:15] [info] Starting service...
[2007-03-16 19:47:15] [174  javajni.c] [error] Das angegebene Modul wurde nicht
[2007-03-16 19:47:15] [947  prunsrv.c] [error] Failed creating java
[2007-03-16 19:47:15] [1202 prunsrv.c] [error] ServiceStart returned 1
[2007-03-16 19:47:15] [info] Run service finished.
[2007-03-16 19:47:15] [info] Procrun finished.

With Sysinternal Tool FileMon i found, that the file msvcr71.dll located in the
java/jre1.6.0/bin directory have to be copied to the java/jre1.6.0/bin/client
directory. And the Tomcat starts immediately.

Hope u fix it...
Comment 1 Mark Thomas 2007-09-06 19:01:40 UTC

*** This bug has been marked as a duplicate of 41538 ***