You say you get this when you start Tomcat? Looks to me like it's when it's shutting down, given the "cleanup" in the message. Where do you have log4j.jar? In WEB-INF/lib? What version of Tomcat? There were certain versions of Tomcat that were particularly bad about mucking with classloaders and doing aggressive cleanup leading to NullPointerExceptions. Try the latest one. I know it works for me.

Jake

slideharmony wrote:
Hello,
this is a newbie question!
when I start Tomcat I get the following exception:

Exception in thread "MultiThreadedHttpConnectionManager cleanup"
java.lang.NullPointerException
        at org.apache.log4j.LogManager.getLogger(LogManager.java:188)
        at org.apache.log4j.Logger.getLogger(Logger.java:104)
        at
org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
        at
org.apache.commons.logging.impl.Log4JLogger.isDebugEnabled(Log4JLogger.java:239)
        at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ReferenceQueueThread.handleReference(MultiThreadedHttpConnectionManager.java:1063)
        at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ReferenceQueueThread.run(MultiThreadedHttpConnectionManager.java:1084)


anybody can help me?
I have put the log4j.xml file in WEB-INF/classes directory!

any help would be appreciated!
thanks

rmura


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

Reply via email to