File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
operator/src/main/resources/scripts Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -73,13 +73,13 @@ if [ "${MOCK_WLS}" != 'true' ]; then
73
73
# Adjust PATH if necessary before calling jps
74
74
adjustPath
75
75
76
- if [ ` jps -l | grep -c " weblogic.NodeManager " ` -eq 0 ]; then
77
- trace SEVERE " WebLogic NodeManager process not found."
76
+ if [ ` jps -v | grep -c " -Dweblogic.Name= ${SERVER_NAME} " ` -eq 0 ]; then
77
+ trace SEVERE " WebLogic Server instance process not found."
78
78
exit $RETVAL
79
79
fi
80
80
fi
81
81
82
- if [ -f ${STATEFILE} ] && [ ` grep -c " FAILED_NOT_RESTARTABLE " ${STATEFILE} ` -eq 1 ]; then
82
+ if [ -f ${STATEFILE} ] && [ ` grep -c " FAILED " ${STATEFILE} ` -eq 1 ]; then
83
83
# WARNING: This state file check is essentially a public API and
84
84
# must continue to be honored even if we remove the node
85
85
# manager from the life cycle.
@@ -88,7 +88,7 @@ if [ -f ${STATEFILE} ] && [ `grep -c "FAILED_NOT_RESTARTABLE" ${STATEFILE}` -eq
88
88
# the file to FAILED_NOT_RESTARTABLE to force a liveness
89
89
# failure when the user detects that their applications
90
90
# are unresponsive.)
91
- trace SEVERE " WebLogic Server state is FAILED_NOT_RESTARTABLE ."
91
+ trace SEVERE " WebLogic Server state is " ` cat ${STATEFILE} | cut -f 1 -d ' : ' ` " ."
92
92
exit $RETVAL
93
93
fi
94
94
You can’t perform that action at this time.
0 commit comments