Problem:
After downloading TomCat 6.0 and installing the .exe, everything was smooth and i left most of the settings as default. I'm having problems starting my tomcat 6.0 service in "Configure" on my windows XP sp2. It was unable to start the service after install. And, it gave me the following errors in the jakarta_service_20090518.log.
[2009-05-18 16:25:00] [443 javajni.c] [error]
FindClass org/apache/catalina/startup/Bootstrap failed
[2009-05-18 16:25:00] [1005 prunsrv.c] [error]
Failed loading main
org/apache/catalina/startup/Bootstrap class
C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin\bootstrap.jar
[2009-05-18 16:25:00] [1269 prunsrv.c] [error]
ServiceStart returned 3
Solution:
I found that there are more than one java jre installed on my windows XP, one is located on
C:\java\jre1.5.0_16and the other is located on
C:\Program Files\Java\jdk1.5.0_16\jre. When re-installing Tomcat 6, I changed the default
C:\java\jre1.5.0_16to
C:\Program Files\Java\jdk1.5.0_16\jre, and it fixed those errrors.
1 comment:
Thanks a lot, I didnt even need to re-install. Just by right-clicking on the Tomcat icon (right on Windows toolbar) >> Configure >> Java (tab) and here on "Java Virtual Machine" I selected the one inside the JDK and not the one with only the JRE and it worked. Thanks :)
Tabs
Post a Comment