It would be nice if org.apache.catalina.startup.Tomcat.addWebApp(...) would process the web application's META-INF/context.xml if found. The current implementation skips META-INF/context.xml loading, and does not appear to offer any hook to enable it--the StandardContext is instantiated and initialized with a null configFile in the single call to addWebApp(...).
Enhancement requests with patches tend to get resolved faster than those without.
(In reply to comment #1) > Enhancement requests with patches tend to get resolved faster than those > without. Certainly. As I'm just getting acquainted with Tomcat internals I have some questions as to the "right" way to implement this. I'll take them up on the tomcat-dev mailing list.
The feature is in trunk and 7.0.x and will be included in 8.0.0-RC2 and 7.0.43 onwards.