Fritz Schneider wrote:
Welcome, fellow newbie! I struggled with this one also. It turns out that
the <context> element for a root directory MUST be nested inside the <host>
element in server.xml.
No, no, no. That's simply not true. I have multiple installations
of 5.5.x systems running and not one has a Context element inside
the server.xml.
The dead simplest approach is to put ROOT.xml as
$CATALINA_HOME/conf/{engine}/{hostname}/ROOT.xml
Within that ROOT.xml file you can specify the docbase as ROOTXXXX
or WhAtTheHeyEver or any appropriate arbitrary path...
The name of the file is a Tomcat convention; the "docbase" *path*
you specify is entirely up to you.
-----Original Message-----
From: Bob Bronson [mailto:[EMAIL PROTECTED]
I want the "document base" directory (the <Context>'s "docBase") for my
default web application to be something other than ROOT. Please don't
ask, "why?", this is a simplification of a different but equivalent
problem.
--
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]