My Oracle Support Banner

Failed to rollback Patch 23071867 with "com.oracle.cie.gdr.utils.GdrException: Failed to apply xml diff to component definition" (Doc ID 2521109.1)

Last updated on SEPTEMBER 10, 2020

Applies to:

Oracle WebLogic Server - Version 12.1.3.0.0 to 12.1.3.0.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

While attempting to rollback patch 23071867 which is applied earlier on top of patch 28710923 (12.1.3.0.190115WLSPSU),  the following problem occurs. 

$opatch rollback -id 23071867
Oracle Interim Patch Installer version 13.2.0.0.0
Copyright (c) 2014, Oracle Corporation. All rights reserved.

...

...

 RollbackSession removing interim patch '23071867' from inventory
[ 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_HOME/middleware/inventory/Components/oracle.wls.libraries/12.1.3.0.0/compDef.xml'
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: $MW_HOME/opatch/23071867_Mar_X_2XX/rollbackXXX_1.log

Recommended actions: Please check if you have read/write access to the Oracle Home's inventory.

OPatch failed with error code 73 

 

Similarly,  failed to run opatch rollback -id 28710923 (12.1.3.0.190115WLSPSU).

RollbackSession removing interim patch '28710923' from inventory
[ 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_HOME/middleware/inventory/Components/oracle.wls.libraries/12.1.3.0.0/compDef.xml'
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: $MW_HOME/opatch/28710923_Mar_X_2XX/rollbackXXX_1.log 

Recommended actions: Please check if you have read/write access to the Oracle Home's inventory.

OPatch failed with error code 73

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.