0 Replies Latest reply on Mar 18, 2004 2:24 AM by Mario Klaver

    Transaction XidImpl [FormatId=257, GlobalId=leiden.dev.wxs.n

    Mario Klaver Newbie

      We are using JBoss3.0.8 in combination with java1.4.1_02 on a solaris machine. A couple of days ago we implemented a messagequeue (default queue implementation available in JBoss, we did not change anything in the configuration, we only added a new QUEUE), where we store a lot of messages per request. This is done by a Stateless SessionBean. An MDB is used to retrieve the data and do something with it. Functionally every work fine. But we receive the following WARNING under heavy load:

      WARN [org.jboss.tm.TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=leiden.dev.wxs.nl//9145, BranchQual=] timed out. status=STATUS_COMMITING

      De transaction timeout is set to the default 300 (sec?), what should be enough. Ofcourse I tried to increase the value, but the WARNINGS still keep coming. Eventually these WARNINGS lead to the following WARNINGS and ERRORS:

      2004-03-17 15:21:26,710 WARN [org.jboss.tm.TxCapsule] XAException: tx=XidImpl [FormatId=257, GlobalId=leiden.dev.wxs.nl//9145, Bran
      chQual=] errorCode=XAER_NOTA
      javax.transaction.xa.XAException
      at org.jboss.mq.SpyXAResourceManager.rollback(SpyXAResourceManager.java:216)
      at org.jboss.mq.SpyXAResource.rollback(SpyXAResource.java:209)
      at org.jboss.tm.TxCapsule.rollbackResources(TxCapsule.java:1812)
      at org.jboss.tm.TxCapsule.commit(TxCapsule.java:425)
      at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:73)
      (...rest of stacktrace is left out intentionally, if you need it I can repost it...)

      2004-03-17 15:21:26,741 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackException, causedBy:
      javax.transaction.xa.XAException
      at org.jboss.mq.SpyXAResourceManager.rollback(SpyXAResourceManager.java:2
      16)
      at org.jboss.mq.SpyXAResource.rollback(SpyXAResource.java:209)
      at org.jboss.tm.TxCapsule.rollbackResources(TxCapsule.java:1812)
      at org.jboss.tm.TxCapsule.commit(TxCapsule.java:425)
      at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:73)
      at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT
      .java:365)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercept
      orCMT.java:296)
      (...rest of stacktrace is left out intentionally, if you need it I can repost it...)

      Does anybody has a clue was is going wrong? I read something about deadlocks, but that should be fixed in an earlier version of jboss.

      Any help would be appreciated, as I'm completely stuck.

      Regards,
      Mario