My Oracle Support Banner

11.2 - 12.2 : Removing LOG4J-CORE.JAR from $ORACLE_HOME/OUI/JLIB/JLIB FOLDER breaks OUI Cloning Functionality (Doc ID 2936269.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 to 12.2.0.1 [Release 11.2 to 12.2]
Information in this document applies to any platform.

Symptoms

 As per MOS Note 2828877.1, log4j-core.jar was removed from <Source Home>/oui/jlib/jlib Location and then Cloning was initiated.
However, Cloning fails in the absence of log4j-core.jar with the below errors-

11.2.0.4 & 12.1.0.2
===================
INFO: 7/13/22 8:36:31 AM UTC: Setting variable 'FROM_LOCATION' to
'<Target Oracle Home>/inventory/ContentsXML/comps.xml'. Received the value from a code block.
INFO: 7/13/22 8:36:31 AM UTC: Shutting down OUISetupDriver.JobExecutorThread
SEVERE: 7/13/22 8:36:31 AM UTC: org/apache/log4j/Priority
INFO: 7/13/22 8:36:31 AM UTC: Exit Status is 0
INFO: 7/13/22 8:36:31 AM UTC: Shutdown Application

 

 12.2.0.1
 =========
 $ cat oraInstall2023-02-27_03-37-56AM.err
 Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Priority
 at oracle.sysman.ccr.common.logging.Logger.<clinit>(Unknown Source)
 at oracle.sysman.ccr.common.MessageBundle.<clinit>(Unknown Source)
 at oracle.sysman.ccr.collector.install.ConfigResponse.<clinit>(Unknown Source)
 at oracle.sysman.oii.oiix.OiixOCMValidation.<clinit>(OiixOCMValidation.java:126)
 at oracle.sysman.oii.oiif.oiifw.OiifwOCMInfoWCDE.<init>(OiifwOCMInfoWCDE.java:103)
 at oracle.sysman.oii.oiic.OiicCloneAPISession.getIterElements(OiicCloneAPISession.java:439)
 at oracle.sysman.oii.oiic.OiicPullSession.initialize(OiicPullSession.java:1425)
 at oracle.sysman.oii.oiic.OiicPullSession.initialize(OiicPullSession.java:1407)
 at oracle.sysman.oii.oiic.OiicAPIInstaller.initCloneSession(OiicAPIInstaller.java:2001)
 at oracle.sysman.oii.oiic.OiicAPIInstaller.initOUIAPISession(OiicAPIInstaller.java:818)
 at oracle.install.driver.oui.OUISetupDriver.initSession(OUISetupDriver.java:700)
 at oracle.install.driver.oui.OUISetupDriver.setup(OUISetupDriver.java:405)
 at oracle.install.driver.oui.SetupJob.call(SetupJob.java:483)
 at oracle.install.driver.oui.SetupJob.call(SetupJob.java:64)
 at oracle.install.driver.oui.OUISetupDriver.setup(OUISetupDriver.java:538)
 at oracle.install.ivw.common.util.OracleCloner.run(OracleCloner.java:185)
 at oracle.install.commons.util.Application.startup(Application.java:1072)
 at oracle.install.commons.util.Application.startup(Application.java:800)
 at oracle.install.commons.base.driver.common.Cloner.startup(Cloner.java:83)
 at oracle.install.ivw.common.util.OracleCloner.startup(OracleCloner.java:196)
 at oracle.install.ivw.common.util.OracleCloner.main(OracleCloner.java:426)
 Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Priority
 at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
 ... 21 more

 

 

 

Changes

 Based on MOS Note 2828877.1, log4j-core.jar was removed

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


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