Weblogic 报错JTA transaction异常处理

问题:

JTA transaction异常处理(weblogic.transaction.TimedOutException)

异常描述:weblogic.transaction.TimedOutException: Transaction timed out after 40 seconds

解决方法: 

登陆AdminConsole 

Environments --> (ClickHere) ---> Configuration (Tab) ---> JTA (SubTab) ----> in this page try to set the Transcation timeout 

超时秒数: 指定在两阶段提交事务处理中允许活动事务处理处于第一阶段的最长时间 (秒)。如果指定的时间到期, 则将自动回退该事务处理。默认的是30秒 

By default the value is 30 Seconds at the Domain level, however your transaction might need more time, hence increasing this value would surely solve your issue. 

将该值设大一点,我设成了600秒,一般不会超过这么多了,超过的话说明代码需要优化。 

设置完   保存成功后   不需要重启  就会生效。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值