next = new ThreadClassloaderHandler(next, classLoader);
GeronimoUserTransaction userTransaction = new GeronimoUserTransaction(transactionManager);
Context enc = EnterpriseNamingContext.createEnterpriseNamingContext(componentContext, userTransaction, kernel, classLoader);
next = new ComponentContextHandler(next, enc);
next = new InstanceContextHandler(next, unshareableResources, applicationManagedSecurityResources, trackedConnectionAssociator);
lifecycleChain = (AbstractImmutableHandler) next;
webAppContext.setHandler(next);
MimeTypes mimeTypes = new MimeTypes();
mimeTypes.setMimeMap(mimeMap);