The CAS-Product web application has two examples of Tomcat context containers. The first example 'cas-product-tomcat-5.5.9.xml' is in src/main/resources, and the second example 'context.xml' is in src/main/webapp/META-INF.
When building the webapp, both files are copied into the same META-INF directory in the target WAR. The context.xml file is copied by default and the cas-product-tomcat-5.5.9.xml file is copied by the following maven-war-plugin configuration in the POM:
So we end up with two almost identical context container files in META-INF:
I was thinking that we could remove cas-product-tomcat-5.5.9.xml from src/main/resources and keep src/main/webapp/META-INF/context.xml.