0 Replies Latest reply on Nov 1, 2002 3:58 PM by T. C. Link

    Oracle XA null xaRes

    T. C. Link Newbie

      Some of you seem to have moved a little further ahead than I have on setting up Oracle and XA on JBoss (I'm using 3.0.3). I've modified oracle-xa-service.xml as instructed in the file and set "Pad" to true in jboss-service.xml. The server log seems to indicate that my XA Datasource was bounded:

      14:16:05,026 INFO [LocalTxConnectionManager] Started

      14:16:05,026 INFO [MainDeployer] Deployed package: file:/G:/jboss-3.0.3/server/default/deploy/jboss-local-jdbc.rar

      14:16:05,267 INFO [MainDeployer] Starting deployment of package: file:/G:/jboss-3.0.3/server/default/deploy/jboss-xa.rar

      14:16:05,637 INFO [RARMetaData] Loading Minerva Resource Adapter for JDBC 2 XA drivers

      14:16:05,637 INFO [RARMetaData] Required license terms present. See deployment descriptor.

      14:16:05,857 WARN [ServiceController] jboss.jca:service=RARDeployment,name=Minerva JDBC XATransaction ResourceAdapter does not implement any Service methods

      14:16:05,857 WARN [ServiceController] jboss.jca:service=XATxDS,name=XAOracleDS does not implement any Service methods

      14:16:06,028 INFO [XATxConnectionManager] Creating

      14:16:06,288 INFO [XATxConnectionManager] Created

      14:16:06,568 INFO [XATxConnectionManager] Starting

      14:16:06,839 INFO [XAOracleDS] Bound connection factory for resource adapter 'Minerva JDBC XATransaction ResourceAdapter' to JNDI name 'java:/XAOracleDS'

      14:16:06,839 INFO [XATxConnectionManager] Started


      However, when I attempted to retrieve a connection, I get the following Exception:


      14:22:50,750 ERROR [LogInterceptor] TransactionRolledbackLocalException, causedBy:

      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)


      Any suggestions?