OC4J fails to start with "java.lang.ExceptionInInitializerError - Class Loader issues with Log4J(commons-logging.jar)"
(Doc ID 413981.1)
Last updated on FEBRUARY 13, 2025
Applies to:
Oracle Containers for J2EE - Version 10.1.3.0.0 to 10.1.3.5.0 [Release AS10gR3]Information in this document applies to any platform.
Symptoms
On 10.1.3 Oracle AS - Clustered Environment : peer-to-peer or multicast .
Log4J Libraries are loaded as a part of init-library as per application requirements.
Starting up the Container throws the following :
Application includes 3rd-party tools JBosscache (or another library or application which includes jgroups).
As OC4J’s clustering capability was established on top of jgroups functionalities (TCP, Multicast etc..) . At time, the implementation detail of LogFactory (part of commons-logging), coupled with the complicity of OC4J’s class loading system, result in a ClassCast Exception when a jgroups class tries to create and “logger” instance.
Changes
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 |
Changes |
Cause |
Solution |
References |