We are looking at adding a second instance of our app (named differently -- myappA and myappB) to our Tomcat 9. We currently have the app installed at a number of customer locations, we are looking at dropping 1 app
Currently, our database connections are established inside the GLOBAL web.xml in /conf/web.xml - and have been forever. This was a design decision made long ago - that way the app doesn't have a separate configuration for each location - it is the same app WAR file, and the connections are established at the server. Our customer doesn't want any code changes - is there a way to have some sort of conditional statements in the web.xml? Or if we set it up so Tomcat is hosting 2 sites (www.sitea.com/myapp and www.siteb.com/myapp) and have the global web.xml with different settings based on host/site? ABT