DHARNA, AJAY [AG/1000] wrote:

> I had posted this question earlier on the users mailing list and got no
> response, so I am going to try and re-post it again and also post it on the
> dev mailing list.

The dev list is no place for user specific questions. Don't post this there.

> I have recently upgrade from tomcat 5.0.28 to 5.5.20 and everything seems
> to be working fine for most of my apps except for the ones that have
> context with multi-level path. Also I should mention that I am not
> unpacking any of my war files. (unpackWARs="false" autoDeploy="true")
>
> I deployed my app - foo.war which had the following context in
> foo.war/meta-inf/context.xml
>
> <Context path="/some/foo" docBase="foo.war" debug="0" privileged="true"
> reloadable="true"/>

First, read
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
and notice that the "path" attribute of <Context> must not be set (with one 
exception which is irrelevant here). Atm, it's value is silently ignored.

I don't see the description how multi-level context paths can be achieved in 
the 5.5 docs. But the following snippet from the 6.0 docs also applies to 
5.5:
"Multi-level context paths may be defined using #, e.g. context#path.xml."

So, name your WAR file "some#foo.war".

Regards
  mks

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to