//first check for session invalidations
String[] invalidIds=manager.getInvalidatedSessions();
if ( invalidIds.length > 0 ) {
for ( int i=0;i<invalidIds.length; i++ ) {
try {
ClusterMessage imsg = manager.requestCompleted(invalidIds[i]);
if (imsg != null)
cluster.send(imsg);
}catch ( Exception x ) {
log.error("Unable to send session invalid message over cluster.",x);
}