brett@3riverdev.com 260.349.5732

Find Transaction Leaks in Wildfly and JCA

Posted on 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.

Leave a Reply

Your email address will not be published. Required fields are marked *