2 Replies Latest reply on Aug 26, 2001 8:50 AM by Thomas Skjønhaug

    Xid is not valid error for Opta2000 with SQL2k

    Sridhar Mudugu Newbie

      Hi,

      I am using Jboss2.2.2 with tomcat3.2.2. on SQL2000.

      Planning to use Inets Opta2000 (Ver 4.10) 20 user version.

      We use BMP for persistance.

      When I start the server I donot get any problem in getting the pool created. Everything seems to be OK.

      But when some bean tries to access the database I am getting the error shown below.



      XAException: tx=XidImpl [FormatId=257, GlobalId=pgs-486//85, BranchQual=] errorCode=XAER_NOTA
      javax.transaction.xa.XAException: The Xid is not valid.(XidImpl [FormatId=257, GlobalId=pgs-486//85, BranchQual=1]) resource manager:com.inet.tds.k@64ab4d
      at com.inet.tds.k.if(Unknown Source)
      at com.inet.tds.k.rollback(Unknown Source)
      at org.jboss.tm.TxCapsule.rollbackResources(TxCapsule.java:1539)
      at org.jboss.tm.TxCapsule.rollback(TxCapsule.java:394)
      at org.jboss.tm.TransactionImpl.rollback(TransactionImpl.java:88)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:352)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:127)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
      at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:349)
      at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:483)
      at org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.invokeContainer(GenericProxy.java:335)
      at org.jboss.ejb.plugins.jrmp.interfaces.EntityProxy.invoke(EntityProxy.java:133)



      If any one found any workaround please let me know.


      Thanks in advance.

      Sridhar