tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Taylor <>
Subject Tomcat5.5.7 and Log4j
Date Wed, 29 Jun 2005 01:56:27 GMT
Greetings, I'm trying to use Log4j in my web app and I'm having some 

I'm running Tomcat5.5.7 and JDK 1.5.0
I've followed the instructions here:
-placed log4j.jar and commons-logging.jar in commons/lib
-placed log4j.xml in commons/classes
-Added the following to the Tomcat startup:

It looks like Tomcat is finding and recognizing log4j.xml but is failing 
with the following error in the log file:

log4j:ERROR A "org.apache.log4j.xml.DOMConfigurator" object is not 
assignable to a "org.apache.log4j.spi.Configurator" variable.
log4j:ERROR The class "org.apache.log4j.spi.Configurator" was loaded by
log4j:ERROR [org.apache.catalina.loader.StandardClassLoader@16672d6] 
whereas object of type
log4j:ERROR "org.apache.log4j.xml.DOMConfigurator" was loaded by 
   delegate: false
----------> Parent Classloader:
log4j:ERROR Could not instantiate configurator 

I googled for this and didn't find anything relavent.

Any hints (even if its RTFM with a link) would be great.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message