Allow Tomcat META-INF/context.xml to be used in expanded webapps

Description

I experimented a bit, and it seems Tomcat also accepts the context.xml file in
<config.dir>/Catalina/<hostname>/<context-path>.xml
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.

Status

Assignee

Vincent Massol

Reporter

Jan Zuchhold

Components

Fix versions

Priority

Minor
Configure