2 Replies Latest reply on May 17, 2006 9:06 AM by weston.price

    How to Create XADatasource in JBoss?

    shmu80

      I need to create XADataSource in JBoss, so that my transaction able to support 2 phases submission.

      Below is my code in oracle-ds.xml, but I still meet some problem with the code below:
      <local-tx-datasource>
      <jndi-name>XAHostOracleDS</jndi-name>
      <connection-url>jdbc:oracle:thin:@10.10.0.24:1521:testing</connection-url>
      <driver-class>org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl</driver-class>
      <user-name>testing</user-name>
      testing
      </local-tx-datasource>

      May I know anybody can give me some suggestion of this code? May I know anything else should I do in my java code? Is it the code is similar with the non XADatasource lookup?

      Thank you.