Hi, Currently, the populateSessionTrackingModes() method is called in the constructor of ApplicationContext, but the codes in the populateSessionTrackingModes() would check the parent of StandardContext. I wonder whether it would be more reasonable to add an init method for the ApplicationContext, and call the ApplicationContext.init while starting StandardContext. For while the ApplicationContext is created via StandardContext.getServletConext() method, the StandardContext may not be added to the whole Tomcat tree. Any comment ? Thanks ! -- Ivan