try {
PipeAdvertisement pipeAdv = JxtaUtil.getServerSocketAdv(
ReplicationUtil.getInstanceName() + "-OOB");
JxtaStarter jxtaStarter = JxtaStarter.createInstance();
PeerGroup netPeerGroup = jxtaStarter.getNetPeerGroup();
serverSocket = new JxtaServerSocket(netPeerGroup, pipeAdv);
serverSocket.setSoTimeout(0);
logger.info(getClass().getName() + " created server socket successfully");
} catch (Exception ex) {
logger.log(Level.WARNING, "Unable to initialize " + getClass().getName(), ex);
throw new RuntimeException(ex);