3 Replies Latest reply on Dec 5, 2002 1:29 AM by Manoj Nair

    JBoss3.2Beta2 problem with Oracle8i XA DS, non-XA DS ok

    Magnus Larsson Newbie

      I have failed to register a Oracle8i based XA-DataSource with JBoss3.2Beta2. A plain non-XA DataSource works fine however. But I need the XA support!

      Can someone help me out?

      (I need 3.2beta2 since 3.0.4 doesn't support CMP-beans with "Unknown primary key class", e.g. a primary key set to "java.lang.Object")

      XA-DS definition
      ----------------


      <xa-datasource>
      <jndi-name>OracleXADS</jndi-name>
      <track-connection-by-tx>true</track-connection-by-tx>
      <xa-datasource-class>
      oracle.jdbc.xa.client.OracleXADataSource
      </xa-datasource-class>
      <xa-datasource-property name="URL">
      jdbc:oracle:thin:@localhost:1521:ORCL
      </xa-datasource-property>
      <user-name>petstore_jboss</user-name>
      petstore_jboss
      </xa-datasource>



      Error at startup of JBoss 3.2Beta2 (-c all)
      -------------------------------------------

      13:18:40,757 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompl
      eteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:

      MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: jboss.jca:service=XATxCM,name=OracleXADS
      state: CONFIGURED
      I Depend On: jboss.jca:service=XATxDS,name=OracleXADS
      jboss.jca:service=LocalTxPool,name=OracleXADS
      jboss.jca:service=CachedConnectionManager
      jboss.security:service=JaasSecurityManager
      jboss.jca:service=RARDeployer

      Depends On Me: , ObjectName: jboss.jca:service=XATxDS,name=OracleXADS
      state: CONFIGURED
      I Depend On: jboss.jca:service=RARDeployment,name=Minerva JDBC XATransaction ResourceAdapter

      Depends On Me: jboss.jca:service=XATxCM,name=OracleXADS
      ]

      Regards,
      Magnus.