ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 如何使用命令stopManagedWebLogic.sh强制关闭 WebLogic 托管服务器(Managed Server)

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

原创 Linux操作系统 作者:tolywang 时间:2013-01-15 13:03:40 0 删除 编辑
 
 
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博客 ” ,链接:https://blog.itpub.net/35489/viewspace-752682/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Oracle , MySQL, SAP IQ, SAP HANA, PostgreSQL, Tableau 技术讨论,希望在这里一起分享知识,讨论技术,畅谈人生 。

注册时间:2007-12-10

  • 博文量
    5595
  • 访问量
    14695350