Sunday, May 14, 2017

E-Business Suite R12 Opatch for 10.1.3 Fails with Error MISSING_COMPONENT: oracle.j2ee, 10.1.3.5.0 This Oracle Home does not have components/versions required by the patch. OPatch failed during prerequisite check.

E-Business Suite R12 Opatch for 10.1.3 Fails with Error MISSING_COMPONENT: oracle.j2ee, 10.1.3.5.0 This Oracle Home does not have components/versions required by the patch. OPatch failed during prerequisite check.


Applies TO:

Oracle E-Business Suite Technology Stack - Version 12.1.3 to 12.2.5 [Release 12.1 to 12.2]
Information in this document applies to any platform.

Symptoms:

E-Business Suite 12.1.3 Applications Technology Stack, HTTP Server issues

Applying Patch on EBS 12.1.3 to the 10.1.3 home fails with the following error:

MISSING_COMPONENT : oracle.j2ee, 10.1.3.5.0

This Oracle Home does not have components/versions required by the patch.

Error: OPatch failed during prerequisite check.

Cause:

The wrong environment file was sourced.

If the wrong environment file is sourced, Opatch will perform the prerequisite check against the wrong $ORACLE_HOME. The problem can occur in a number of different cases, including the upgrade of the Workflow Mailer.

For example, this Error can occur when trying to apply Patch 9452181 to upgrade the java mailer to API 1.4.3 per the following document:

Note 2077434.1 - Configuring an Oracle Workflow Notification Mailer with Cloud E-Mail Servers (Doc ID 2077434.1)

Solution:

The $ORACLE_HOME for applying a patch to the 10.1.3 home should be the $IAS_ORACLE_HOME.

To resolve the "MISSING_COMPONENT : oracle.j2ee, 10.1.3.5.0" prerequisite error, test the following steps in a development instance and then migrate accordingly:

1. Confirm in the readme the patch is to be applied to the 10.1.3 home. The following should be seen in the patch readme:

Product Version # : 10.1.3.5.0

2. Confirm that $ORACLE_HOME is set properly with the echo command:

$ echo $ORACLE_HOME

The output from the above should match the $IAS_ORACLE_HOME, which is the 10.1.3 home for E-Business Suite 12.1.3

3. If $ORACLE_HOME is not the same as the $IAS_ORACLE_HOME, source the environment file located in the following directory and repeat step 2 to confirm the right $ORACLE_HOME is set:

$INST_TOP/ora/10.1.3/

To find the environment file in $INST_TOP/ora/10.1.3/ use the following command:

$ 'ls *.env'

4. With the right $ORACLE_HOME set, apply the patch and confirm the error is resolved.

Note:

If the issue still occur, check which 10.1.3 HTTP server version is being used via the following step:
cd $ORACLE_HOME/oui/bin
./runInstaller.sh

Check for Installed product under 10_1_3 oracle_home, and expand Oracle Application Server 10g.

If you see that you are on the 10.1.3.4, then you need to upgrade HTTP Server to 10.1.3.5.

Reference metalink Doc ID 2126230.1

No comments:

Post a Comment