My Oracle Support Banner

Opatch Fails With Error 'Cyclic Dependency Detected' When Applying Patch to ODI (Doc ID 2257944.1)

Last updated on OCTOBER 01, 2020

Applies to:

Oracle Data Integrator - Version 12.1.2.0.0 and later
Oracle Data Integrator on Marketplace - Version 12.2.1.4.200123 and later
Information in this document applies to any platform.

Symptoms

When applying a patch to Oracle Data Integrator (ODI) using the OPatch tool, it might fail with an error code and the following messages with the exception error "com.oracle.cie.gdr.libraries.LibraryHandlerException: Cyclic dependency detected among featureset libraries" inside:

writeMakeEntry() to "/<DIR_PATH>/.patch_storage/NApply/2017-04-21_10-54-00AM" as "make.txt
OPatchSessionHelper::getIncludedMakeAction()
NApply: re-link Oracle binaries.
There are 0 make actions.
N-Apply: Step 12.5, run all consolidated library regenerations. OPatch run this step only when user doesn't specify 'APPLY_MAKE'
RegenerateLib::regenerate()
Try to mkdir on "/<DIR_PATH>/.patch_storage/NApply/2017-04-21_10-54-00AM/library_backup"
SystemCall::copyFile()
SystemCall::copyFile(): copy file /<DIR_PATH>/odi/modules/clients/oracle.odi.sdk.clientLib.jar to /<DIR_PATH>/.patch_storage/NApply/2017-04-21_10-54-00AM/library_backup/odi/modules/clients/oracle.odi.sdk.clientLib.jar
UtilSession failed: com.oracle.cie.gdr.libraries.LibraryException: com.oracle.cie.gdr.libraries.LibraryException: com.oracle.cie.gdr.libraries.LibraryHandlerException: Cyclic dependency detected among featureset libraries: [/<DIR_PATH>/modules/clients/oracle.odi.sdk.clientLib.jar]
OUISessionManager::endSavedSession()
OUISessionManager::endSavedSession() end saved session
OUISessionManager::endSavedSession()
==> OUIInventorySession::endSession(): Process ID: 7721. Thread ID: 1
Log file location: /<DIR_PATH>/cfgtoollogs/opatch/opatch2017-04-21_10-54-00AM_1.log

OPatch failed with error code 73

 

 The opatch<DATE>.log has entries similar to the following:

[INFO]    Stack Description: java.lang.RuntimeException: ApplySession failed in system modification phase... 'ApplySession::apply failed: oracle.glcm.opatch.common.api.install.HomeOperationsException: A failure occurred while processing patch: <PATCH_ID>'
at com.oracle.cie.gdr.patch.HomeOperationsImpl.processPatch(HomeOperationsImpl.java:744)
at oracle.opatch.ipm.IPMRWServices.processPatch(IPMRWServices.java:955)
at oracle.opatch.ipm.IPMRWServices.savePatch(IPMRWServices.java:454)
at oracle.opatch.ApplySession.apply(ApplySession.java:953)
at oracle.opatch.ApplySession.processLocal(ApplySession.java:4080)
at oracle.opatch.ApplySession.process(ApplySession.java:5061)
at oracle.opatch.ApplySession.process(ApplySession.java:4923)
at oracle.opatch.OPatchACL.processApply(OPatchACL.java:310)
at oracle.opatch.opatchutil.NApply.legacy_process(NApply.java:1416)
at oracle.opatch.opatchutil.NApply.legacy_process(NApply.java:368)
at oracle.opatch.opatchutil.NApply.process(NApply.java:348)
at oracle.opatch.opatchutil.OUSession.napply(OUSession.java:1108)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at oracle.opatch.UtilSession.process(UtilSession.java:355)
at oracle.opatch.OPatchSession.process(OPatchSession.java:2650)
at oracle.opatch.OPatch.process(OPatch.java:779)
at oracle.opatch.OPatch.main(OPatch.java:829)
Caused by: java.lang.RuntimeException: ApplySession failed in system modification phase... 'ApplySession::apply failed: oracle.glcm.opatch.common.api.install.HomeOperationsException: A failure occurred while processing patch: <PATCH_ID>'
 ... 20 more
Caused by: java.lang.Error: ApplySession failed in system modification phase... 'ApplySession::apply failed: oracle.glcm.opatch.common.api.install.HomeOperationsException: A failure occurred while processing patch: <PATCH_ID>'
 ... 20 more
Caused by: java.lang.RuntimeException: ApplySession::apply failed: oracle.glcm.opatch.common.api.install.HomeOperationsException: A failure occurred while processing patch: 31652178
 ... 20 more
Caused by: java.lang.RuntimeException: oracle.glcm.opatch.common.api.install.HomeOperationsException: A failure occurred while processing patch: 31652178
 ... 20 more
Caused by: oracle.glcm.opatch.common.api.install.HomeOperationsException: A failure occurred while processing patch: <PATCH_ID>
 ... 20 more
Caused by: com.oracle.cie.gdr.libraries.LibraryException: com.oracle.cie.gdr.libraries.LibraryException: com.oracle.cie.gdr.libraries.LibraryHandlerException: Cyclic dependency detected among featureset libraries: [<ORACLE_HOME>/modules/clients/oracle.odi.sdk.clientLib.jar]
at com.oracle.cie.gdr.external.impl.LibraryGeneratorImpl.regenerateLibrary(LibraryGeneratorImpl.java:367)
at com.oracle.cie.gdr.external.impl.LibraryGeneratorImpl.regenerateLibraryPaths(LibraryGeneratorImpl.java:301)
at com.oracle.cie.gdr.patch.PatchHandlerImpl.regenerateLibraries(PatchHandlerImpl.java:1923)
at com.oracle.cie.gdr.patch.PatchHandlerImpl.processPatchUsingPaths(PatchHandlerImpl.java:756)
at com.oracle.cie.gdr.patch.HomeOperationsImpl.processPatch(HomeOperationsImpl.java:740)
 ... 19 more
Caused by: com.oracle.cie.gdr.libraries.LibraryException: com.oracle.cie.gdr.libraries.LibraryHandlerException: Cyclic dependency detected among featureset libraries: [<ORACLE_HOME>/modules/clients/oracle.odi.sdk.clientLib.jar]
at com.oracle.cie.gdr.external.impl.LibraryGeneratorImpl.regenerateLibrary(LibraryGeneratorImpl.java:597)
at com.oracle.cie.gdr.external.impl.LibraryGeneratorImpl.regenerateLibrary(LibraryGeneratorImpl.java:352)
 ... 23 more
Caused by: com.oracle.cie.gdr.libraries.LibraryHandlerException: Cyclic dependency detected among featureset libraries: [<ORACLE_HOME>/modules/clients/oracle.odi.sdk.clientLib.jar]
at com.oracle.cie.gdr.libraries.LibraryProcessorManager.addLibraryToLoop(LibraryProcessorManager.java:392)
at com.oracle.cie.gdr.libraries.LibraryProcessorTask.run(LibraryProcessorTask.java:108)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

 

When troubleshooting OPatch with the Linux strace utility, a line similar to the following is logged with the '-1 EMFILE (Too many open files)' message.

8105 open("/<DIR_PATH>/odi/sdk/lib/scripts/deprecated/SYBASE_AS_ENTERPRISE/patches/W_300101_300102.xml", O_RDONLY) = -1 EMFILE (Too many open files)

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.