// assure context root with a leading slash
if (!path.startsWith("/")) path = "/" + path;
StandardContext context = webserviceContexts.remove(path);
try {
context.stop();
context.destroy();
} catch (Exception e) {
throw new RuntimeException(e);
}
Host host = (Host) context.getParent();