You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# when a config.xml is found right away at ${DOMAIN_HOME}/config
139
-
# then don't bother looking a level deeper in "${DOMAIN_HOME}"/*/config
140
-
break
141
-
fi
142
149
done
143
150
151
+
rm -f $tfile
152
+
144
153
if [ $count-eq 1 ];then
145
154
export DOMAIN_HOME="${eff_domain_home}"
146
155
return 0
@@ -150,7 +159,8 @@ function exportEffectiveDomainHome() {
150
159
trace "Error: No config.xml found at DOMAIN_HOME/config/config.xml or DOMAIN_HOME/*/config/config.xml, DOMAIN_HOME='$DOMAIN_HOME'. Check your 'domainHome' setting in your WebLogic Operator Domain resource, and your pv/pvc mount location (if any)."
151
160
return 1
152
161
fi
153
-
162
+
163
+
# if we get this far, count is > 1
154
164
trace "Error: More than one config.xml found at DOMAIN_HOME/config/config.xml and DOMAIN_HOME/*/config/config.xml, DOMAIN_HOME='$DOMAIN_HOME': ${found_configs}. Configure your 'domainHome' setting in your WebLogic Operator Domain resource to reference a single WebLogic domain."
0 commit comments