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

Mark




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to