LOGGER.warn("ConnectionPoolBusyException in aborting session wait mec " + scmpCommandException.toString());
// ConnectionPoolBusyException after wait mec - try opening a new connection
// RemoteNodeConfiguration remoteNodeConfiguration = this.requester.getRemoteNodeConfiguration();
// set up a new requester to make the SAS - only 1 connection is allowed
Requester sasRequester = new Requester(this.sasRemoteNodeConfiguration);
try {
this.serverAbortSessionWithExtraRequester(sasRequester, abortMessage, callback, oti);
} catch (ConnectionPoolBusyException e) {
sasRequester.destroy();
LOGGER.warn("ConnectionPoolBusyException in aborting session wait mec over special connection. " + e.toString());
if (this.service.getType() == ServiceType.SESSION_SERVICE) {
this.abortSessionsAndDestroy("Session abort over a new connection failed");
}
return;
}
sasRequester.destroy();
// validate reply of server
SCMPMessage reply = callback.getMessageSync(oti);
if (reply.isFault()) {
LOGGER.warn("Fault in aborting session wait mec over special connection");
// error in server abort session - destroy server