I'll try. I'm not worried about Tomcat's web.xml, I'm wanting to provide my own version of:
That file is used as a template to initialize a new <app>/WEB-INF/lucee/lucee-web.xml.cfm.
Specifically, I'm wanting to provide my own version of that file that does not include the mapping to lucee-context.lar, as I configured a central mapping for it in my lucee-server.xml. I was hoping to find a way to do it without having to modify it in the patch file (4.5.1.005.lco for instance).
What happens is, if I deploy a non-CFML WAR file into a Tomcat container configured to run Lucee, it generates the /WEB-INF/lucee/ folder and everything underneath, including the lucee-web config with a mapping to the lucee-context.lar. I then cannot undeploy the webapp (on Windows) without stopping Tomcat because the .lar file is being held open by the Tomcat process. I have to assume I cannot make changes to the non-CFML WAR file to define a lucee-web config. I also do not want to make changes to the patch file because that means I cannot use the Lucee update provider.
Hope that makes more sense,
Jesse