Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.10.1
-
None
-
jspwiki 2.10.1
Linux / tomcat
Description
Currently you can configure jspwiki's behavior with java system properties and/or environment variables.
These values take precedence over jspwiki property files.
However, in some environments this is failing because many jspwiki properties have dots in their keynames (e.g. jspwiki.baseURL), and in a *nix shell environment, envvar names are not allowed to have dots in their name and can not be exported ("jspwiki.baseURL is not an identifier").
I ran into this issue trying to deploy jspwiki with Apache brooklyn.
The proposed solution is to replace dots with underscore, so you specify the envvar jspwiki_baseURL, and thereby set property jspwiki.baseURL.
I will attach a patch.