wood burning stoves 2.0*
The moose likes Websphere and the fly likes log4j:ERROR A Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "log4j:ERROR A "org.apache.log4j.xml.DOMConfigurator" object is not assignable to a "org.apache.log4j" Watch "log4j:ERROR A "org.apache.log4j.xml.DOMConfigurator" object is not assignable to a "org.apache.log4j" New topic
Author

log4j:ERROR A "org.apache.log4j.xml.DOMConfigurator" object is not assignable to a "org.apache.log4j

Anderson Gunawan
Greenhorn

Joined: Dec 08, 2011
Posts: 1
Hi all,

I encountered the following error when deploying my EAR application.

Dec 8, 2011 4:24:19 PM RMICClassLoader runCompile

SEVERE: 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 [com.ibm.tools.rmic.iiop.DirectoryLoader@495e495e] whereas object of type

log4j:ERROR "org.apache.log4j.xml.DOMConfigurator" was loaded by [java.net.URLClassLoader@4a804a80].

log4j:ERROR Could not instantiate configurator [org.apache.log4j.xml.DOMConfigurator].

Invoking RMIC.


I only have 1 log4j.jar in my library and log4j.xml properties.
if I remove the "properties" from META-INF classpath, the error is solved, but by doing this, the application will not be able to find the log4j.xml file.

Please help.

Thanks you.

Anderson

 
Consider Paul's rocket mass heater.
 
subject: log4j:ERROR A "org.apache.log4j.xml.DOMConfigurator" object is not assignable to a "org.apache.log4j
 
Similar Threads
Log4j problem
log4j - ear file - jboss6
log4j messages in JBoss log
Jar hell concerning log4j
log4j not working with JUnit