On 18/06/2021 14:46, Mohan T wrote:
Dear All,

We are trying to set the context for a web application in tomcat 8.5. in the 
file server.xml.

</Host>
       <Host name="localhost"  appBase="webapps"
             unpackWARs="true" autoDeploy="true" deployOnStartup="true">
             <Context path="/hub/app/classic/security" docBase="security.war"/>
       </Host>

It is not considering the path set.

Any changes need to be done for this to take effect ?.

Rename the WAR file to hub#app#classic#security.war and completely remove that <Context ... /> element from server.xml

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to