Bug 44764

Summary: service wont start if JDK 6u5 is the only Java installed
Product: Tomcat 5 Reporter: John V Denley <johnvdenley>
Component: UnknownAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED DUPLICATE    
Severity: critical    
Priority: P2    
Version: 5.5.26   
Target Milestone: ---   
Hardware: PC   
OS: Windows Server 2003   

Description John V Denley 2008-04-07 03:13:59 UTC
I am currently on a customer site, where they are installing onto a brand new server, they had the JDK 6 update 5 on the server, having never had any previous versions of Java on the server.
 
They had not installed Apache Tomcat, so I installed 5.5.26 but it would not start with an error message 
 
[2008-04-07 10:48:39] [986  prunsrv.c] [error] Failed creating java C:\Program Files\Java\jre1.6.0_05\bin\client\jvm.dll

I could find no reason why this should have failed, and no mention of any incompatibilities on the internet.
 
HOWEVER, I then uninstalled the JDK 6u5 and installed JRE 1.5 instead. Of course I had to re-install Apache Tomcat 5.5.26 (so that it knew about the new Java installation) and it worked perfectly!
 
I then tried to go back and uninstalled both products, and reinstalled JDK 6u5 and Apache Tomcat 5.5.26 on top of it, and sure enough I got the same errors and it would not start up.


FULL LOG FILE:
[2008-04-07 10:48:11] [info] Procrun (2.0.3.0) started
[2008-04-07 10:48:11] [info] Service Tomcat5 name Apache Tomcat
[2008-04-07 10:48:11] [info] Service Tomcat5 installed
[2008-04-07 10:48:11] [info] Procrun finished.
[2008-04-07 10:48:11] [info] Procrun (2.0.3.0) started
[2008-04-07 10:48:11] [info] Updating service...
[2008-04-07 10:48:11] [info] Service Tomcat5 updated
[2008-04-07 10:48:11] [info] Update service finished.
[2008-04-07 10:48:11] [info] Procrun finished.
[2008-04-07 10:48:21] [info] Procrun (2.0.3.0) started
[2008-04-07 10:48:21] [info] Updating service...
[2008-04-07 10:48:21] [info] Service Tomcat5 updated
[2008-04-07 10:48:21] [info] Update service finished.
[2008-04-07 10:48:21] [info] Procrun finished.
[2008-04-07 10:48:21] [info] Procrun (2.0.3.0) started
[2008-04-07 10:48:21] [info] Updating service...
[2008-04-07 10:48:21] [info] Service Tomcat5 updated
[2008-04-07 10:48:21] [info] Update service finished.
[2008-04-07 10:48:21] [info] Procrun finished.
[2008-04-07 10:48:33] [info] Procrun (2.0.3.0) started
[2008-04-07 10:48:33] [info] Running Service...
[2008-04-07 10:48:33] [info] Starting service...
[2008-04-07 10:48:33] [174  javajni.c] [error] The specified module could not be found.
[2008-04-07 10:48:33] [986  prunsrv.c] [error] Failed creating java C:\Program Files\Java\jre1.6.0_05\bin\client\jvm.dll
[2008-04-07 10:48:33] [1260 prunsrv.c] [error] ServiceStart returned 1
[2008-04-07 10:48:33] [info] Run service finished.
[2008-04-07 10:48:33] [info] Procrun finished.
[2008-04-07 10:48:39] [info] Procrun (2.0.3.0) started
[2008-04-07 10:48:39] [info] Running Service...
[2008-04-07 10:48:39] [info] Starting service...
[2008-04-07 10:48:39] [174  javajni.c] [error] The specified module could not be found.
[2008-04-07 10:48:39] [986  prunsrv.c] [error] Failed creating java C:\Program Files\Java\jre1.6.0_05\bin\client\jvm.dll
[2008-04-07 10:48:39] [1260 prunsrv.c] [error] ServiceStart returned 1
[2008-04-07 10:48:39] [info] Run service finished.
[2008-04-07 10:48:39] [info] Procrun finished.
Comment 1 Mark Thomas 2008-04-07 16:24:57 UTC

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