You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by olk <Ol...@web.de> on 2008/01/16 10:44:30 UTC
java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory
Hi,
I'm trying to create an applet launching tomcat 6 in embedded mode, but it
seams that the logging from Tomcat 5.5 to 6 has changed and there are some
references left somewhere in the code for the embedded mode.
The org.apache.catalina.core.StandardService has an import
org.apache.juli.logging.LogFactory, but the org.apache.juli in the
catalina.jar of apache-tomcat-6.0.14 is empty ????? there is no
LogFactory.class file.
java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory
at
org.apache.catalina.core.StandardService.<clinit>(StandardService.java:56)
at
org.igss.offlineclient.applets.QUController.startTomcat(QUController.java:271)
at org.igss.offlineclient.applets.QUController.init(QUController.java:143)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
--
View this message in context: http://www.nabble.com/java.lang.NoClassDefFoundError%3A-org-apache-juli-logging-LogFactory-tp14875983p14875983.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
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: java.lang.NoClassDefFoundError:
org/apache/juli/logging/LogFactory
Posted by olk <Ol...@web.de>.
Thanks Chuck,
for pointing me to this. I'm just starting with tomcat and did not take a
look at the \bin directory, where the tomcat-juli.jar should have jumped
into my face ...... :o)
Caldarale, Charles R wrote:
>
>> From: olk [mailto:Oliver.Kolling@web.de]
>> Subject: java.lang.NoClassDefFoundError:
>> org/apache/juli/logging/LogFactory
>>
>> The org.apache.catalina.core.StandardService has an import
>> org.apache.juli.logging.LogFactory, but the org.apache.juli in the
>> catalina.jar of apache-tomcat-6.0.14 is empty ????? there is no
>> LogFactory.class file.
>
> The org.apache.juli.logging.LogFactory class is in tomcat-juli.jar, not
> catalina.jar. For a non-embedded environment, the tomcat-juli.jar
> (along with several others) is specified as a classpath extension in the
> manifest of bootstrap.jar; don't know how it should work in an embedded
> environment.
>
> - 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
>
>
>
--
View this message in context: http://www.nabble.com/java.lang.NoClassDefFoundError%3A-org-apache-juli-logging-LogFactory-tp14875983p14915338.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
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: java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: olk [mailto:Oliver.Kolling@web.de]
> Subject: java.lang.NoClassDefFoundError:
> org/apache/juli/logging/LogFactory
>
> The org.apache.catalina.core.StandardService has an import
> org.apache.juli.logging.LogFactory, but the org.apache.juli in the
> catalina.jar of apache-tomcat-6.0.14 is empty ????? there is no
> LogFactory.class file.
The org.apache.juli.logging.LogFactory class is in tomcat-juli.jar, not
catalina.jar. For a non-embedded environment, the tomcat-juli.jar
(along with several others) is specified as a classpath extension in the
manifest of bootstrap.jar; don't know how it should work in an embedded
environment.
- 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