Issue:
During adcfgclone execution in EBS 12.2, the commenv.sh file was populated with an incorrect JAVA_HOME path after the paste binary step. This caused the clone process to fail with WebLogic configuration errors.
Error Messages:
Oracle.as.t2p.exceptions.FMWT2PPasteConfigException: Paste Config In Offline Mode Failed
CLONE-20454 Execution of wlst script
CLONE-20365 Error in executing WebLogic script
Reference:
- MOS Doc ID: 2545694.1 – “12.2 E-Business Suite Rapid Clone Fails with Incorrect JAVA_HOME in commenv.sh”
- Cause: WebLogic component issue in $MIDDLEWARE_HOME/oracle_common
- Resolution: Apply Patch 27212806 to $MIDDLEWARE_HOME/oracle_common (zero downtime patch).
Steps Performed:
- Set environment variables:
bash
CopyEdit
echo $TWO_TASK # ERP_BALANCE
echo $RUN_BASE # /u02/oracle/fs1
export ORACLE_HOME=/u02/oracle/fs1/FMW_Home/oracle_common
- Check OPatch version:
bash
CopyEdit
$ORACLE_HOME/OPatch/opatch version
# OPatch Version: 11.1.0.12.9
Verify existing patches:
bash
CopyEdit
$ORACLE_HOME/OPatch/opatch lsinventory | grep 28708563
# Patch 28708563 : applied on Sun Jun 02 02:03:34 AST 2019
Apply Patch 27212806:
bash
cd /path/to/27212806
$ORACLE_HOME/OPatch/opatch apply
# All prerequisite checks passed
# Patch 27212806 successfully applied
Verify patch application:
bash
$ORACLE_HOME/OPatch/opatch lsinventory | grep 27212806
# Patch 27212806 : applied on Fri Feb 21 12:14:52 AST 2020