Try updating your datasource definition to set use-ccm="false" which some users found helpful as per comments on the https://issues.redhat.com/browse/WFLY-19082 issue. When use-ccm is "false", WildFly will not automatically handle (application) leaked database connections and will also not handle lazy connection enlistment (e.g. connection is obtained from connection pool before JTA transaction is started and later when JTA is started with the connection still open, the connection is associated with the JTA tx, you lose this feature also).
Regardless, please try use-ccm="false" and let us know if it
helps or not. It will be kind of weird if setting use-ccm="false"
helps solve the connection pool leak problem your experiencing but
please do try it.
Scott
--
You received this message because you are subscribed to the Google Groups "WildFly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/49325773-44f9-4e87-95d9-4007d116bffdn%40googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/735af59c-a816-4b94-b792-d9fba514c7a8%40redhat.com.
We are recently migrate WidlFly 18 to WidlFly 29. I switched back to WidlFly 18 again and do the same things. Then there is no any connection hanging issue happen when transaction get rolled back. Is that something related to Wildfly 29 or any library (Hibernate, JPA) incompatibility issue?
With WildFly 29, are the leaked database connections also leaking
on the the WildFly side? Or is it only noticed on the database
server side via pg_stat_activity table? Thanks again for the
discussion on this!
Scott