Callback callbackProxy = (Callback) client.exportObjectTo(callback,
getServerURI());
service.addCallback(callbackProxy);
assertNull(serviceImpl.getException());
client.shutdown();
if (!latch.attempt(10 * 1000)) {
fail("CallerListener not notified of disconnection");
}
assertNull(serviceImpl.getException());