void setUp() throws Exception {
System.out.print("Connecting channels: ");
a=createChannel("A");
disp_a=new MessageDispatcher(a, null, null);
a.connect(RpcLockingTest.class.getSimpleName());
lock_a=new LockService(a).getLock("lock");
b=createChannel("B");
disp_b=new MessageDispatcher(b, null, null);
b.connect(RpcLockingTest.class.getSimpleName());
lock_b=new LockService(b).getLock("lock");
Util.waitUntilAllChannelsHaveSameSize(30000, 1000, a, b);
System.out.println("");
disp_a.setRequestHandler(new RequestHandler() {