Weblogic transaction timed out after 302/603 seconds issue

Weblogic transaction timed out after 302/603 seconds issue

Problem: Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 603 seconds

A lot of you might have encountered an issue of Weblogic transaction timed out after 302/603 etc seconds. We have been struggling with this for some time as well.

Non Recoverable System Fault :

Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 603 seconds BEA1-3FB6FB464035C13E3227 at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1748) at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1591) at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1911) at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1501) 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:528) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at weblogic.work.ExecuteThread.run(ExecuteThread.java:176) ; nested exception is: weblogic.transaction.internal.TimedOutException: Transaction timed out after 603 seconds BEA1-3FB6FB464035C13E3227

Solution: Fortunately enough we have managed to find a resolution to this one, which I would like to share.

This issue occurs due to the server time out settings. There are a few settings which you need to update in order to get this resolved.

1. SyncMaxWaitTime (from em console – no Restart required)
2. BPEL EJB’s (weblogic console – requires WLS restart)
3. Global Transaction time out or JTA settings. (weblogic console)
For details on how to change these settings there are a couple of existing articles which one could refer to:
http://orasoa.blogspot.com/2010/04/soa-11g-timeout-settings.html
http://sudhakarsoa.blogspot.com/2011/03/how-do-you-configure-transaction.html