Hassan,
So your context have the path element set to "" ?
Please read what Yuval wrote and what I responded. Yuval wrote "with path="" ". I responded with "default context".
And you are correct that you do not have to define any context in the server.xml, but if you wish to use the path element set to a value of "" (defined as default) then you do according to the documentation.
" If you specify a context path of an empty string (""), you are defining the default web application for this Host, which will process all requests not assigned to other Contexts. The value of this field must not be set except when statically defining a Context in server.xml, as it will be infered from the filenames used for either the .xml context file or the docBase. "
Doug
----- Original Message ----- From: "Hassan Schroeder" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[email protected]>
Sent: Wednesday, April 27, 2005 3:17 PM
Subject: Re: Change ROOT in Tomcat 5.5.9
Parsons Technical Services wrote:
You can't do that with 5.5.X . You must declare the default context in the server.xml
No, I don't know how you're getting that out of the reference below but there's no requirement to have your context -- any context -- defined in server.xml.
Trust me, I've got several 5.5.x machines running right now, and *all* the contexts are defined in either /META-INF/context.xml or $CATALINA_HOME/conf/{engine}/{hostname}/{context}.xml
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
FWIW, -- Hassan Schroeder ----------------------------- [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
dream. code.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
