Manifest manifest = getWebappManifest(servletContext);
if (manifest == null)
return null;
ResourceBuilder resbuilder = new ManifestResourceBuilder().load(manifest);
if (!resbuilder.isValid())
return null;
Resource resource = resbuilder.getResource();
Dictionary<String, String> headers = new ManifestHeadersProvider(manifest).getHeaders();
return installWebappModule(servletContext, resource, headers);
}