tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Ritchey" <ritchey...@hotmail.com>
Subject Re: TC4-m4 startup
Date Tue, 07 Nov 2000 13:10:54 GMT




>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?

I was just doing some experimenting with some stuff i had developed and was 
merging my stuff with the catalina stuff, among other things.

I would perfer to have a directory structure like

myproject
  +--conf
       +--catalina (web.xml, server.xml, etc.)
       |
       +--myproject
       |
       +--otherstuff

So back to the original question, how do I specify where the base web.xml 
file should be loaded from.

>You've got it basically right.

What would be completely right?

I have started work on what I think will work (Making my own 
startup.ContextConfig, startup.Constants, and startup.Catalina classes that 
are dependent on properties files instead of hardcoded locations (for 
example say I want the conf dir. to be called config instead).  Property 
files isn't the greatest of solutions but I think it will work and add bit 
more flexibility.

I still have alot to figure out about how catalina is setup, so this all 
might be unecessary.

Thanks,

Daniel Ritchey
-------------------------
ritchey_49@hotmail.com
http://ritchey.dyndns.org
AIM: CaptainSlapHappy

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


Mime
View raw message