웹로직 12.2.X 이상에서 weblogic.Admin 유틸리티가 Deprecated 되어 force shutdown 사용이 불가하였을 것입니다.
오라클의 가이드는 weblogic.Admin 대신 WLST를 이용하라는 것입니다.
참조URL: http://docs.oracle.com/cd/E24329_01/web.1211/e24497/roadmap.htm#i1063423
WLST > Life Cycle Commands > shutdown 에서 force 옵션을 설정할 수 있습니다. (디폴트는 false)
참조URL: http://docs.oracle.com/cd/E23943_01/web.1111/e13813/reference.htm#WLSTC119
설정 방법은 아래와 같습니다.
{DOMAIN_HOME}/bin/stopWebLogic.cmd(sh) 파일에서 아래와 같은 부분에 force='true' 추가
------------------------------------------------------------------------
echo wlsUserID = java.lang.System.getenv^('wlsUserID'^) >"shutdown-%SERVER_NAME%.py"
echo wlsPassword = java.lang.System.getenv^('wlsPassword'^) >>"shutdown-%SERVER_NAME%.py"
echo connect^(%userID% %password% url='%ADMIN_URL%', adminServerName='%SERVER_NAME%'^) >>"shutdown-%SERVER_NAME%.py"
echo shutdown^('%SERVER_NAME%','Server', ignoreSessions='true', force='true'^) >>"shutdown-%SERVER_NAME%.py"
echo exit^(^) >>"shutdown-%SERVER_NAME%.py"
------------------------------------------------------------------------
로그확인
------------------------------------------------------------------------
####<2017. 2. 22, 4:12:13,593 오후 KST> <Notice> <WebLogicServer> <eyshim-PC> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <89b6ca7a-d225-4022-8e71-8bd937b38140-00000028> <1487747533593> <[severity-value: 32] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-000396> <Server shutdown has been requested by weblogic.>
####<2017. 2. 22, 4:12:13,601 오후 KST> <Notice> <WebLogicServer> <eyshim-PC> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <89b6ca7a-d225-4022-8e71-8bd937b38140-00000028> <1487747533601> <[severity-value: 32] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-000365> <Server state changed to FORCE_SUSPENDING.>
####<2017. 2. 22, 4:12:13,619 오후 KST> <Notice> <WebLogicServer> <eyshim-PC> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <89b6ca7a-d225-4022-8e71-8bd937b38140-00000028> <1487747533619> <[severity-value: 32] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-000365> <Server state changed to ADMIN.>
####<2017. 2. 22, 4:12:13,621 오후 KST> <Notice> <WebLogicServer> <eyshim-PC> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <89b6ca7a-d225-4022-8e71-8bd937b38140-00000028> <1487747533621> <[severity-value: 32] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.>
------------------------------------------------------------------------
Recent Comments