Friday, February 3, 2012

OPatch failed with error code 39 (oracle.jrf.j2ee)

I was applying patch 13113594 (CPU JAN'12) to Oracle Web Tier home and received below error:
Oracle Interim Patch Installer version 11.1.0.9.4
Copyright (c) 2011, Oracle Corporation.  All rights reserved.


Oracle Home       : /oracle/product/Middleware11g/Oracle_WT1
Central Inventory : /oracle/oraInventory
   from           : /oracle/product/Middleware11g/Oracle_WT1/oraInst.loc
OPatch version    : 11.1.0.9.4
OUI version       : 11.1.0.9.0
Log file location : /oracle/product/Middleware11g/Oracle_WT1/cfgtoollogs/opatch/13113594_Feb_02_2012_12_32_20/apply2012-02-02_12-32-19PM_1.log


OPatch detects the Middleware Home as "/oracle/product/Middleware11g"

OPatch will do the following:
[Oracle Home discovery]                      : Configure and Validate Oracle Home info.
[Prerequisite for apply]                     : Invoke prerequisites to see if patch can be applied.
[Patch conflict detection for apply patch]   : Check if any conflict with already installed patches in Oracle Home.

Applying interim patch '13113594' to OH '/oracle/product/Middleware11g/Oracle_WT1'
Verifying environment and performing prerequisite checks...
Prerequisite check "CheckApplicable" failed.
The details are:
Patch 13113594: Required component(s) missing : [ oracle.jrf.j2ee, 11.1.1.4.0 ]
Log file location: /oracle/product/Middleware11g/Oracle_WT1/cfgtoollogs/opatch/13113594_Feb_02_2012_12_32_20/apply2012-02-02_12-32-19PM_1.log

Recommended actions: This patch requires some components to be installed in the home. Either the Oracle Home doesn't have the components or this patch is not suitable for this Oracle Home.

OPatch failed with error code 39

The problem is evident when I carefully read the patch README. The patch should be applied to $MW_HOME/oracle_common as the JRF component is installed in oracle_common automatically.

So follow readme preinstall instructions which say set ORACLE_HOME to $MW_HOME/oracle_common




1 comment:

  1. You're right about the README.
    Thanks heaps for this one.

    Cheers
    Kevin

    ReplyDelete