tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Assaf Arkin <ar...@exoffice.com>
Subject Re: Proposal: webapp directory and changes in initialization
Date Sun, 09 Jan 2000 18:51:08 GMT
Is it possible that adding a context with a WAR drop-in could ruin the
URL mapping used by a different context?

arkin


costin@eng.sun.com wrote:
> 
> Hi,
> 
> Right now the only way to add a new context is by editing  server.xml.
> 
> In addition, I would like the following behavior:
> - create a webapps directory
> 
> - all webapps we include will be moved to this directory ( webpages,
> examples ).
> 
> - at startup, tomcat will scan the directory and automatically add any
> application.
> 
> Issues:
> - directory name ?
> - naming convention for the directories - one possibility is to use
> an encoded name of "context path" ( URL encoded? ).
> - webpages need to have a different name that will be recognized as
> a ROOT context.
> - Contexts that need specific configuration will need an init
> file. It can be placed in webapps directory with the same name and .xml
> extension, or as  WEB-INF/tomcat.xml ( my favorite), or in a separate
> config directory.
> 
> Avantages:
> - simpler instalation of contexts ( no editing )
> - easy integration with native package systems ( we can have web
> applications
> packaged as PKG or RPM or in InstallShileds)
> - will simplify the deploytool
> - server.xml will contain server global parameters and contexts that
> are installed in non-standard directories.
> - clean up the root directory, create something equivalent with htdocs.
> 
> Nothing will be implemented until we  have a better ideea of how it
> should
> work, please help with this one ( I have no ideea what's the "right"
> solution
> for that, but I think it's important that we sort it out and do
> something
> in this direction )
> 
> Costin
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org



Mime
View raw message