My Oracle Support Banner

E1: JAVA: Java Incompatible with com.jdedwards.base.logging.log4j.JdeLogger error at runtime (Doc ID 1610744.1)

Last updated on AUGUST 23, 2017

Applies to:

JD Edwards EnterpriseOne Tools - Version 8.98 to 9.1 [Release 8.98 to 9.1]
Information in this document applies to any platform.

Symptoms


Custom Java Dynamic Connector implementation.
The sample works in JDV900. Even though you use the same configuration files, you get the following error in the custom application which uses the Dynamic Java Connector solution:

Caused by: java.lang.ExceptionInInitializerError
at java.lang.J9VMInternals.initialize(J9VMInternals.java:222)
at com.jdedwards.database.jdb.JDBConnectorImpl.getPhysicalConnection(Unknown Source)
at com.jdedwards.database.jdb.JDBSystem.getPhysicalConnection(Unknown Source)
at com.jdedwards.database.services.ocm.OCMServiceFactory.getOCM(Unknown Source)
at com.jdedwards.database.services.ocm.OCMServiceFactory.findService(Unknown Source)
at com.jdedwards.services.ServiceLoader.findService(Unknown Source)
at com.jdedwards.services.objectlookup.ObjectLookupServiceLoader.findService(Unknown Source)
at com.jdedwards.system.connector.dynamic.UserSession.initialize(Unknown Source)
at com.jdedwards.system.connector.dynamic.UserSession.(Unknown Source)
at com.jdedwards.system.connector.dynamic.Connector.loginBase(Unknown Source)
at com.jdedwards.system.connector.dynamic.Connector.loginBase(Unknown Source)
at com.jdedwards.system.connector.dynamic.Connector.login(Unknown Source)
... 25 more
Caused by: java.lang.ClassCastException: java.util.logging.LogManager$RootLogger incompatible with com.jdedwards.base.logging.log4j.JdeLogger
at com.jdedwards.base.logging.log4j.JdeLogger.callHandlers(Unknown Source)
at com.jdedwards.base.logging.log4j.JdeLogger.forcedLog(Unknown Source)
at com.jdedwards.base.logging.log4j.JdeLogger.severe(Unknown Source)
at com.jdedwards.database.impl.physical.JDBConnectionManager.registerDrivers(Unknown Source)
at com.jdedwards.database.impl.physical.JDBConnectionManager.(Unknown Source)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
... 36 more

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.