It appears that Idea no longer copies the META-INF/context.xml file into the
$CATALINA_BASE/conf/Catalina/localhost directory before starting up tomcat.
A file appears (e.g. root.xml for a root context) which has some sort of
made up context.xml file without any of the resources/parameters I have
placed into my web-app's context.xml file. This means for instance that JDBC
datasources do not work. Has anyone else seen this? I can't find an open
issue regarding this.