connector.setHost("127.0.0.1");
server = new Server();
server.addConnector(connector);
Context root = new Context(server, "/", Context.SESSIONS);
root.addServlet(new ServletHolder(new JezebelResmon()), "/resmon");
root.addServlet(new ServletHolder(new JezebelDispatch()), "/dispatch/*");
logger.info("Starting server on port " + port);
try { server.start(); }
catch (Exception e) { e.printStackTrace(); }
}