Adding force shutdown of managed server in weblogic.
------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------
if we run the stopManagedweblogic.sh script. with fore="true" doesn't work as by default the script. picks force='false'.
eg : sh stopManagedWebLogic.sh oim_server1 t3://xxxxx:7011 weblogic cccccu force="true"
you see the below message in log
Shutting down the server AdminServer with force= false while connected to AdminServer ...
<Jan 26, 2012 1:05:54 AM PST> <Alert> <WebLogicServer> <BEA-000396> <Server shutdown has been requested by weblogic>
<Jan 26, 2012 1:05:54 AM PST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to SUSPENDING>
To set force shutdown by default we need perform. the below steps
cp stopWebLogic.sh stopWebLogic.sh stopWebLogic.sh.02142012
Change line as below
echo "shutdown('${SERVER_NAME}','Server')" >>"shutdown.py"
to
echo "shutdown('${SERVER_NAME}','Server', force='true')" >>"shutdown.py"