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:[EMAIL PROTECTED]
> Enterprise Distributed Capabilities
> EDS Corporation
> 248-265-8283
> 
> 
> 
> ------------------------------------------------------------------------
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


-- 
David Mossakowski              [EMAIL PROTECTED]
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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to