//install the other handlers inside the web app context
AbstractHandler next = sessionHandler;
next = new ThreadClassloaderHandler(next, classLoader);
next = new InstanceContextHandler(next, unshareableResources, applicationManagedSecurityResources, trackedConnectionAssociator);
next = new UserTransactionHandler(next, userTransaction);
webAppContext.setHandler(next);
//install another component context handler for the lifecycle chain
next = new ComponentContextHandler(next, this.componentContext);
lifecycleChain = (AbstractImmutableHandler) next;