> From: Dave Filchak [mailto:sub...@zuka.net] 
> Subject: Re: Re: : tomcat error 404

> So where should the Context be?

Apparently, you haven't read the 5.5 docs.  To quote:

"For Tomcat 5, unlike Tomcat 4.x, it is NOT recommended to place <Context> 
elements directly in the server.xml file.

"Context elements may be explicitly defined:

"    In the $CATALINA_HOME/conf/context.xml file: the Context element 
information will be loaded by all webapps.

"    In the $CATALINA_HOME/conf/[enginename]/[hostname]/context.xml.default 
file: the Context element information will be loaded by all webapps of that 
host.

"    In individual files (with a ".xml" extension) in the 
$CATALINA_HOME/conf/[enginename]/[hostname]/ directory.
 
"    Only if a context file does not exist for the application in the 
$CATALINA_HOME/conf/[enginename]/[hostname]/; in an individual file at 
/META-INF/context.xml inside the application files."

The META-INF/context.xml location is the usual, when you're packaging a webapp 
up for distribution.

 - 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.

Reply via email to