You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Brzezinski, Paul J" <pa...@eds.com> on 2002/10/08 00:56:11 UTC
JK2+Apache2: LogFactory java Error: NoClassDefFoundError
Getting an error message when I start Tomcat 4.1.12 on Solaris 8 SPARC:
15750 [main] ERROR server.JkMain - Can't create apr
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.apache.jk.apr.AprImpl.<clinit>(AprImpl.java:340)
I'm using the Apache Tomcat/4.1.12-LE-jdk14.
FYI: CLASSPATH set to:
/server/lib/commons-logging.jar:/em/opt/j2sdk1.4.0_02/lib/tools.jar:.:/em/op
t/j2sdk1.4.0_02/lib/jta.jar:/em/opt/jaf-1.0.2/activation.jar:/em/opt/javamai
l-1.3/mail.jar:/em/opt/j2sdk1.4.0_02/jre/lib/jsse.jar
Anyone else run into this?
Know how to solve it?
Is it a CLASSPATH env var problem?
--
mailto:Paul.Brzezinski@EDS.com
Enterprise Distributed Capabilities
EDS Corporation
248-265-8283
Re: JK2+Apache2: LogFactory java Error: NoClassDefFoundError
Posted by "Brzezinski, Paul J" <Pa...@EDS.COM>.
David Mossakowski wrote:
> You should put the logging jar into tomcat/lib or
> webapps/yourwebapp/lib depending on how it's used.
Thanks for responding...
More questions: yeah, but this is tomcat trying to start that's
throwing the exception, not a web-app.
> System classpath does not matter for Tomcat (a good thing) so you need
> to put things in the right places in order for them to work or specify
> in your startup script where else to look for jars.
so that goes back to my first post -- does anyone have the AF_UNIX
socket stuff working on Solaris 8 (SPARC Platform) with Apache 2.0.40+
with Tomcat 4.1.12 (JK2) with JDK 1.4.0 so that I can compare my env to
one that works?
>
>
> d.
>
> Brzezinski, Paul J wrote:
>
>> Getting an error message when I start Tomcat 4.1.12 on Solaris 8 SPARC:
>>
>> 15750 [main] ERROR server.JkMain - Can't create apr
>> java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
>> at org.apache.jk.apr.AprImpl.<clinit>(AprImpl.java:340)
>>
>> I'm using the Apache Tomcat/4.1.12-LE-jdk14.
>>
>> FYI: CLASSPATH set to:
>>
>> /server/lib/commons-logging.jar:/em/opt/j2sdk1.4.0_02/lib/tools.jar:.:/em/op
>>
>> t/j2sdk1.4.0_02/lib/jta.jar:/em/opt/jaf-1.0.2/activation.jar:/em/opt/javamai
>>
>> l-1.3/mail.jar:/em/opt/j2sdk1.4.0_02/jre/lib/jsse.jar
>>
>>
>> Anyone else run into this?
>>
>> Know how to solve it?
>> Is it a CLASSPATH env var problem?
>>
>>
>>
>>
>> --
>> mailto:Paul.Brzezinski@EDS.com
>> Enterprise Distributed Capabilities
>> EDS Corporation
>> 248-265-8283
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> --
>> To unsubscribe, e-mail:
>> <ma...@jakarta.apache.org>
>> For additional commands, e-mail:
>> <ma...@jakarta.apache.org>
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: JK2+Apache2: LogFactory java Error: NoClassDefFoundError
Posted by David Mossakowski <dm...@Instinet.Com>.
You should put the logging jar into tomcat/lib or webapps/yourwebapp/lib
depending on how it's used.
System classpath does not matter for Tomcat (a good thing) so you need
to put things in the right places in order for them to work or specify
in your startup script where else to look for jars.
d.
Brzezinski, Paul J wrote:
> Getting an error message when I start Tomcat 4.1.12 on Solaris 8 SPARC:
>
> 15750 [main] ERROR server.JkMain - Can't create apr
> java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
> at org.apache.jk.apr.AprImpl.<clinit>(AprImpl.java:340)
>
> I'm using the Apache Tomcat/4.1.12-LE-jdk14.
>
> FYI: CLASSPATH set to:
>
> /server/lib/commons-logging.jar:/em/opt/j2sdk1.4.0_02/lib/tools.jar:.:/em/op
> t/j2sdk1.4.0_02/lib/jta.jar:/em/opt/jaf-1.0.2/activation.jar:/em/opt/javamai
> l-1.3/mail.jar:/em/opt/j2sdk1.4.0_02/jre/lib/jsse.jar
>
>
> Anyone else run into this?
>
> Know how to solve it?
>
> Is it a CLASSPATH env var problem?
>
>
>
>
> --
> mailto:Paul.Brzezinski@EDS.com
> Enterprise Distributed Capabilities
> EDS Corporation
> 248-265-8283
>
>
>
> ------------------------------------------------------------------------
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
David Mossakowski dmoss@instinet.com
Instinet Corporation 212.310.7275
****************************************************************************
<<Disclaimer>>
This message is intended only for the use of the Addressee and
may contain information that is PRIVILEGED and/or
CONFIDENTIAL or both.
This email is intended only for the personal and confidential use
of the recipient(s) named above.
If the reader of this email is not an intended recipient, you have
received this email in error and any review, dissemination,
distribution or copying is strictly prohibited.
If you have received this email in error, please notify the sender
immediately by return mail and permanently deleting the copy
you received.
Thank you.
****************************************************************************
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>