我从管理控制台更改了JTA事务超时时间并设置为300,即使更改后仍然失败,因为JTA事务意外回滚(可能因为超时),并显示以下消息:
weblogic.transaction.RollbackException: Transaction timed out after 181 seconds`
为确保我所做的更改(超时值300)是否已在该域中反映出来,我在 config.xml
中的该域下进行了检查,它已反映出了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 seconds BEA1-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 more Caused by: weblogic.transaction.RollbackException: Transaction timed out after 180 seconds BEA1-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