Details
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.
Issue Links
- relates to
-
CARGO-946
Deployment of expanded WAR with context.xml fails
-
This patch adds a Test to TomcatSpecificTest and a testdata project tomcat-expanded-context.