connector.setPort(HTTP_PORT.get());
server.addConnector(connector);
server.setHandler(getRewriteHandler(rootHandler));
try {
connector.open();
server.start();
} catch (Exception e) {
throw new LaunchException("Failed to start jetty server: " + e, e);
}