WebLogic: How To Prevent OS Signals From Shutting Down WebLogic Server Instances

Published on Friday, 07 May 2010 21:43 | Written by Schelstraete Bart | Print | Email | Hits: 103
When WebLogic Server running with the Sun JVM is shutdown, it is because there is a unwanted operating system call terminating the process. The shutdown of the server is traced in the log files like this

<BEA-000388> <JVM called WLS shutdown hook. The server will force shutdown now>
<BEA-000396> <Server shutdown has been requested by <WLS Kernel>>

To overcome the problem, specify -Xrs parameter for SUN JVM in the JAVA startup arguments in the server startup script if the servers are started using script. Alternatively, specify the parameter in JAVA_ARGUMENTS in the remote start tab in WLS Admin console.

-Xrs reduces usage of operating-system signals by the JVM.To avoid possible interference, the -Xrs command-line option does not watch for or process CTRL_C_EVENT, CTRL_CLOSE_EVENT,
CTRL_LOGOFF_EVENT, or CTRL_SHUTDOWN_EVENT.

JAVA_OPTIONS="${JAVA_OPTIONS} -Djava.awt.headless=true -Xrs"
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值