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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to