Oracle EBS Application cloning- Error
TxkSetOHSConfig.pl Fails During Clone with oracle.as.t2p.exceptions.FMWT2PPasteConfigException: java.lang.Exception: Unable to start OHS Component, Oracle EBS 12.2 Application Cloning the got the following Issues
Perl adcgclone.pl appsTier dualfs
Configuring: Run file system…
LogFile located at /uatapp/UAT/fs1/inst/apps/UAT_app-uat/admin/log/clone/run/RCloneApplyAppstier_10301831.log
<Oct 30, 2021 6:54:41 PM IST> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
ERROR: Failed to configure the target system,
please check the logfile in : /uatapp/UAT/fs1/inst/apps/UAT_app-uat/admin/log/clone
logfile:
START: Instantiating the OHS Config.
Running /uatapp/UAT/fs1/FMW_Home/webtier/perl/bin/perl -I/uatapp/UAT/fs1/FMW_Home/webtier/perl/lib/5.10.0 -I/uatapp/UAT/fs1/FMW_Home/webtier/perl/lib/site_perl/5.10.0 -I/uatapp/UAT/fs1/EBSapps/appl/au/12.0.0/perl -I/uatapp/UAT/fs1/FMW_Home/webtier/ohs/mod_perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /uatapp/UAT/fs1/EBSapps/appl/fnd/12.0.0/patch/115/bin/txkSetOHSConfig.pl cfgCloneInstance -ctxfile=/uatapp/UAT/fs1/inst/apps/UAT_app-uat/appl/admin/UAT_app-uat.xml -archvloc=/uatapp/UAT/fs1/EBSapps/comn/clone/FMW/OHS/ohsarchive.jar -mvpln=/uatapp/UAT/fs1/EBSapps/comn/clone/FMW/OHS/moveplan.xml -t2plogloc=/uatapp/UAT/fs1/inst/apps/UAT_app-uat/admin/log/clone/run/ohsT2PApply -logdir=/uatapp/UAT/fs1/inst/apps/UAT_app-uat/admin/log/clone/run -console=off -promptmsg=hide
Script Executed in 134803 milliseconds, returning status 255
ERROR: Script failed, exit code 255
In the CLONE-26009 OHS T2P error, the following error is present
WARNING: Failed to start component EBS_web
SEVERE : [PLUGIN][OHS] – ERROR – Oct 30, 2021 18:57:49 – CLONE-26009 OHS T2P failed.
SEVERE : [PLUGIN][OHS] – CAUSE – Oct 30, 2021 18:57:49 – CLONE-26009 Unable to start OS component.
SEVERE : [PLUGIN][OHS] – ACTION – Oct 30, 2021 18:57:49 – CLONE-26009 Check clone log and error file and ohs log file /uatapp/UAT/fs1/FMW_Home/webtier/instances/EBS_web_OHS1/diagnostics/logs/OHS/EBS_web/console~OHS~1.log for root cause.
SEVERE : Oct 30, 2021 18:57:49 – ERROR – CLONE-20218 Cloning is not successful.
SEVERE : Oct 30, 2021 18:57:49 – CAUSE – CLONE-20218 An internal operation failed.
SEVERE : Oct 30, 2021 18:57:49 – ACTION – CLONE-20218 Provide the clone log and error file for investigation.
oracle.as.t2p.exceptions.FMWT2PPasteConfigException: java.lang.Exception: Unable to start OHS Component.
at oracle.as.clone.ohs.impl.OHSComponentApplyClonerImpl.doPostPasteConfig(OHSComponentApplyClonerImpl.java:269)
at oracle.as.clone.cloner.component.ComponentApplyCloner.doClone(ComponentApplyCloner.java:193)
at oracle.as.clone.cloner.Cloner.doFinalClone(Cloner.java:63)
at oracle.as.clone.request.ApplyCloneRequest.applyArchive(ApplyCloneRequest.java:198)
at oracle.as.clone.request.ApplyCloneRequest._clone(ApplyCloneRequest.java:77)
at oracle.as.clone.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:131)
at oracle.as.clone.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:114)
at oracle.as.clone.client.CloningClient.executeT2PCommand(CloningClient.java:236)
at oracle.as.clone.client.CloningClient.main(CloningClient.java:124)
Caused by: java.lang.Exception: Unable to start OHS Component.
at oracle.as.clone.ohs.impl.OHSComponentApplyClonerImpl.doPostPasteConfig(OHSComponentApplyClonerImpl.java:265)
… 8 more
Relevance to the Issue
—————————
oracle.as.t2p.exceptions.FMWT2PPasteConfigException: java.lang.Exception: Unable to start OHS Component
ERROR
———————–
In the file console_OHS_1.log, the following error is present
/uatapp/UAT/fs1/FMW_Home/webtier/ohs/bin/apachectl startssl: execing httpd
ModSecurity: WARNING Using transformations in SecDefaultAction is deprecated (/uatapp/UAT/fs1/FMW_Home/webtier/instances/EBS_web_OHS1/config/OHS/EBS_web/security2.conf:75).
ModSecurity: WARNING Using transformations in SecDefaultAction is deprecated (/uatapp/UAT/fs1/FMW_Home/webtier/instances/EBS_web_OHS1/config/OHS/EBS_web/security2.conf:90).
/uatapp/UAT/fs1/FMW_Home/webtier/ohs/bin/apachectl startssl: execing httpd
ModSecurity: WARNING Using transformations in SecDefaultAction is deprecated (/uatapp/UAT/fs1/FMW_Home/webtier/instances/EBS_web_OHS1/config/OHS/EBS_web/security2.conf:75).
ModSecurity: WARNING Using transformations in SecDefaultAction is deprecated (/uatapp/UAT/fs1/FMW_Home/webtier/instances/EBS_web_OHS1/config/OHS/EBS_web/security2.conf:90).
Cause:
There were a few missing prerequisites so an RDA should be run.
CONFIG_JVM_ARGS was not set.
Solution:
Set the CONFIG_JVM_ARGS as follows:
export CONFIG_JVM_ARGS=”-Xms1024m -Xmx1024m”
Retest the issue
TxkSetOHSConfig.pl Fails During Clone with oracle.as.t2p.exceptions.FMWT2PPasteConfigException: java.lang.Exception: Unable to start OHS Component. (Doc ID 2190477.1)