You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mohan T <Mo...@ramco.com.INVALID> on 2021/06/18 13:46:36 UTC

Error while setting context in serer.xml

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 ?.

Thanks

Mohan
DISCLAIMER: This communication contains information which is confidential and the copyright of Ramco Systems Ltd, its subsidiaries or a third party ("Ramco"). This email may also contain legally privileged information. Confidentiality and legal privilege attached to this communication are not waived or lost by reason of mistaken delivery to you.This email is intended to be read or used by the addressee only. If you are not the intended recipient, any use, distribution, disclosure or copying of this email is strictly prohibited without the express written approval of Ramco. Please delete and destroy all copies and email Ramco at Legal@ramco.com immediately. Any views expressed in this communication are those of the individual sender, except where the sender specifically states them to be the views of Ramco. Except as required by law, Ramco does not represent, warrant and/or guarantee that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference. If you do not wish to receive such communications, please forward this communication to marketing@ramco.com and express your wish not to receive such communications henceforth.

Re: Error while setting context in serer.xml

Posted by Mark Thomas <ma...@apache.org>.
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org