fail("Failed to create: [" + contextDir.toString() + "]");
}
Context ctx = tomcat.addContext(contextName, contextDir.getAbsolutePath());
CombinedRealm combinedRealm = new CombinedRealm();
Realm nullRealm = new NullRealm();
combinedRealm.addRealm(nullRealm);
ctx.setRealm(combinedRealm);
// Disable keep-alive otherwise request processing threads in keep-alive
// won't shut down fast enough with BIO to de-register the processor