六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 84|回复: 0

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

[复制链接]

升级  55.67%

109

主题

109

主题

109

主题

举人

Rank: 3Rank: 3

积分
367
 楼主| 发表于 2013-1-15 01:55:38 | 显示全部楼层 |阅读模式
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"
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表