try {
channel.start(Channel.DEFAULT);
String localHost = TribesUtil.getLocalHost(channel);
if (localHost.startsWith("127.0.")) {
channel.stop(Channel.DEFAULT);
throw new ClusteringFault("Cannot join cluster using IP " + localHost +
". Please set an IP address other than " +
localHost + " in your /etc/hosts file or set the " +
ClusteringConstants.LOCAL_IP_ADDRESS +
" System property and retry.");
}
} catch (ChannelException e) {
throw new ClusteringFault("Error starting Tribes channel", e);
}
// RpcChannel is a ChannelListener. When the reply to a particular request comes back, it
// picks it up. Each RPC is given a UUID, hence can correlate the request-response pair
rpcChannel =