String serviceHost = System.getProperty("LOCAL_HOST");
if (serviceHost == null) {
serviceHost = NetworkUtil.getLocalHostAddress().getHostAddress();
}
if (serviceInstanceId > 0) {
_server = new VinciServer(serviceName, serviceHost, this, 0, serviceInstanceId);
} else {
_server = new VinciServer(serviceName, serviceHost, this);
}
UIMAFramework.getLogger().log(
Level.FINEST,
"VinciAnalysisEngineService_impl: Starting Server with Socket Timeout:"
+ descriptor.getServerSocketTimeout());