Hi All,

Thanks to info from Jake Kjome, I can define a default
application by naming the context descriptor file
"ROOT.xml".

Hope this is useful to another developer since it is
not listed in the Tomcat 5.5 documentation.

Cheers!

// Darby




--- Chad Darby <[EMAIL PROTECTED]> wrote:
> Hi All,
> 
> I would like to know how to define a default
> application w/ Context Descriptors.
> 
> On Tomcat 5.0, I could define a default application
> w/
> a context descriptor fragment in:
> $CATALINA_HOME/conf/[enginename]/[hostname]/foo.xml
> 
> The file "foo.xml" would contain this entry:
> 
>   <Context path="" docBase="c:/test/website"/>
> 
> However, in Tomcat 5.5.4 the context name is tied to
> the context descriptor filename. The "path"
> attribute
> is ignored.
> 
> Right now, the only solution I see is to place it in
> the server.xml....but that is not recommended by the
> Tomcat 5.5 docs.
> 
> Thanks in advance for your help.
> 
> // Darby
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 

// Darby

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to