Find Transaction Leaks in Wildfly and JCA
December 29, 2015
Here’s a quick tip: the easiest way to find transaction leaks in Wildfly/JCA.
In standalone.xml’s JCA subsystem, change
<cached-connection-manager/>
to
<cached-connection-manager debug=”true”/>
That will automatically close un-closed JCA connections and spit out a nice warning/stacktrace, showing exactly where the transaction was opened.