0 Replies Latest reply on Jan 20, 2006 8:45 AM by Baiju Varugese

    org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnec

    Baiju Varugese Newbie

      hi,

      i am trying to use the org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection() method throws an exception

      Error while creating connection due to::: Could not enlist in transaction on entering meta-aware object!javax.transaction.SystemException: enlistResource failed; - nested throwable: (javax.resource.ResourceException: Could not enlist in transaction on entering meta-aware object!javax.transaction.SystemException: enlistResource failed)

      Please help me how to solve this.... and then

      is there is any way to get the javax.sql.XADatasource reference ?

      The stack trace is very big, so i am pasting few lines below...

      thank you

      java.sql.SQLException: ORA-06550: line 1, column 13:
      PLS-00201: identifier 'JAVA_XA.XA_START_NEW' must be declared
      ORA-06550: line 1, column 7:
      PL/SQL: Statement ignored
      at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
      at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
      at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
      at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
      at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:822)
      at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1446)
      at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1371)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1900)
      at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:363)
      at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:407)
      at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:171)
      at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.start(XAManagedConnection.java:131)