3 Replies Latest reply on Mar 4, 2008 6:23 AM by Mark Little

    Help regarding Jboss TS with Oracle

    Sathya Kishore Newbie


      This is with respect to the familiar article posted on Javaworld

      Hope atleast some of you have gone through this ..

      Now the issue i am strugging with is that , i am using oracle datasource , so as per the post "Since JBossTS doesn't provide any out of the box wrappers for the MySQL database", we need to write a dynamic class which provides the MySQLXADatasouce object ..on the same lines, i tried to implement for oracle database by importing the oracle.jdbc.xa.client.OracleXADataSource and setting the properties and returning the same to the XADatasource ..

      but when i run the application, i am getting this error
      [com.arjuna.ats.internal.jta.transaction.arjunacore.couldnotregister] could not register transaction: oracle.jdbc.xa.OracleXid@c70b0d

      can some one through light on this .. i am running a simple junit test case which tries to insert a record in to two tables of two different databases simultaneously.

      Thanks in Advance