In my IntelliJ web app, I have set the application context to myapp as shown below

When I set the Application context, it doesn’t seem to have any effect. I was expecting the app to be deployed to myapp, or at least the generated context.xml file to set my app’s context to myapp. Any thoughts on why this doesn’t work (does it have something to do with the fact that this is an exploded war)?
Overriding
CATALINA_BASEin Tomcat startup script may break IDEA deployment as it works by supplying customCATALINA_BASElocation where the modified configuration is placed so that Tomcat loads artifacts directly from the location specified as the artifact output directory.See the related question: