adpreclone.pl fails on Applications Tier with below error:
perl adpreclone.pl appsTier
Copyright (c) 2011, 2014 Oracle Corporation
Redwood Shores, California, USA
Oracle E-Business Suite Rapid Clone
Version 12.2
adpreclone Version 120.31.12020000.18
Enter the APPS User Password:
Enter the Weblogic AdminServer password :
Checking the status of the Oracle WebLogic Administration Server….
Running perl <EBS_ROOT>/fs2/EBSapps/appl/ad/12.0.0/patch/115/bin/adProvisionEBS.pl ebs-get-serverstatus -contextfile=/../oracle/../fs2/inst/apps/<CONTEXT_NAME>/appl/admin/<CONTEXT_NAME>.xml -servername=AdminServer -promptmsg=hide
The Oracle WebLogic Administration Server is up.
Running:
perl <EBS_ROOT>/fs2/EBSapps/appl/ad/12.0.0/bin/adclone.pl java=<EBS_ROOT>/fs2/EBSapps/comn/util/jdk64 mode=stage stage=<EBS_ROOT>/fs2/EBSapps/comn/clone component=appsTier method= appctx=/../oracle/../fs2/inst/apps/<CONTEXT_NAME>/appl/admin/<CONTEXT_NAME>.xml showProgress
Setting the wls environment
Edit session is enabled in domain.Please activate all of your changes before proceed clone
ERROR while running perl <EBS_ROOT>/fs2/EBSapps/appl/ad/12.0.0/bin/adclone.pl java=<EBS_ROOT>/fs2/EBSapps/comn/util/jdk64 mode=stage stage=<EBS_ROOT>/fs2/EBSapps/comn/clone component=appsTier method= appctx=/../oracle/../fs2/inst/apps/<CONTEXT_NAME>/appl/admin/<CONTEXT_NAME>.xml showProgress …
Cause:
In the Weblogic Console, the Edit session is enabled in the domain. Hence, adpreclone.pl is unable to complete it successfully.
Solution:
Execute the following steps to fix the issue:
a) Login to the WLS Console
b) Review the “Change Center” and click the “Release Configuration”
c) You should see the domain in “Lock & Edit” mode.
d) Re-run adpreclone on the Applications Tier.