Applying Patch for Bug 21354530 on libOVD 11g 11.1.1.9 Fails with "duplicate entry" "OPatch failed with error code 106" (Doc ID 2088740.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Virtual Directory - Version 11.1.1.9.0 and later
Information in this document applies to any platform.

Symptoms

Attempting to apply Patch 21354530 for unpublished Bug 21354530 (nullpointerexception while opening password policy) as documented in:

NULLPOINTEREXCEPTION While Opening Password Policy in OIM Identity Console "IAM-3053039 : Error occurred while searching for password policies" (Doc ID 2046490.1)

Example of output when applying patch:

opatch apply
Oracle Interim Patch Installer version 11.1.0.11.0
Copyright (c) 2015, Oracle Corporation. All rights reserved.

Oracle Home : /tech/appl/Oracle/Middleware/wl10.3.3/oracle_common
Central Inventory : /export/home/wlmaster/oraInventory
from : /tech/appl/Oracle/Middleware/wl10.3.3/oracle_common//oraInst.loc
OPatch version : 11.1.0.11.0
OUI version : 11.1.0.9.0
Log file location : /tech/appl/Oracle/Middleware/wl10.3.3/oracle_common/cfgtoollogs/opatch/21354530_Nov_27_2015_23_05_56/apply2015-11-27_23-05-56PM_1.log

OPatch detects the Middleware Home as "/tech/appl/Oracle/Middleware/wl10.3.3"

Applying interim patch '21354530' to OH '/tech/appl/Oracle/Middleware/wl10.3.3/oracle_common'
Verifying environment and performing prerequisite checks...
All checks passed.

Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/tech/appl/Oracle/Middleware/wl10.3.3/oracle_common')

Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...

Patching component oracle.jrf.opss, 11.1.1.9.0...

The following actions have failed:
Jar not applied /tech/appl/software/OIMPS3/21354530/files//modules/oracle.ipf_11.1.1/ipf.jar/oracle/idm/common/ipf/api/vo/PasswordPolicy$1.class to /tech/appl/Oracle/Middleware/wl10.3.3/oracle_common/modules/oracle.ipf_11.1.1/ipf.jar... 'duplicate entry: oracle/idm/common/ipf/api/IpfApi$Mode.class'
Jar not applied /tech/appl/software/OIMPS3/21354530/files//modules/oracle.ipf_11.1.1/ipf.jar/oracle/idm/common/ipf/api/vo/PasswordPolicy.class to /tech/appl/Oracle/Middleware/wl10.3.3/oracle_common/modules/oracle.ipf_11.1.1/ipf.jar... 'duplicate entry: oracle/idm/common/ipf/api/IpfApi$Mode.class'
Jar not applied /tech/appl/software/OIMPS3/21354530/files//modules/oracle.ipf_11.1.1/ipf.jar/oracle/idm/common/ipf/api/password/PasswordDictionaryFileReader.class to /tech/appl/Oracle/Middleware/wl10.3.3/oracle_common/modules/oracle.ipf_11.1.1/ipf.jar... 'duplicate entry: oracle/idm/common/ipf/api/IpfApi$Mode.class'

Do you want to proceed? [y|n]
n
User Responded with: N
OPatch failed: ApplySession failed in system modification phase... 'ApplySession::apply failed: Jar not applied /tech/appl/software/OIMPS3/21354530/files//modules/oracle.ipf_11.1.1/ipf.jar/oracle/idm/common/ipf/api/vo/PasswordPolicy$1.class to /tech/appl/Oracle/Middleware/wl10.3.3/oracle_common/modules/oracle.ipf_11.1.1/ipf.jar... 'duplicate entry: oracle/idm/common/ipf/api/IpfApi$Mode.class'
Jar not applied /tech/appl/software/OIMPS3/21354530/files//modules/oracle.ipf_11.1.1/ipf.jar/oracle/idm/common/ipf/api/vo/PasswordPolicy.class to /tech/appl/Oracle/Middleware/wl10.3.3/oracle_common/modules/oracle.ipf_11.1.1/ipf.jar... 'duplicate entry: oracle/idm/common/ipf/api/IpfApi$Mode.class'
Jar not applied /tech/appl/software/OIMPS3/21354530/files//modules/oracle.ipf_11.1.1/ipf.jar/oracle/idm/common/ipf/api/password/PasswordDictionaryFileReader.class to /tech/appl/Oracle/Middleware/wl10.3.3/oracle_common/modules/oracle.ipf_11.1.1/ipf.jar... 'duplicate entry: oracle/idm/common/ipf/api/IpfApi$Mode.class'

'
OPatch will attempt to restore the system...
Restoring the Oracle Home...
Checking if OPatch needs to invoke 'make' to restore some binaries...
OPatch was able to restore your system. Look at log file and timestamp of each file to make sure your system is in the state prior to applying the patch.
Log file location: /tech/appl/Oracle/Middleware/wl10.3.3/oracle_common//cfgtoollogs/opatch/21354530_Nov_27_2015_23_05_56/apply2015-11-27_23-05-56PM_1.log

OPatch failed with error code 106

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms