tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <Craig.McClana...@eng.sun.com>
Subject Re: TC4-m4 startup
Date Tue, 07 Nov 2000 16:46:22 GMT
Daniel Ritchey wrote:

> I think I got it figured out ...
>
> do you do something like this...
>
> <Context path="" docBase="foo" debug="0"
> configClass="foo.bar.MyContextConfig"/>
>
> Then write a ContextConfig that loads the Constants from a properties file
> or something...
>
> Does this sound right?
>
> Thanks ...
>

You've got it basically right.

The global configuration files are all assumed to be in
"%CATALINA_HOME%/conf", and the global web.xml in particular is read in
org.apache.catalina.startup.ContextConfig.

Do you need to do something in particular that you can't fix just by setting
CATALINA_HOME appropriately?

> >Daniel Ritchey
>

Craig McClanahan



Mime
View raw message