4 Replies Latest reply on Jun 22, 2012 6:12 PM by Stan Brown

    XAResource and ManagedConnection Association during Recovery

    Stan Brown Newbie



      I observed that if the recovery's ManagedConnection (MC) instance is closed due to some connection error, Ironjacamar destroys the MC, but the MC's  associative XAResource instance remains active and shows up as the XAResource argument on a XAResource.isSameRM(XAResource) method call for a different XAResource instance.  XAResource.recover is never called again for the XAResource who's MC has been destroyed.


      It appears that the container is leaking XAResources when a MC is destroyed as the result of a connection error.