private static Server configServer(String jettyConfig) {
try {
serverLog.info("Jetty server config file = " + jettyConfig) ;
Server server = new Server() ;
XmlConfiguration configuration = new XmlConfiguration(new FileInputStream(jettyConfig)) ;
configuration.configure(server) ;
return server ;
} catch (Exception ex) {
serverLog.error("SPARQLServer: Failed to configure server: " + ex.getMessage(), ex) ;
throw new FusekiException("Failed to configure a server using configuration file '" + jettyConfig + "'") ;
}