> From: michel [mailto:compu...@videotron.ca]
> Subject: Seem to have it fixed ...
> 
> <Host name="localhost" appBase="webapps"
> unpackWARs="true" autoDeploy="true"
> xmlValidation="false" xmlNamespaceAware="false" reloadable="true">
> 
> and I added
> <Context docBase="supergrow" path=""/>

Almost ok.  With Tomcat 5.0 and above, putting <Context> elements in server.xml 
is strongly discouraged, since it requires restarting Tomcat whenever the 
webapp configuration is updated, and violates the servlet spec principal of 
webapp independence.  Your particular <Context> element is so simple it's 
actually not needed at all.  When one is needed, the proper location is in the 
file META-INF/context.xml inside the webapp, or in 
conf/Catalina/[host]/[appName.xml].  When you do so, leave out the docBase and 
path attributes, since those are illegal (unless the <Context> is in 
server.xml).

http://tomcat.apache.org/tomcat-6.0-doc/config/context.html

 - 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