weblogic 更改非活动连接超时_非活动JDBC连接超时后,长时间执行的操作被强制回滚...

8f4694ad83688a3b086e0b65a72a0864.png

非活动JDBC连接超时后,长时间执行的操作被强制回滚

(Doc ID 2094475.1)

Last updated on APRIL 23, 2020

适用于:

Oracle WebLogic Server - 版本 10.3.5 到 12.1.3.0.0

本文档所含信息适用于所有平台

症状

InactiveConnectionTimeoutSeconds(非活动连接超时),定义了一个连接被WebLogic回收并释放回JDBC连接池前的非活动时长。

当有一个长时间运行的SQL(比如90秒完成)超过了JDBC数据源中设置的非活动连接时长的值(比如20秒),JDBC线程池维护线程将在非活动连接时长后,强制关闭连接,并报BEA-001153错误(即使在应用程序调用了commit前也会被关闭)

下面是一段应用程序代码片段 :

更改

原因To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

文档内容

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.

Oracle offers a comprehensive and fully integrated stack of cloud applications and platform services. For more information about Oracle (NYSE:ORCL), visit oracle.com.

© Oracle | Contact and Chat | Support | Communities | Connect with us | 49b66c3c850039e43e743c59ca4d4d68.png | 08c3a0fcc551beef4d932cfbc2e4dbc8.png | bc5a093e29e9ce7e90a2c4fbcd363cbf.png | Legal Notices | Terms of Use

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值