tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn Nielsen <gl...@mail.more.net>
Subject Re: [5.0] Getting some defaults from system properties
Date Thu, 13 Nov 2003 15:15:53 GMT
Couldn't these be set using the DefaultContext?

Regards,

Glenn

Remy Maucherat wrote:
> Hi,
> 
> This is a little similar to the Ant-like properties for server.xml.
> 
> The problem: the allowLinking and caseSensitivity flags of 
> FileDirContext, which can be set per context using the Resources 
> element, but it's kind of annoying to do it server wide.
> 
> All defaults for flags (and others) are hardcoded, which is logical. 
> However, for some, it would be convinient to be able to set them in a 
> global way.
> 
> For the naming conventions for the property names, I plan to use:
> fully_qualified_class_name.field_name
> 
> The algorithm is the following for a field:
> - look up the appropriate system property
> - if defined, use it
> - otherwise, use the old defaults
> 
> I don't think that many fields would be defaulted using this.
> 
> Additionally, to allow easily setting system properties, all the 
> properties from catalina.properties will be set as system properties. 
> Since catalina.properties is not used in embedded mode (it is loaded 
> only by Bootstrap), there should be zero impact for this use case.
> 
> Comments ?
> 
> Remy
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 



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