Howdy,
Ceki - it's kind of weird to see your name outside the log4j dev list ;)  Cool though.

Anyways, I think the issue here is with having multiple copies of commons-logging.  
Tomcat uses commons-logging and allows apps to use it as well by placing it 
common/lib.  However, there's a classloading conflict.

Other people have reported this, e.g.
http://marc.theaimsgroup.com/?l=tomcat-user&m=104305604609583&w=2

Perhaps this is worth a shot: move commons-logging jar out of common/lib and into 
server/lib, so tomcat can still use it internally.  Keep a copy of of commons-logging 
jar (and log4j jar) in your /WEB-INF/lib directory.  Does that make the problem go 
away?

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Ceki Gülcü [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, February 19, 2003 12:26 PM
>To: [EMAIL PROTECTED]
>Subject: Hundreds of LogConfigurationException
>
>Hi all,
>
>I am getting a large number of the following exceptions, until the server
>eventually stops responding.
>
>org.apache.commons.logging.LogConfigurationException:
>org.apache.commons.logging.LogConfigurationException:
>org.apache.commons.logging.LogConfigurationException: Class
>org.apache.commons.logging.impl.Log4JCategoryLog does not implement Log
>         at
>org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.j
>ava:555)
>         at
>org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.j
>ava:289)
>         at
>org.apache.commons.logging.LogFactory.getLog(LogFactory.java:409)
>         at
>org.apache.tomcat.util.log.CommonLogHandler.log(CommonLogHandler.java:97)
>         at org.apache.tomcat.util.log.Log.log(Log.java:198)
>         at org.apache.tomcat.util.log.Log.log(Log.java:192)
>         at org.apache.tomcat.util.log.Log.log(Log.java:174)
>         at
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.ja
>va:533)
>         at java.lang.Thread.run(Thread.java:536)
>Caused by: org.apache.commons.logging.LogConfigurationException:
>org.apache.commons.logging.LogConfigurationException: Class
>org.apache.commons.logging.impl.Log4JCategoryLog does not implement Log
>         at
>org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactory
>Impl.java:420)
>         at
>org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.j
>ava:548)
>         ... 8 more
>Caused by: org.apache.commons.logging.LogConfigurationException: Class
>org.apache.commons.logging.impl.Log4JCategoryLog does not implement Log
>         at
>org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactory
>Impl.java:416)
>         ... 9 more
>
>I have log4j in WEB-INF/lib and commons-logging.jar in WEB-INF/lib and also
>in TOMCAT_HOME/server/lib. I am using tomcat 4.1.18, struts 1.1b3 on Linux
>2.4.7 and JDK 1.4.1.
>
>--
>Ceki
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to