Tuesday, March 15, 2016

Force Shutdown in stopWebLogic.sh

1. Run this command on all WebLogic Servers on all environments:
vi $MSERVER_HOME/bin/stopWebLogic.sh

vi $ASERVER_HOME/bin/stopWebLogic.sh
2. Replace the following:
OLD:
echo "shutdown('${SERVER_NAME}','Server', ignoreSessions='true')" >>"shutdown.py"

NEW:
echo "shutdown('${SERVER_NAME}','Server', ignoreSessions='true', force='true')" >>"shutdown.py"

 
Applicable Versions
  • Oracle WebLogic Server 11g