Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-2667

JDBC Connection leak with Postgres

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 5.3.4.Final
    • 5.3.2.Final
    • JTA
    • None

    Description

      When using Narayana's JDBC TransactionalDriver with a Postgres XA datasource, the connections are never closed.

      The problem can be workarounded by adding a modifier :

      ModifierFactory.putModifier ("postgresql native driver", -1, -1, PsqlConnectionModifier.class.getName());  
      

      With a modifier, the close method is called on the XAConnection object, with no modifier it's called on the Connection object.

      Attachments

        Activity

          People

            thjenkin@redhat.com Tom Jenkinson
            sewatech alexis hassler (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: