6 Replies Latest reply on Apr 22, 2003 12:28 PM by aarti

    Transaction exception XAER_RMERR, same code works in BEA

    aarti Newbie

      I am using Jboss 3.04 and MSSQL server. I get the following exception when I execute two updates in different methods in the same transaction. The same code however works with BEA Weblogic 8.1

      make a connection
      execute update
      make another connection in new method
      execute update

      When I execute two updates in the same method through one connection. everything works fine.

      21:47:16,711 WARN [tm.TxCapsule] XAException: tx=XidImpl [FormatId=257, GlobalId=XXXXX//21,
      BranchQual=] errorCode=XAER_RMERR
      javax.transaction.xa.XAException: [XXX][SQLServer JDBC Driver][SQLServer]xa_start (240000) retu
      rns -8