0 Replies Latest reply on Jan 27, 2003 12:23 AM by Shin H.Y.

    null xaRes error when I call the getConnection()

    Shin H.Y. Newbie

      I'm trying to use UserTransaction with XAOracleDS.
      But I get the following error when I call the getConnection() after call begin() method

      14:21:28,765 WARN [jbossweb] WARNING: Exception for /test/index.jsp
      java.lang.IllegalArgumentException: null xaRes
      at org.jboss.tm.TxCapsule.enlistResource(TxCapsule.java:646)
      at org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:102)
      at org.jboss.resource.connectionmanager.XATxConnectionManager$XAConnectionEventListener.enlist(XATxConnectionManager.java:262)
      at org.jboss.resource.connectionmanager.XATxConnectionManager.managedConnectionReconnected(XATxConnectionManager.java:202)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:534)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:814)
      at org.jboss.resource.adapter.jdbc.JDBCDataSource.getConnection(JDBCDataSource.java:110)
      ............



      My environment is
      ojdbc9.jar( Oracle jdbc driver)
      Oracle 8
      jboss 3.0.4
      oracle-xa-service.xml for XAOracleDs

      Thanks!!