You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mario Felarca <ge...@yahoo.com> on 2008/10/22 22:23:25 UTC

Question regarding 6.0.14 and NoClassDefFound org/apache/juli/logging/LogFactory

Hello all,

We are experiencing this issue when trying to run tomcat 6.0.14 on a RHEL 4.6 system. Looking up through the archives yields items regarding the MANIFEST.MF Class-Path line, and the actual CLASSPATH environment, however altering these items or removing them, or leaving them produces the same results.

The interesting thing is, on other machines, the same seteup works fine and does not throw the exception.

I cannot seem to find any other options other than the MANIFEST.MF, so any help or even ideas would be greatly appreciated!

Thanks much in advance,

Mario-

Exception follows:

-
Do newlines (empty lines) matter in the seed list?
Exception in thread "main"
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(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)
        ... 1 more

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


RE: Question regarding 6.0.14 and NoClassDefFound org/apache/juli/logging/LogFactory

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Mario Felarca [mailto:gennadius@yahoo.com]
> Subject: Question regarding 6.0.14 and NoClassDefFound
> org/apache/juli/logging/LogFactory
>
> We are experiencing this issue when trying to run tomcat
> 6.0.14 on a RHEL 4.6 system.

What happens if you try it with 6.0.18 downloaded from the Tomcat web site?
http://tomcat.apache.org/download-60.cgi#6.0.18

> regarding the MANIFEST.MF Class-Path line

The only entries on the bootstrap.jar META-INF/MANIFEST.MF Class-Path line should be the following:
 commons-daemon.jar commons-logging-api.jar tomcat-juli.jar tomcat-coyote.jar

If yours are different, your Tomcat is corrupted.  Only commons-daemon.jar and tomcat-juli.jar are distributed with Tomcat 6.0 in its bin directory; the other jar references appear to be artifacts from previous versions.

The error you're getting would indicate that tomcat-juli.jar is missing, corrupted, or otherwise inaccessible (permissions?).

> the actual CLASSPATH environment

That raises a red flag; the CLASSPATH environment variable should not be set when running Tomcat.

> Do newlines (empty lines) matter in the seed list?

You'll need to phrase that differently; I have no idea what you're asking about.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

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