I experimented a bit, and it seems Tomcat also accepts the context.xml file in
This works quite well. Cargo just would have to check if it's an expanded
webapp and copy the context.xml over there, and don't generate the context
config in server.xml.
Implemented in attached patch.