SipApplicationSessionImpl sas =
(SipApplicationSessionImpl) getApplicationSession(false);
if (sas != null) {
// don't attempt to remove the httpsession again from its sessionmanager,
// super.invalidate() would already have removed it.
sas.removeSession(httpSession, false);
}
} catch (Exception e) { // could be remotelock or illegalstate exception.
logger.log(Level.WARNING, e.getMessage(), e);
}
}