Summary: | Tomcat 5.0.14 / Windows 2000 Service does not start | ||
---|---|---|---|
Product: | Tomcat 5 | Reporter: | Mr.Sea (Deniz TATAR) <mrsea77> |
Component: | Native:Integration | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | CLOSED WORKSFORME | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 5.0.14 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All |
Description
Mr.Sea (Deniz TATAR)
2003-11-24 16:45:25 UTC
*** This bug has been marked as a duplicate of 24942 *** Mine will start but then stops immediately. Was able to reproduce bug 24943 with Tomcat 5 installed on Windows 2000 Advanced Server SP4 "Cannot start Apache Tomcat Service " Error 1053 The service did not respond to the start or control requests in a timely fashion. Will be fixed, but only if you have system JAVA_HOME set correctly so that jvm.dll could be found. You can actually figure this out by having the installer look at the Registry. For the Sun JVM read HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Runtime Environment to get the CurrentVersion property Once you have the CurrentVersion property, open the key named by it and read the RuntimeLib property. For the IBM JVM, read: \Software\IBM\Java2 Runtime Environment I was able to solve this problem simply by installing the Java Runtime Environment along with the Java SDK. The JAVA_HOME environment variable can still point to your Java SDK, but the RE has to be installed with valid registry entries, for example: [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment] "CurrentVersion"="1.4" [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.4] "JavaHome"="C:\\Program Files\\Java\\j2re1.4.1_01" "MicroVersion"="1" "RuntimeLib"="C:\\Program Files\\Java\\j2re1.4.1_01\\bin\\client\\jvm.dll" [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.4.1_01] "JavaHome"="C:\\Program Files\\Java\\j2re1.4.1_01" "MicroVersion"="1" "RuntimeLib"="C:\\Program Files\\Java\\j2re1.4.1_01\\bin\\client\\jvm.dll" Thank you Chris Poulton for your posting on this issue. I could not get Tomcat 5.0.16 to start on my Windows XP machine, and edited the registry keys to match what you have listed. I also changed the JVM path on the installation to point to the JavaSoft directory instead of the SDK. Tomcat will now start after installation as well as the service. |