server.setConnectors(new Connector[] { selectChannelConnector });
server.setThreadPool(threadPool);
Context root = new Context(server,"/",Context.SESSIONS);
root.addServlet(new ServletHolder(new InfoServlet()), "/info");
root.addServlet(new ServletHolder(ResourceServlet.resource("json2.js")), "/json2.js");
root.addServlet(new ServletHolder(ResourceServlet.resource("easyXDM.min.js")), "/easyXDM.min.js");
root.addServlet(new ServletHolder(ResourceServlet.resource("easyXDM.debug.js")), "/easyXDM.debug.js");
root.addServlet(new ServletHolder(ResourceServlet.resource("json2.js")), "/json2.js");