Sunday, November 22, 2015

Running /u25/ITRN/fs1/FMW_Home/oracle_common/bin/pasteConfig.sh

START: Creating new WLS domain. 
Running /u25/ITRN/fs1/FMW_Home/oracle_common/bin/pasteConfig.sh -javaHome /u25/ITRN/fs1/EBSapps/comn/util/jdk -al /u25/ITRN/fs1/EBSapps/comn/clone/FMW/WLS/EBSdomain.jar -tdl /u25/ITRN/fs1/FMW_Home/user_projects/domains/EBS_domain_ITRN -tmw /u25/ITRN/fs1/FMW_Home -mpl /u25/ITRN/fs1/EBSapps/comn/clone/FMW/WLS/plan/moveplan.xml -ldl /u25/ITRN/fs1/inst/apps/ITRN_xxxxx/admin/log/clone/run/wlsT2PApply -silent true -debug true -domainAdminPassword /u25/ITRN/fs1/EBSapps/comn/clone/FMW/tempinfo.txt 
Script Executed in 7200406 milliseconds, returning status -1 

Solution:

This status lasts for a long time and ultimately cfgclone fails on the returning status -1

While checking the below logfile I have come across the error.
/u25/ITRN/fs1/inst/apps/ITRN_xxxx/admin/log/clone/run/wlsT2PApply/CLONE2015-11-22_20-46-32_886877957.log 


<< read template from "/var/tmp/CLONINGCLIENT-5410181135532529248/packed_template.jar" 
>> succeed: read template from "/var/tmp/CLONINGCLIENT-5410181135532529248/packed_template.jar" 
<< set config option ServerStartMode to "prod" 
>> succeed: set config option ServerStartMode to "prod" 
<< write Domain to "/u25/ITRN/fs1/FMW_Home/user_projects/domains/EBS_domain_ITRN" 
Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space 
at java.util.Arrays.copyOfRange(Arrays.java:2694) 
at java.lang.String.(String.java:203) 
at java.io.BufferedReader.readLine(BufferedReader.java:349) 
at java.io.BufferedReader.readLine(BufferedReader.java:382) 
at com.oracle.cie.common.util.CRLF.readData(CRLF.java:129) 
at com.oracle.cie.common.util.CRLF.processFile(CRLF.java:67) 
at com.oracle.cie.common.util.CRLF.process(CRLF.java:57) 
at com.oracle.cie.domain.util.stringsub.SubsScriptHelper.processCRLF(SubsScriptHelper.java:167) 
at com.oracle.cie.domain.DomainGenerator.generate(DomainGenerator.java:478) 
at com.oracle.cie.domain.script.ScriptExecutor$2.run(ScriptExecutor.java:2992) 


Steps followed:

Clean the newly created fs2, fs_ne, inst, FMW_HOME and restart the adcfgclone.pl from a new session with the below parameter exported.


·         export CONFIG_JVM_ARGS="-Xms1024m -Xmx2048m"








No comments: