I have the war file of my application. I need to deploy this at the root level. The current URL is http://localhost:8080/war_name/application_name.
http://localhost:8080/war_name/application_name
Remove $CATALINA_HOME/webapps/ROOT. Update $CATALINA_HOME/conf/server.xml, make sure that Host element look like the following text:
$CATALINA_HOME/webapps/ROOT
$CATALINA_HOME/conf/server.xml
It works with Tomcat 8. autoDeploy and deployOnStartup need to set to false to prevent tomcat from deploying myApp twice.
myApp