File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
operator/src/main/resources/scripts Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -894,6 +894,8 @@ function wdtCreatePrimordialDomain() {
894
894
895
895
trace " About to call '${WDT_BINDIR} /createDomain.sh ${wdtArgs} '."
896
896
897
+ expandWdtArchiveCustomDir
898
+
897
899
if [ -z " ${OPSS_FLAGS} " ]; then
898
900
899
901
# We get here for WLS domains, and for the JRF 'first time' case
@@ -983,6 +985,8 @@ function wdtUpdateModelDomain() {
983
985
984
986
trace " About to call '${WDT_BINDIR} /updateDomain.sh ${wdtArgs} '."
985
987
988
+ expandWdtArchiveCustomDir
989
+
986
990
${WDT_BINDIR} /updateDomain.sh ${wdtArgs} > ${WDT_OUTPUT} 2>&1
987
991
ret=$?
988
992
@@ -1378,3 +1382,14 @@ function wdtRotateAndCopyLogFile() {
1378
1382
1379
1383
cp ${WDT_ROOT} /logs/${logFileName} ${WDT_OUTPUT_DIR} /
1380
1384
}
1385
+
1386
+ # Function to expand the WDT custom folder from the archive before calling update or create domain.
1387
+ function expandWdtArchiveCustomDir() {
1388
+ cd ${DOMAIN_HOME} || exitOrLoop
1389
+ for file in $( sort_files ${IMG_ARCHIVES_ROOTDIR} " *.zip" )
1390
+ do
1391
+ ${JAVA_HOME} /bin/jar xf ${IMG_ARCHIVES_ROOTDIR} /${file} wlsdeploy/custom
1392
+ done
1393
+
1394
+ traceDirs before ${DOMAIN_HOME} /wlsdeploy/custom
1395
+ }
Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ function traceEnv() {
101
101
INTROSPECT_HOME \
102
102
PATH \
103
103
TRACE_TIMING \
104
+ WLSDEPLOY_PROPERTIES \
104
105
OPERATOR_ENVVAR_NAMES
105
106
do
106
107
echo " ${env_var} ='${! env_var} '"
You can’t perform that action at this time.
0 commit comments