Adam Ringel [https://community.jboss.org/people/adlepoo] created the discussion
"Re: Problem with XARecoveryModule." To view the discussion, visit: https://community.jboss.org/message/726258#726258 -------------------------------------------------------------- If anyone is still interested, we modified *ManagedConnectionFactoryDeployment* like so and the issue was resolved: private synchronized ManagedConnection open(Subject s) throws ResourceException { if (recoverMC == null) { recoverMC = createManagedConnection(s, null); return recoverMC; } boolean valid = true; if(recoverMC instanceof BaseWrapperManagedConnection) { valid = ((BaseWrapperManagedConnection) recoverMC).checkValid(); } if(! valid) { log.info("open - recoverMC is not valid, reopening for deployment: " + toString()); close(recoverMC); recoverMC = createManagedConnection(s, null); } return recoverMC; } Also nulled out recoverMC in the stopService method: protected void stopService() { if (recoveryRegistered) { if (getXAResourceRecoveryRegistry() != null) { close(recoverMC); getXAResourceRecoveryRegistry().removeXAResourceRecovery(this); recoveryRegistered = false; if (log.isDebugEnabled()) log.debug("Unregistered for XA Resource Recovery: " + dmd.getJndiName()); } } recoverMC = null; mcf = null; mcfClass = null; } -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/726258#726258] Start a new discussion in IronJacamar at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
