public void testTwoChannelsWithInitialMulticast() throws Exception {
ServerObject obj1, obj2 = null;
JChannel c1 = new JChannel();
obj1 = new ServerObject("obj1");
RpcDispatcher disp1=new RpcDispatcher(c1, null, null, obj1, DEADLOCK_DETECTION);
obj1.setRpcDispatcher(disp1);
c1.connect(name);
JChannel c2 = new JChannel();
obj2 = new ServerObject("obj2");
RpcDispatcher disp2=new RpcDispatcher(c2, null, null, obj2, DEADLOCK_DETECTION);
obj2.setRpcDispatcher(disp2);
c2.connect(name);
Vector dests=new Vector();
dests.add(c1.getLocalAddress());