> From: Dave Filchak [mailto:sub...@zuka.net]
> Subject: Re: General errors in virtual host setup
> 
> OK .. I have moved it into our web directory at
> /web/exodus.zuka.net/docs/ROOT/

And what did you set the exodus.zuka.net <Host> appBase to?  It should be 
"/web/exodus.zuka.net/docs".

> Humm ... I have found this in the WEB-INF folder:

No, a <Context> element would be in the webapp's META-INF/context.xml file, if 
it exists.  You need a <Context> element primarily if the webapp uses database 
connections that you want Tomcat to manage.  (There are other more esoteric 
reasons, of course.)

> I do not see a context.xml file anywhere. They used to be kept in the
> server.xml file ... did they not?

In old versions of Tomcat, <Context> elements had to be in server.xml; one of 
the improvements made a few years ago was to move <Context> elements to the 
webapp (or alternatively, to conf/Catalina/[host]/[appName].xml).

 - 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