How can I tell e.g. Tomcat to use a specific context path when given my WAR-File?
Example: I have a war file created by maven build and the resulting name of the fil
I found an easy solution to keep war file name and choose the context-path.
You just have to deploy your war outside of the Host's appBase and to create a link inside the appBase directory.
appBase
Ex. :
ln -sf ${CATALINA_HOME}/wars/myapp-0.0.8-SNAPSHOT.war ${CATALINA_HOME}/webapps/myapp.war
Ektor