My Oracle Support Banner

WLS PSU OPatch Apply or Rollback Fails With Library Regeneration Error: "com.oracle.cie.gdr.utils.GdrException: Failed to apply xml diff to component definition" on compDef.xml (Doc ID 2088228.1)

Last updated on JULY 05, 2019

Applies to:

Oracle WebLogic Server - Version 12.1.3.0.0 to 12.1.3.0.0 [Release 12c]
Enterprise Manager Base Platform - Version 13.3.0.0.0 to 13.3.0.0.0 [Release 13c]
Information in this document applies to any platform.

Symptoms

OPatch fails with the following errors while applying any WebLogic Patch Set Update (PSU):

Error during Update inventory for apply phase ] Detail: OUI-67073:OPatch failed: ApplySession failed in system modification phase... 'ApplySession::apply failed: Check if library regeneration is needed with error message: com.oracle.cie.gdr.libraries.LibraryException: com.oracle.cie.gdr.utils.GdrException: Failed to apply xml diff to component definition /oracle/Middleware/Oracle_Home/inventory/Components/oracle.wls.libraries/12.1.3.0.0/compDef.xml'

A previous PSU was successfully applied with no issue and has been running since. Now trying to apply a newer PSU.

Instead of applying the new PSU to override the old PSU, even if we try to rollback previous WLS PSU patches in a separate session, we see same error:

[ Error during Update inventory for rollback Phase]. Detail: RollbackSession failed: RollbackSession failed in system modification phase... 'Check if library regeneration is needed with error message: com.oracle.cie.gdr.libraries.LibraryException: com.oracle.cie.gdr.utils.GdrException: Failed to apply xml diff to component definition /oracle/Middleware/Oracle_Home/inventory/Components/oracle.wls.libraries/12.1.3.0.0/compDef.xml'

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


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