public void setUp() {
		String os = System.getProperty("os.name");
		//String osArch = System.getProperty("os.arch");
		log.info("os="+os);			
		if(os.equals("linux")) {
			log.info("RUNNING LINUX TESTS ONLY");
			isLinux = true;
		}		
		try {
			if(mockServer == null) {
				ChannelServiceFactory factory = ChannelServiceFactory.createFactory(null);
				Map<String, Object> p = new HashMap<String, Object>();
				p.put(ChannelManager.KEY_ID, "[server]");
				p.put(ChannelManager.KEY_BUFFER_FACTORY, bufFactory);
				ChannelService chanMgr = factory.createChannelManager(p);				
				mockServer = new MockNIOServer(chanMgr, null);
			}
			svrAddr = mockServer.start();
			log.info("svrPort="+svrAddr);

		} catch(IOException e) {
			throw new RuntimeException("test failed", e);
		} catch (InterruptedException e) {
			throw new RuntimeException("test failed2", e);
		}
	}