see also my other post in "*Setting the context path for expanded WARs* "

On 24/03/06, Wang, Hansen <[EMAIL PROTECTED]> wrote:
>
> The path is ignored when you deploy webapps this way. Tomcat will use
> the basename of the war file as the context path. If you want to use
> something different than that, you can create a context.xml and put in
> under the virtual host's conf direction (e.g.
> CATALINA_HOME/conf/Catalina/localhost). In this context.xml, you can
> specify the context path and docBase.
>
> Hansen
>
> -----Original Message-----
> From: Kris Nuttycombe [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 24, 2006 2:34 PM
> To: users@tomcat.apache.org
> Subject: [5.5] path specified in context.xml not being used
>
> Hi, all,
>
> Hopefully a pretty simple question:
>
> I am attempting to deploy a warfile with an embedded
> META-INF/context.xml. The contents of the context.xml file looks like
> this:
>
> <Context path="/idb" debug="99" reloadable="true" crossContext="false"
> override="true">
> ...
> </Context>
>
> The warfile is named idb-0.8.2-SNAPSHOT.war
>
> Everything is working fine EXCEPT that the context path that it is
> deployed under is "/idb-0.8.2-SNAPSHOT" instead of "/idb" - how can I
> get it to deploy under a path different from the warfile name?
>
> Thanks,
>
> Kris
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to