changes to support a root context in tomcat