ServletHandler servletHandler = new ServletHandler();
webAppContext = new WebAppContext(securityHandler, sessionHandler, servletHandler, null);
//wrap the web app context with the jndi handler
GeronimoUserTransaction userTransaction = new GeronimoUserTransaction(transactionManager);
this.componentContext = EnterpriseNamingContext.createEnterpriseNamingContext(componentContext, userTransaction, kernel, classLoader);
contextHandler = new ComponentContextHandler(webAppContext, this.componentContext);
//install jasper injection support if required
if (contextCustomizer != null) {