> You may have already figured this out, but just in case:
> 
> 1) The path attribute of a <Context> element may only
> be used when the <Context> element is nested inside a
> <Host> element in server.xml - which is strongly
> discouraged.
> 
> 2) The docBase attribute of a <Context> element may
> only be used when a) the webapp is located outside of the
> <Host> appBase directory, *and* b) when the
> <Context> element is in
> conf/Catalina/[host]/[appName].xml or is in server.xml
> (again, the latter is strongly discouraged).
> 
> Results are not predictable for any other usage of those
> attributes.

Thanks, Chuck and Mark, for your quick responses to my questions.

I imagine this comes up often.

It'd be nice if Tomcat would throw a warning when it knows these 
rules are being violated.

Thanks,
RP


      

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

Reply via email to