On Thu, Apr 24, 2008 at 03:26:18PM +0200, Thomas Huriaux wrote:
> 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.

Before applying any patch I would like to be able to reproduce the
issue. What did you actually did in which order and which java packages
are installed? Did you installed tomcat5.5 from scratch or did you
updated it?


Cheers,
Michael



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to