[jbossts-issues] [JBoss JIRA] (JBTM-2667) JDBC Connection leak with Postgres

Alexis Hassler (JIRA) issues at jboss.org
Wed May 4 06:23:00 EDT 2016

Alexis Hassler created JBTM-2667:

             Summary: JDBC Connection leak with Postgres
                 Key: JBTM-2667
                 URL: https://issues.jboss.org/browse/JBTM-2667
             Project: JBoss Transaction Manager
          Issue Type: Feature Request
          Components: JTA
    Affects Versions: 5.3.2.Final
            Reporter: Alexis Hassler

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.

This message was sent by Atlassian JIRA

More information about the jbossts-issues mailing list