tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: Multi-Level Context Paths
Date Tue, 18 Aug 2009 16:22:41 GMT
Andy Ee wrote:
> I would appreciate if anybody can tell if he/she has successfully deployed
> with multi-level context path.

Yep. Works like a charm in 6.0.18 and 6.0.20.

> I tried having the context element (given below) inside server.xml and the
> multi-level context path works!
> <Context path="/sg/server/test" docBase="test" reloadable="true"
> crossContext="false" allowLinking="true" />
> However, Tomcat 6 deploys the war file twice every time it starts up. It
> could be due to context element being defined under server.xml and
> Catalina/localhost/xxx.xml. So this method needs tweaking afterall.

Nope. It is because you have autoDeploy and deployOnStartup enabled for
the host. You could:
- disable those
- move the WAR file outside of the host's appBase
- just rename the WAR file


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message