Hi, Michael Koch <[EMAIL PROTECTED]> (24/04/2008): > On Tue, Apr 22, 2008 at 07:15:14PM +0300, Moshe Gorohovsky wrote: > > Tomcat 5.5.26-1 can not start. > > Running /etc/init.d/tomcat5.5 start yelds following > > lines in /var/log/syslog: > > jsvc.exec[3606]: java.lang.NoClassDefFoundError: > > org/apache/commons/logging/LogFactory > > ... > > jsvc.exec[3606]: Caused by: java.lang.ClassNotFoundException: > > org.apache.commons.logging.LogFactory > > I can't reproduce this here. Can you please mail the complete > stacktraces? Can it be that the stacktrace is from one fo your web apps?
I can easily reproduce it. The full stacktrace is the following: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:54) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:139) Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) ... 8 more I suggest you apply the attached patch instead of Moshe's one. Cheers, -- Thomas Huriaux [EMAIL PROTECTED] Argia Engineering +33-1-47-12-99-93
diff -Nur tomcat5.5-5.5.26.orig/container/catalina/etc/bootstrap.MF tomcat5.5-5.5.26/container/catalina/etc/bootstrap.MF --- tomcat5.5-5.5.26.orig/container/catalina/etc/bootstrap.MF 2008-04-24 15:19:58.000000000 +0200 +++ tomcat5.5-5.5.26/container/catalina/etc/bootstrap.MF 2008-04-24 15:20:14.000000000 +0200 @@ -1,5 +1,5 @@ Manifest-Version: 1.0 Main-Class: org.apache.catalina.startup.Bootstrap -Class-Path: jmx.jar commons-daemon.jar commons-logging-api-1.1.1.jar tomcat-juli.jar +Class-Path: jmx.jar commons-daemon.jar commons-logging-api.jar tomcat-juli.jar Specification-Title: Catalina Specification-Version: 1.0