Bundle Tomcat context.xml with webapp WAR file
January 20, 2012 15:05:14 Last update: January 20, 2012 15:06:15
Tomcat documentation states:
If the web application is packaged as a WAR then
For a Maven project, put
If the web application is packaged as a WAR then
/META-INF/context.xml will be copied to $CATALINA_BASE/conf/[enginename]/[hostname]/ and renamed to match the application's context path.
For a Maven project, put
context.xml in src/main/webapp/META-INF/.