try {
initContext();
installLocalInitializationEnvironment();
if (!isSessionsEnabled()) {
context.getSessionHandler().setSessionManager(new StubSessionManager());
}
context.setAttribute(WEB_XML_ATTR, webXml);
context.setAttribute(APPENGINE_WEB_XML_ATTR, appEngineWebXml);
ApiProxyHandler apiHandler = new ApiProxyHandler(appEngineWebXml);