0 Replies Latest reply on Aug 11, 2004 2:03 PM by Christos Kokotsis

    errorCode=XAER_NOTA when writing to database

    Christos Kokotsis Newbie

      I'm trying to configure an Oracle XA Data source and I get the error errorCode=XAER_NOTA when my session bean tries to persist to the Oracle database.

      I have attached a section of the log. Has anyone seen this before?

      18:45:13,603 WARN [TransactionImpl] XAException: tx=TransactionImpl:XidImpl [FormatId=257, Glo
      balId=LBUPAB38D31J//19, BranchQual=] errorCode=XAER_NOTA
      oracle.jdbc.xa.OracleXAException
      at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1159)
      at oracle.jdbc.xa.client.OracleXAResource.end(OracleXAResource.java:471)
      at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.end(XAManagedConnection.java:
      147)
      at org.jboss.tm.TransactionImpl.endResource(TransactionImpl.java:1253)
      at org.jboss.tm.TransactionImpl.endResources(TransactionImpl.java:1331)
      at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:355)
      at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:456)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:324
      )
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterce
      ptor.java:122)
      at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.jav
      a:331)
      at org.jboss.ejb.Container.invoke(Container.java:723)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25
      )