3 Replies Latest reply on May 16, 2016 10:06 AM by tomjenkinson

    How to manage TransactionalDriver connection in a DataSource

    sewatech

      Hi,

       

      I'm trying to use the TransactionalDriver with a Tomcat JDBC DataSource. My problem is that sometimes, the next exception occurs :

       

      java.sql.SQLException: ARJUNA017003: Checking transaction and found that this connection is already associated with a different transaction! Obtain a new connection for this transaction.
      

       

      This exception is probably due to the fact that the close method is not called on the ConnectionImple object when it is managed in the DataSource.

       

      My question is : how can I have a connection pool with the TransactionalDriver ?