> From: Josh Gooding [mailto:josh.good...@gmail.com]
> Subject: Re: slight problem with Tomcat and Httpd working together.
>
> *Wait a sec, illegal as in (will throw an exception) or just bad
> practice?

Illegal in that predictable behavior cannot be guaranteed.  Tomcat is pretty 
good about ignoring invalid attributes, but it's not perfect in that regard, 
and problems may result.

> I have a <context> defined in my server.xml's <host> for the 
> deployments being hosted outside of $CATALINA_HOME/webapps 
> directory

That isn't illegal, but is extremely bad practice, since you can't modify them 
without restarting Tomcat.  By placing the <Context> elements in 
conf/Catalina/[host]/[appName].xml, you can modify them as needed while Tomcat 
is running.

> each of those has their own context.xml defined in the META-INF 
> directory of the project.

And those will be ignored, since you have them in server.xml.

> Are you saying that, that is wrong?

Yup.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


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

Reply via email to