My Oracle Support Banner

OPatch Unable To Find Middleware Directory To Configure OCM When Applying Patch to Web Tier (Doc ID 1235498.1)

Last updated on JUNE 29, 2023

Applies to:

Oracle Fusion Middleware - Version 11.1.1.2.0 and later
Information in this document applies to any platform.

Symptoms

Failure when running "opatch apply" to apply a one-off patch to an Oracle Fusion Middleware 11g Web Tier installation.

The Web Tier is an install type comprising only of System Components (no Java components). The problem is only expected when patching a Home based only on System Components.

Verified in the file opatch2010_09_14_15_58_35PM.log which shows (snippet) -
INFO:Need to look into Middleware Home to configure OCM
SEVERE:OUI-67073:ApplySession failed: ApplySession failed but Oracle Home has not been modified.
OPatch was not able to find the Middleware Home's directory "<MIDDLEWARE_HOME>/utils" to configure OCM.
INFO:System intact, OPatch will not attempt to restore the system
INFO:Finishing ApplySession at Tue Sep 14 15:58:39 BST 2010
INFO:Total time spent waiting for user-input is 0 seconds. Finish at Tue Sep 14 15:58:39 BST 2010
INFO:Stack Description: java.lang.RuntimeException: ApplySession failed but Oracle Home has not been modified.
OPatch was not able to find the Middleware Home's directory "<MIDDLEWARE_HOME>/utils" to configure OCM.
INFO:StackTrace: oracle.opatch.SCM.processMiddlewareOCM(SCM.java:1001)
INFO:StackTrace: oracle.opatch.OPatchSessionHelper.processOCM(OPatchSessionHelper.java:399)
INFO:StackTrace: oracle.opatch.ApplySession.processLocal(ApplySession.java:3851)
INFO:StackTrace: oracle.opatch.ApplySession.process(ApplySession.java:5577)
INFO:StackTrace: oracle.opatch.OPatchSession.main(OPatchSession.java:1719)
INFO:StackTrace: oracle.opatch.OPatch.main(OPatch.java:630)

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.