public void start() throws IOException {
System.out.println("Starting grizzly ...");
boolean useSSL = cfg.useSSL();
gws = new GrizzlyWebServer(cfg.getPort(), "/tmp/23cxv45345/2131xc2/", useSSL);
// BUG: Grizzly needs a doc root if you are going to register multiple adapters
for (Endpoint e : cfg.getEndpoints()) {
ZooKeeperService.mapContext(e.getContext(), e);
gws.addGrizzlyAdapter(createJerseyAdapter(e), new String[] { e