By Date: <-- -->
By Thread: <-- -->

v5.5.x default context support outside of server.xml



Thanks.  I renamed my stand-alone context definition conf/[engine]/[host]/ROOT.xml and it worked.  
 
FYI...I've asked the developer list about the possibility of respecting the empty string path attribute value regardless of where the context is defined and/or update the documentation to capture this specific naming requirement for specifying the defining the host's default context (aka webapp).

----- Original Message ----
From: "Caldarale, Charles R" <Chuck.Caldarale (at) unisys.com>
To: Tomcat Users List <users (at) tomcat.apache.org>
Sent: Thursday, October 12, 2006 9:06:00 AM
Subject: RE: v5.5.x default context support outside of server.xml


> From: Jon Wilmoth [mailto:jonwilmoth (at) yahoo.com] 
> Subject: v5.5.x default context support outside of server.xml
> 
> There seems to be some conflict between different sections
> of the context config documentation that leads me to believe
> it's not possible to specify a default virtual host's context
> with an empty string "path" attribute for a context.

The doc is a bit obtuse in this area, since it wasn't fully revised from
previous levels.  To specify the default app, you must first delete the
existing webapps/ROOT directory, then install your app in webapps/ROOT
(or webapps/ROOT.war) or put your <Context> element in
conf/[engine]/[host]/ROOT.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 start a new topic, e-mail: users (at) tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org
For additional commands, e-mail: users-help (at) tomcat.apache.org

---------------------------------------------------------------------
To start a new topic, e-mail: users (at) tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org
For additional commands, e-mail: users-help (at) tomcat.apache.org