1.连接超时
weblogic.management.configuration.KernelMBean.ConnectTimeout
官方解释:
The amount of time that this server should wait to establish an outbound socket connection before timing out.
这个应该是WebLogic作为客户端建立socket连接时。也可使用JVM参数进行配置
-Dweblogic.client.socket.ConnectTimeout=XXX
2.空闲连接超时
weblogic.management.configuration.KernelMBean.IdleConnectionTimeout
官方解释:
The maximum number of seconds that a connection is allowed to be idle before it is closed by the server.
3.写超时
weblogic.management.configuration.KernelMBean.CompleteWriteTimeout
官方解释:
The maximum number of seconds that this server waits for a complete HTTP response to be sent.
4.连接超时
weblogic.management.configuration.ServerMBean.LoginTimeoutMillis
官方解释:
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.
可通过界面进行控制
1.登录weblogic
2.主页-环境-服务器-AdminServer-优化
3.在优化选项下有登录超时选项,更改即可
参考文档文章来源:https://www.toymoban.com/news/detail-828539.html
https://docs.oracle.com/middleware/1221/wls/WLAPI/index.html?weblogic/management/configuration/KernelMBean.html
https://docs.oracle.com/middleware/1221/wls/WLAPI/index.html?weblogic/management/configuration/ServerMBean.html
https://docs.oracle.com/middleware/1213/wls/WLMBR/core/index.html文章来源地址https://www.toymoban.com/news/detail-828539.html
到了这里,关于WebLogic:常用超时配置的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!