1 Reply Latest reply on Oct 12, 2006 3:33 PM by weston.price

    TrackConnectionByTx set true for local-tx-datasource thorws

    crazyone

      Hi, and thanks in advanced for your help.

      I'm using Jboss 4.0.4 and EnterpriseDB for my applications, and
      i have some problems when connecting to database, i find in

      https://sourceforge.net/tracker/?func=detail&aid=648442&group_id=22866&atid=376685

      "If I want to connect twice with different users the first connect works
      correctly but the second one throws an ResourceException
      Wrong credentials passed to getConnection!".

      "This problem is caused by the track connection by
      transaction processing.
      This overrides other pooling considerations.

      The second getConnection tries to use the same underlying
      connection
      as the first one. This fails because because the credentials
      are different."

      Question:¿can i set TrackConnectionByTx to false, for a local-tx-datasource?.

      Regards.