编程语言
首页 > 编程语言> > java – weblogic.transaction.internal.TimedOutException:事务在32秒后超时

java – weblogic.transaction.internal.TimedOutException:事务在32秒后超时

作者:互联网

我有以下配置

OS Sparc 11
OCSG 5.1
Environment : Cluster (Admin+MS), (MS)
Weblogic : 11g

问题:

我已经从旧环境(ocsg 5.1 windows)部署了现有的运行耳朵到我的新环境sparc 11 ocsg 5.1.我正面临以下问题

javax.ejb.EJBException: Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 32 seconds
BEA1-0009181AB1D7057B1ADE
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1788)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1676) at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1988)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1586)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    nested exception is: weblogic.transaction.internal.TimedOutException: Transaction timed out after 32 seconds
    BEA1-0009181AB1D7057B1ADE
    at weblogic.ejb.container.internal.EJBRuntimeUtils.throwEJBException(EJBRuntimeUtils.java:156)
    at weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocalObject.java:595)
    at weblogic.ejb.container.internal.BaseLocalObject.__WL_postInvokeTxRetry(BaseLocalObject.java:455)
    at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:52)
    at com.warid.es.vasactivation.VasManagerServer_82gq0g_VasManagerServerLocalImpl.getBalanceDate(Unknown Source)
    Truncated. see log file for complete stacktrace
    Caused By: weblogic.transaction.internal.TimedOutException: Transaction timed out after 32 seconds
    BEA1-0009181AB1D7057B1ADE
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1788)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1676)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1988)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1586)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    Truncated. see log file for complete stacktrace

我在我的控制台上看到每个东西都处理得很好,但没有响应被发送回客户端,导致连接超时问题.

解决方法:

尝试增加域的JTA超时:打开weblogic控制台,转到域,服务,JTA;将’Timeout Seconds’从30改为3000.
在config.xml中,这应该显示为:

<JTA
    TimeoutSeconds="300"

/>  

标签:weblogic11g,java,ejb-3-0
来源: https://codeday.me/bug/20190830/1764871.html