RE: Changing default context path

2009-05-18 Thread Caldarale, Charles R
> From: Yaakov Chaikin [mailto:yaakov.chai...@gmail.com] > Subject: Re: Changing default context path > > So, is it telling me that I can place bla.xml into META-INF > directory with a tag in it and the context path > will change to /bla? I tried that and it didn't wor

Re: Changing default context path

2009-05-18 Thread Pid
Caldarale, Charles R wrote: > The path attribute is not allowed except in circumstances that are strongly > discouraged. Can I suggest an amendment to the documentation as follows: - If you specify a context path of an empty string (""), you are - defining the default web application for this

Re: Changing default context path

2009-05-18 Thread Yaakov Chaikin
On Mon, May 18, 2009 at 4:46 PM, Caldarale, Charles R wrote: > > > From: Yaakov Chaikin [mailto:yaakov.chai...@gmail.com] > > Subject: Re: Changing default context path > > > > Take a look at 5th bullet. > > Take a look at the description of the path attribute,

RE: Changing default context path

2009-05-18 Thread Caldarale, Charles R
> From: Yaakov Chaikin [mailto:yaakov.chai...@gmail.com] > Subject: Re: Changing default context path > > Take a look at 5th bullet. Take a look at the description of the path attribute, which you seem to be ignoring: "The value of this field must not be set except when stat

Re: Changing default context path

2009-05-18 Thread Yaakov Chaikin
k.caldar...@unisys.com> wrote: > > From: Yaakov Chaikin [mailto:yaakov.chai...@gmail.com] > > Subject: Changing default context path > > > > Tomcat still defaults to the WAR file name as the context path... > > That's how it's defined to work. The path attribut

RE: Changing default context path

2009-05-18 Thread Caldarale, Charles R
> From: Yaakov Chaikin [mailto:yaakov.chai...@gmail.com] > Subject: Changing default context path > > Tomcat still defaults to the WAR file name as the context path... That's how it's defined to work. The path attribute is not allowed except in circumstances that ar

Changing default context path

2009-05-18 Thread Yaakov Chaikin
Hi, I am trying to deploy a WAR with a custom context path. For some reason, Tomcat still defaults to the WAR file name as the context path... What I am doing is placing context.xml inside the blah.war under META-INF/context.xml. Here are the contents of context.xml: **