Troubleshooting EBS 12.2 adcfgclone Failure: JAVA_HOME Issue in commEnv.sh

EBS 12.2 Cloning Issue – adcfgclone Fails Due to Incorrect JAVA_HOME in commEnv.sh

Background

During one of my Oracle E-Business Suite (EBS) 12.2 cloning activities, I encountered an issue where the adcfgclone process failed after the paste binary step. The problem was traced to an incorrect JAVA_HOME path in the commEnv.sh file.

Error Details

After executing the paste binary step, the commEnv.sh file under the middleware home was populated with the wrong JAVA_HOME value, causing the clone process to fail with the following errors:

AFTER PASTEBINARY COMMENV.SH FILE IS POPULATED WITH INCORRECT JAVA_HOME PATH
Oracle.as.t2p.exceptions.FMWT2PPasteConfigException: Paste Config In Offline Mode Failed
CLONE-20454 Execution of wlst script failed
CLONE-20365 Error in executing WebLogic script

Oracle Support Reference

According to Oracle Support Doc ID 2545694.1:

“E-Business Suite Applications Manager Rapidclone Fails With Error ‘FMWT2PPasteConfigException’ … Resolution: Apply Patch 27212806 to MIDDLE_WARE/oracle_common Home.”

Solution

The fix is to apply patch 27212806 to the oracle_common home in the middleware directory.

Step 1 – Set Environment Variables

export ORACLE_HOME=/u01/oracle/ERP/fs1/FMW_Home/oracle_common

Step 2 – Verify OPatch Version

$ORACLE_HOME/OPatch/opatch version
# Ensure OPatch version is compatible (e.g., 11.1.0.12.9)

Step 3 – Check Existing Patch

$ORACLE_HOME/OPatch/opatch lsinventory | grep 27212806

Step 4 – Apply Patch 27212806

cd /path/to/27212806
$ORACLE_HOME/OPatch/opatch apply

Follow the prompts and confirm readiness for patching.

Outcome

After applying patch 27212806 to the oracle_common home, the JAVA_HOME path was corrected in commEnv.sh and the adcfgclone process completed successfully.

Key Takeaways

– Always check commEnv.sh after paste binary in EBS 12.2 clones.

– Patch 27212806 is essential for environments where incorrect JAVA_HOME causes WebLogic-related clone failures.

– Zero downtime patching is supported for this fix.

Recent Posts