-
Improvement
-
Resolution: Fixed
-
Neutral
-
4.3.8, 4.4.1
-
None
-
-
Yes
-
Empty show more show less
Another strange system architecture required another patch to the property initializer. This time the problem is that all the instances in the cluster must be exactly the same, without the possibility to use a context param just like I did in the other patch. So this time I propose to add also the possibility to use system properties to get the configuration files correctly.
System properties are resolved correctly inside the property file, but they can't be used (at the moment) to resolve the property file itself. The attached patch takes care of the job (it's really minimal).
I know that the entire property initializer should be refactored, even if the patch is not accepted I'd just like to write another real life scenario that should be included in the refactoring...
- is related to
-
MAGNOLIA-2644 Allow property initializer to use also servlet context attributes.
- Closed
-
MAGNOLIA-3094 Also use contextPath when resolving magnolia.properties files at startup
- Closed
-
MAGNOLIA-3521 PropertyInitializer should be pluggable.
- Closed