5 Replies Latest reply on Nov 23, 2002 1:04 AM by Erik Sliman

    MySql [WARN] XAException

    Juan M. Newbie

      Hi, i have a problem, with a BMP entity bean, when i'm trying to do some transactions with mysql, with a ResourceException and XAException. The transactions (select, insert, etc), are done, but i'm getting a warning on Jboss console, and it's really large. So If someone can help me with this, I'll appreciate. Thank You.


      I'm getting something like this:
      23:23:20,728 WARN [TxCapsule] XAException: tx=XidImpl [FormatId=257, GlobalId=m
      chuevo//22, BranchQual=] errorCode=XA_UNKNOWN(0)
      javax.transaction.xa.XAException: Error trying to start local tx: javax.resource
      .ResourceException: SQLException
      at org.jboss.resource.connectionmanager.LocalTxConnectionManager$LocalCo
      nnectionEventListener.start(LocalTxConnectionManager.java:502)
      at org.jboss.tm.TxCapsule.startResource(TxCapsule.java:1200)
      at org.jboss.tm.TxCapsule.enlistResource(TxCapsule.java:694)
      at org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:102)

      at org.jboss.resource.connectionmanager.LocalTxConnectionManager$LocalCo
      nnectionEventListener.enlist(LocalTxConnectionManager.java:320)
      at org.jboss.resource.connectionmanager.LocalTxConnectionManager.managed
      ConnectionReconnected(LocalTxConnectionManager.java:255)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateC
      onnection(BaseConnectionManager2.java:534)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2$Connectio
      nManagerProxy.allocateConnection(BaseConnectionManager2.java:812)
      at org.jboss.resource.adapter.jdbc.local.LocalDataSource.getConnection(L
      ocalDataSource.java:102)
      at examples.AccountBean.getConnection(Unknown Source)