ServletContextHandler ctx = new ServletContextHandler(server, base);
Configuration cfg = ServerConfig.loadPipelineConfiguration(configfile);
cfg.setResourceLoader(new DefaultResourceLoader(configfile.getParentFile()));
reporter.info("Setting up pipelines: "+base);
ctx.addServlet(new ServletHolder(new Servlet(cfg, new PrefixMessenger(base+": ", reporter))), "/*");
return ctx;
}