1 Reply Latest reply on Dec 29, 2003 4:04 AM by adrian.brock

    Kodo 3.0.0 on JBoss 3.2.2 can't enlist in transaction

    ikestrel

      I'm trying to get Kodo 3.0.0 working on JBoss 3.2.2 as an XA compliant resource, but I get the following exception when I try to use it:

      Nested exception is:

      08:38:21,065 ERROR [STDERR] kodo.util.FatalDataStoreException: Could not enlist
      in transaction on entering meta-aware object!javax.transaction.SystemException:
      enlistResource failed; - nested throwable: (javax.resource.ResourceException: Co
      uld not enlist in transaction on entering meta-aware object!javax.transaction.Sy
      stemException: enlistResource failed)
      NestedThrowables:
      org.jboss.util.NestedSQLException: Could not enlist in transaction on entering m
      eta-aware object!javax.transaction.SystemException: enlistResource failed; - nes
      ted throwable: (javax.resource.ResourceException: Could not enlist in transactio
      n on entering meta-aware object!javax.transaction.SystemException: enlistResourc
      e failed)
      08:38:21,085 ERROR [STDERR] at kodo.jdbc.sql.SQLExceptions.getFatalDataStore
      (SQLExceptions.java:42)
      08:38:21,095 ERROR [STDERR] at kodo.jdbc.sql.SQLExceptions.getFatalDataStore
      (SQLExceptions.java:24)
      08:38:21,095 ERROR [STDERR] at kodo.jdbc.sql.DBDictionaryFactory.getDBDictio
      nary(DBDictionaryFactory.java:61)
      08:38:21,105 ERROR [STDERR] at kodo.jdbc.conf.JDBCConfigurationImpl.getDBDic
      tionaryInstance(JDBCConfigurationImpl.java:568)


      The top level exception is:


      08:38:20,675 WARN [TransactionImpl] XAException: tx=TransactionImpl:XidImpl [Fo
      rmatId=257, GlobalId=JOELLAPTOP//33, BranchQual=] errorCode=XAER_PROTO
      javax.transaction.xa.XAException
      at oracle.jdbc.xa.OracleXAResource.disallowLocalTxnMode(OracleXAResource
      .java:1045)
      at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:15
      3)
      at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.start(XAManage
      dConnection.java:142)
      at org.jboss.tm.TransactionImpl.startResource(TransactionImpl.java:1144)

      at org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:632)

      at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnection
      EventListener.enlist(TxConnectionManager.java:443)
      at org.jboss.resource.connectionmanager.TxConnectionManager.managedConne
      ctionReconnected(TxConnectionManager.java:343)


      Solarmetric hasn't given me much help yet, so I thought I'd try here to see if anyone knows what might be going on.

      Thanks!