gpt4 book ai didi

timeout - JTA事务超时异常-weblogic 10.X

转载 作者:行者123 更新时间:2023-12-02 16:49:44 25 4
gpt4 key购买 nike

我从管理控制台更改了 JTA 事务超时并将其设置为 300,即使更改后也失败,并显示 JTA 事务意外回滚(可能是由于超时):

weblogic.transaction.RollbackException: Transaction timed out after 181 seconds`

为了确保我的更改(超时值 300)是否反射(reflect)在该域中,我在域 config.xml 下进行了检查,它已反射(reflect)为 300。

我的问题是,是否还有其他地方需要更新事务超时值以及是否需要重新启动服务器?

以下服务器发生异常后的完整堆栈跟踪:

Caused by: org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is weblogic.transaction.RollbackException: Transaction timed out after 180 secondsBEA1-160A800A149091F72E5E    at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1031)    at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:709)    at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:678)    at org.springframework.transaction.interceptor.TransactionAspectSupport.completeTransactionAfterThrowing(TransactionAspectSupport.java:359)    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)    at $Proxy103.saveRegistryData(Unknown Source)    at gov.cms.pqri.arch.submission.registry.bean.RegDataAccessManager.persistRegistry(RegDataAccessManager.java:54)    ... 14 moreCaused by: weblogic.transaction.RollbackException: Transaction timed out after 180 secondsBEA1-160A800A149091F72E5E    at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1818)    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:333)    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:227)    at weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:281)    at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1028)    ... 22 more

最佳答案

在从管理控制台的服务器 -> 配置 -> 调整(选项卡)下将卡住的线程最大时间更改为 300 后,它正在更新并且工作正常。

关于timeout - JTA事务超时异常-weblogic 10.X,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2247279/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com