Hi,

Have you removed commons-logging from server/lib? I have found that the only
place commons-logging should be is in common/lib, this is the reason I have
swithched from commons-logging to logging directly to the underlying logging
implementation (log4j in my case).

Regards

Jim.

> -----Original Message-----
> From: Ceki Gülcü [mailto:[EMAIL PROTECTED]]
> Sent: 20 February 2003 07:57
> To: Tomcat Users List
> Subject: RE: Hundreds of LogConfigurationException
> 
> 
> 
> Filip, Jim, Yoav thank you!
> 
> I am using Tomcat 4.1.18 which has commons-logging.jar in 
> server/lib *and* 
> commons-logging-api.jar in common/lib. The jar files 
> commons-logging.jar 
> and commons-logging-api.jar seem to differ only in the 
> absence of log4j 
> support in the latter file. Placing both files as well 
> log4j-1.2.8.jar in 
> common/lib seems to be working as far as logging is 
> concerned. (I also 
> removed commons-logging.jar from my webapps WEB-INF/lib.) Eventually 
> though, my tomcat server still dies a painful death but I can 
> now see the 
> error messages. :-)
> 
> Why on earth are there two different jar files with almost 
> identical content?
> 
> 
> At 12:33 19.02.2003 -0500, you wrote:
> 
> >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(Lo
> gFactoryImpl.j
> > >ava:555)
> > >         at
> > 
> >org.apache.commons.logging.impl.LogFactoryImpl.getInstance(Lo
> gFactoryImpl.j
> > >ava:289)
> > >         at
> > >org.apache.commons.logging.LogFactory.getLog(LogFactory.java:409)
> > >         at
> > 
> >org.apache.tomcat.util.log.CommonLogHandler.log(CommonLogHand
> ler.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.getLogConstruc
> tor(LogFactory
> > >Impl.java:420)
> > >         at
> > 
> >org.apache.commons.logging.impl.LogFactoryImpl.newInstance(Lo
> gFactoryImpl.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.getLogConstruc
> tor(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]
> 
> --
> Ceki 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


PLEASE READ: The information contained in this email is confidential
and intended for the named recipient(s) only. If you are not an intended
recipient of this email you must not copy, distribute or take any
further action in reliance on it and you should delete it and notify the
sender immediately. Email is not a secure method of communication and
Nomura International plc cannot accept responsibility for the accuracy
or completeness of this message or any attachment(s). Please examine this
email for virus infection, for which Nomura International plc accepts
no responsibility. If verification of this email is sought then please
request a hard copy. Unless otherwise stated any views or opinions
presented are solely those of the author and do not represent those of
Nomura International plc. This email is intended for informational
purposes only and is not a solicitation or offer to buy or sell
securities or related financial instruments. Nomura International plc is
regulated by the Financial Services Authority and is a member of the
London Stock Exchange.



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

Reply via email to