//50 connections/disconnections
System.out.println("50 Connections/disconnections...");
for (int i = 0; i < 50; i++) {
try {
client.connect(null, "localhost", "1099", "test" + i, LANG);
server.disconnect(0);
}
catch (RemoteException ex) {
fail("RemoteException was not expected");
}
catch (NotBoundException ex) {