You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Gaurav Pruthi <ga...@tcs.com> on 2011/07/25 19:44:40 UTC

Tomcat Failed to start.


Hi,
 
I recently installed Tomcat version 6.0.18 (Windows Installer) and installed as a service.I tried running Tomcat6.exe.
But got the following error :
 
2011-07-25 22:21:37 Commons Daemon procrun stderr initialized
java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory
 at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:54)
Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
 at java.net.URLClassLoader$1.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(Unknown Source)
 at sun.misc.Launcher$ExtClassLoader.findClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 ... 1 more
 
I got similar error while running catalina.bat from command prompt.
After that I tried installing vsersions 7.0.16 , 6.0.32, 5.5.33  but result was same.

Environment :
Windows XP , JDK1.6.0_24 , Tomcat 6.0.18

Classpath was set correctly for " /(root) , /bin , /lib" directories of tomcat since in earlier posts I read that bootstrap.jar , tomcat-juli.jar may not be accessible since classpath is not set for them, but that thing should not be there since classpath has been set correctly.
 
Following is in the logs : 
 
[2011-07-25 22:31:15] [info]  Commons Daemon procrun (1.0.5.0 32-bit) started
[2011-07-25 22:31:15] [info]  Debugging 'tomcat5' Service...
[2011-07-25 22:31:15] [info]  Starting service...
[2011-07-25 22:31:16] [error] FindClass org/apache/catalina/startup/Bootstrap failed.
 
 
Pls help it is really frustrating.. :(
Regards ,

Gaurav Pruthi
ASE - Trainee
Tata Consultancy Services 

 
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat Failed to start.

Posted by Konstantin Kolinko <kn...@gmail.com>.
2011/7/25 Gaurav Pruthi <ga...@tcs.com>:

> Classpath was set correctly for " /(root) , /bin , /lib" directories of tomcat since in earlier posts I read that bootstrap.jar , tomcat-juli.jar may not be accessible since classpath is not set for them, but that thing should not be there since classpath has been set correctly.

The above is complete crap. Why do you think that is the correct way
to set classpath?

Isn't there RUNNING.txt in the archive?

Do not use such old version as 6.0.18 unless you have specific reasons.


> [2011-07-25 22:31:15] [info]  Debugging 'tomcat5' Service...

The above is Tomcat 5.x, obviously.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org