2 Replies Latest reply on Aug 5, 2002 4:46 PM by Frank Langelage

    Informix XA and JBoss 3.0.1RC1 ?

    Dirk Niemeier Newbie

      Hi,
      anyone here who get's XA Datasouce running ? Our Server is an Windows 2000 System. I tried the standard informix-xa-source.xml without success. Sometimes it work's a little bit and sometimes no way, may be an timing problem ?.
      Any Ideas will be helpfull
      TIA
      Dirk



      Server.log :

      2002-07-30 10:38:45,226 WARN [org.jboss.tm.TxCapsule] XAException: tx=XidImpl [FormatId=257, GlobalId=AppServer//1, BranchQual=] errorCode=XAER_OUTSIDE
      javax.transaction.xa.XAException
      at com.informix.jdbcx.IfxXAResource.start(IfxXAResource.java:452)
      at org.jboss.tm.TxCapsule.startResource(TxCapsule.java:1180)
      at org.jboss.tm.TxCapsule.enlistResource(TxCapsule.java:679)
      at org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:102)
      at org.jboss.resource.connectionmanager.XATxConnectionManager$XAConnectionEventListener.enlist(XATxConnectionManager.java:262)
      at org.jboss.resource.connectionmanager.XATxConnectionManager.managedConnectionReconnected(XATxConnectionManager.java:202)
      .....
      2002-07-30 10:38:45,256 WARN [org.jboss.tm.TxCapsule] XAException: tx=XidImpl [FormatId=257, GlobalId=AppServer//1, BranchQual=] errorCode=XAER_NOTA
      javax.transaction.xa.XAException
      at com.informix.jdbcx.IfxXAResource.end(IfxXAResource.java:134)
      at org.jboss.tm.TxCapsule.endResource(TxCapsule.java:1237)
      at org.jboss.tm.TxCapsule.delistResource(TxCapsule.java:579)
      at org.jboss.tm.TransactionImpl.delistResource(TransactionImpl.java:92)
      at org.jboss.resource.connectionmanager.XATxConnectionManager$XAConnectionEventListener.delist(XATxConnectionManager.java:284)
      .......
      2002-07-30 10:38:45,286 ERROR [org.jboss.ejb.BeanLock] Saw rolled back tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=AppServer//1, BranchQual=]
      2002-07-30 10:38:45,286 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackException, causedBy:
      java.lang.RuntimeException: Transaction marked for rollback, possibly a timeout
      at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.doSchedule(QueuedPessimisticEJBLock.java:184)
      at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.schedule(QueuedPessimisticEJBLock.java:140)
      at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:103)
      at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:69)
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:96)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:176)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:61)