1 Reply Latest reply: Feb 26, 2013 9:03 PM by user11116248 RSS

    always get rollback error

    user11116248
      Any idea why we get following error with a simple test ejb client where we invoke a BPM flow

      Feb 27, 2013 9:44:20 AM SGT> <Error> <EJB> <BEA-010026> <Exception occurred during commit of transaction Name=[EJB ejb.bpm.direct.invoke.BPMSessionEJBBean.createBPMInstance()],Xid=BEA1-00000F14E2EE9E472B1E(9080827),Status=Rolling Back. [Reason=weblogic.transaction.internal.TimedOutException: Transaction timed out after 31 seconds
      BEA1-00000F14E2EE9E472B1E],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=91,seconds left=10,XAServerResourceInfo[SOADataSource_cpfb2_soa]=(ServerResourceInfo[SOADataSource_cpfb2_soa]=(state=new,assigned=server1),xar=null,re-Registered = false),SCInfo[soa+server1]=(state=rolling-back),SCInfo[DefaultDomain+DefaultServer]=(state=rolledback),properties=({weblogic.transaction.name=[EJB ejb.bpm.direct.invoke.BPMSessionEJBBean.createBPMInstance()]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=DefaultServer+16.99.85.10:7101+DefaultDomain+t3+, XAResources={WSATGatewayRM_DefaultServer_DefaultDomain},NonXAResources={})],CoordinatorURL=DefaultServer+16.99.85.10:7101+DefaultDomain+t3+): weblogic.transaction.RollbackException: Transaction timed out after 31 seconds
      BEA1-00000F14E2EE9E472B1E
      at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1881)
      at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:345)
      at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:239)
      at weblogic.ejb.container.internal.BaseRemoteObject.postInvoke1(BaseRemoteObject.java:625)
      at weblogic.ejb.container.internal.StatelessRemoteObject.postInvoke1(StatelessRemoteObject.java:49)
      at weblogic.ejb.container.internal.BaseRemoteObject.__WL_postInvokeTxRetry(BaseRemoteObject.java:444)
      at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:53)
      at ejb.bpm.direct.invoke.BPMSessionEJB_1ij0y8_BPMSessionEJBImpl.createBPMInstance(Unknown Source)
      at ejb.bpm.direct.invoke.BPMSessionEJB_1ij0y8_BPMSessionEJBImpl_WLSkel.invoke(Unknown Source)
      at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
      at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
      at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
      at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
      at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
      Caused by: weblogic.transaction.internal.TimedOutException: Transaction timed out after 31 seconds
      BEA1-00000F14E2EE9E472B1E
      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)
      ... 2 more
      .>
        • 1. Re: always get rollback error
          user11116248
          Here we have created a EJB3 session bean through which we call a BPM flow.
          while invoking the bpm flow the process is getting completed but after some time we get transaction time out error in the console

          looks like the transaction is being hold by BPM and not getting released. please help us here with your valuable suggestions

          regards
          RR