BEA-000449 Closing socket as no data read from it on during the configured idle timeout of 5 secs

weblogic后台会报这样的警告:

<Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 0:0:0:0:0:0:0:1:11,673 during the configured idle timeout of 5 secs>

而且是每过5秒就报一次,如果长时间前台不动,后台会有一堆warning。这个是weblogic服务器连接超时的warning

默认设置的是5000ms,可以这样更改

1.登录weblogic

2.主页-环境-服务器-AdminServer-优化

3.在优化选项下有登录超时选项,更改即可

关于连接超时的说明:

The login timeout for this server’s default regular (non-SSL) listen port. This is the maximum amount of time allowed for a new connection to establish.
A value of 0 indicates there is no maximum.
MBean Attribute:
Minimum value: 0
Maximum value: 100000
Secure value: 5000

可以看出最大值为100秒,最小值为0秒,适当修改就可以啦