Log4j error



We are using OBjectDB OEM Enhancer as part of our build process and we encountered following log4j error:

     [echo] Start enhancement of ORS entities for use in ObjectDB
     [java] log4j:ERROR A "org.apache.log4j.xml.DOMConfigurator" object is not assignable to a "org.apache.log4j.spi.Configurator" variable.
     [java] log4j:ERROR The class "org.apache.log4j.spi.Configurator" was loaded by
     [java] log4j:ERROR [com.objectdb.o.BCL@7fdcde] whereas object of type
     [java] log4j:ERROR "org.apache.log4j.xml.DOMConfigurator" was loaded by [sun.misc.Launcher$AppClassLoader@d9f9c3].

     [java] log4j:ERROR Could not instantiate configurator [org.apache.log4j.xml.DOMConfigurator].
     [java] log4j:WARN No appenders could be found for logger (org.apache.log4j.jmx.HierarchyDynamicMBean).
     [java] log4j:WARN Please initialize the log4j system properly.
     [java] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
     [java] [ObjectDB 2.5.0_06 OEM Enhancer]
     [java] 36 persistable types have been enhanced:
... entities list omitted ...
     [echo] ObjectDB enhancement finished


It seems like this error somehow changes our logging level to DEBUG. Is there possibility that ObjectDB's logging somehow changes our own log4j configuration?




ObjectDB doesn't change the logging level, but apparently there is a class loading conflict.

Please try build 2.5.1_05, which includes an attempt to fix this issue.

ObjectDB Support