Reading Time: 8 minutesFor those of you who are using Apache Tomcat in QA, staging, or production, I have no doubt that periodically you end up in the situation where you need to configure Tomcat’s server.xml, catalina.properties, logging.properties, and/or other Tomcat configuration files so that your webapps run the way you need them to run. Even though Tomcat allows us to configure the webapp’s <Context> in a separate file from server.xml, and even though Tomcat allows context.xml in the webapp’s META-INF directory that can be bundled as part of the webapp, that’s almost never enough to configure everything that the webapp needs. The <Context> tag by itself is just not self-contained to the point where you don’t also have to configure other important things in Tomcat’s server.xml to go along with your webapp’s <Context> configuration. Continue reading →