protected void setUp() throws Exception {
		HandlerForTests.setupLogging();
		Logger.getLogger("").setLevel(Level.INFO);
		//here I keep using the same channel manager on purpose, just
		//so we get testing between tests that the channel manager shutdown
		//and started back up cleanly.....
		if(chanMgr == null) {
			chanMgr = getClientChanMgr();
		}
		if(echoServer == null) {
			ChannelService svrChanMgr = getServerChanMgr();
			echoServer = new EchoServer(svrChanMgr, getServerFactoryHolder());
		}
		chanMgr.start();		
		svrAddr = echoServer.start();
//this is to test EchoServer on a different machine...
//		InetAddress tmp = InetAddress.getByName("192.168.1.102");
//		svrAddr = new InetSocketAddress(tmp, 501);
		
		log.fine("server port ="+svrAddr);
		
		//loopBack = InetAddress.getByName("127.0.0.1");	
		//loopBackAnyPort = new InetSocketAddress(loopBack, 0);
		
		mockHandler = MockObjectFactory.createMock(DataListener.class);
		mockHandler.setDefaultBehavior("incomingData", new CloneByteBuffer());
		mockConnect = MockObjectFactory.createMock(ConnectionCallback.class);
		mockConnectOp = MockObjectFactory.createMock(OperationCallback.class);
	}