Error:
SEVERE : May 15, 2016 12:07:48 - ERROR - CLONE-20368 Domain pack failed.
SEVERE : May 15, 2016 12:07:48 - CAUSE - CLONE-20368 Make sure that values specified are correct.
SEVERE : May 15, 2016 12:07:48 - ACTION - CLONE-20368 Check the T2P logs for more details.
java.lang.Exception: Domain pack failed.
CLONE2016*****.log
<< read domain from "$FMW_Home/user_projects/domains/$DOMAIN_NAME"
>> succeed: read domain from "$FMW_Home/user_projects/domains//$DOMAIN_NAME"
<< write template to "$INST_TOP/logs/appl/rgf/TXK/CLONINGCLIENT*********************/packed_domain.jar"
CFGFWK-60550: Script execution aborted. The script may contain an error.
Java heap space
FINE : May 15, 2016 12:07:48 - [CloneLogger:unSetSystemOutErrToCloneLogger] Invoking unsetSystemOutErrToCloneLogger 1
FINE : May 15, 2016 12:07:48 - [CloneLogger:unSetSystemOutErrToCloneLogger] Invoking unsetSystemOutErrToCloneLogger 2
INFO : May 15, 2016 12:07:48 - CLONE-21096 Process complete in 3275466 milli sec.
INFO : May 15, 2016 12:07:48 - CLONE-21031 Time taken to add all the cloners to archive was "3,275" seconds.
INFO : May 15, 2016 12:07:48 - CLONE-21006 Total time taken by T2P process was 3,275 seconds.
Solution:
Let's make a small change in your WLS_HOME/common/bin/pack.sh to raise the used heap to 1Gb.
1) Copy WLS_HOME/common/bin/pack.sh to WLS_HOME/common/bin/packBACKUP.sh
2) Edit WLS_HOME/common/bin/pack.sh
Go to the empty line 95 and insert MEM_ARGS="-Xms1024m -Xmx1024m"
Change this section from:
cd "${WL_HOME}/common/lib"
JVM_ARGS="-Dprod.props.file='${WL_HOME}/.product.properties' ${MEM_ARGS} ${CONFIG_JVM_ARGS}"
To this:
cd "${WL_HOME}/common/lib"
MEM_ARGS="-Xms1024m -Xmx1024m"
JVM_ARGS="-Dprod.props.file='${WL_HOME}/.product.properties' ${MEM_ARGS} ${CONFIG_JVM_ARGS}"
3) Save WLS_HOME/common/bin/pack.sh and exit
4) Retry the prepare phase