JBoss Community

XAResource and ManagedConnection Association during Recovery

created by Stan Brown in IronJacamar - View the full discussion

Hi,

 

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.

Reply to this message by going to Community

Start a new discussion in IronJacamar at Community