如何使用命令stopManagedWebLogic.sh强制关闭 WebLogic 托管服务器(Managed Server)

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 ...
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"
本文转自ITPUB博客tolywang的博客,原文链接:如何使用命令stopManagedWebLogic.sh强制关闭 WebLogic 托管服务器(Managed Server) ,如需转载请自行联系原博主。
上一篇:JavaScript捕获窗口关闭事件


下一篇:SVN使用教程之-分支/标记 合并 subeclipse (转)