237238239240241242243244245246247
log.debug( "obj = " + obj ); IRemoteCacheServiceAdmin admin = ( IRemoteCacheServiceAdmin ) obj; try { admin.shutdown( "", port ); } catch ( Exception er ) { // ignore the error // the connection will be closed by the server
282283284285286287288289290291292
log.debug( "server found" ); } IRemoteCacheServiceAdmin admin = (IRemoteCacheServiceAdmin) obj; try { admin.shutdown(); } catch ( Exception ex ) { log.error( "Problem calling shutdown.", ex ); }