From 329b5050e5424a0974bad35328ff71402702fd1e Mon Sep 17 00:00:00 2001 From: jshum2479 Date: Thu, 14 Jan 2021 00:11:44 -0600 Subject: [PATCH] Capture wdt stderr --- operator/src/main/resources/scripts/modelInImage.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/operator/src/main/resources/scripts/modelInImage.sh b/operator/src/main/resources/scripts/modelInImage.sh index 26f13e7e316..49e5cba4688 100755 --- a/operator/src/main/resources/scripts/modelInImage.sh +++ b/operator/src/main/resources/scripts/modelInImage.sh @@ -677,7 +677,7 @@ function generateMergedModel() { export __WLSDEPLOY_STORE_MODEL__="${NEW_MERGED_MODEL}" ${WDT_BINDIR}/validateModel.sh -oracle_home ${ORACLE_HOME} ${model_list} \ - ${archive_list} ${variable_list} -domain_type ${WDT_DOMAIN_TYPE} > ${WDT_OUTPUT} + ${archive_list} ${variable_list} -domain_type ${WDT_DOMAIN_TYPE} > ${WDT_OUTPUT} 2>&1 ret=$? if [ $ret -ne 0 ]; then trace SEVERE "WDT Failed: Validate Model Failed:" @@ -805,7 +805,7 @@ function wdtUpdateModelDomain() { export __WLSDEPLOY_STORE_MODEL__=1 ${WDT_BINDIR}/updateDomain.sh -oracle_home ${ORACLE_HOME} -domain_home ${DOMAIN_HOME} $model_list \ - ${archive_list} ${variable_list} -domain_type ${WDT_DOMAIN_TYPE} ${UPDATE_RCUPWD_FLAG} > ${WDT_OUTPUT} + ${archive_list} ${variable_list} -domain_type ${WDT_DOMAIN_TYPE} ${UPDATE_RCUPWD_FLAG} > ${WDT_OUTPUT} 2>&1 ret=$? if [ $ret -ne 0 ]; then