You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Harry Metske (JIRA)" <ji...@apache.org> on 2015/08/22 13:53:45 UTC

[jira] [Resolved] (JSPWIKI-910) support configuring jspwiki with envvars having dots replaced with underscores in the varnames

     [ https://issues.apache.org/jira/browse/JSPWIKI-910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harry Metske resolved JSPWIKI-910.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.10.1

Fixed in 2.10.2-svn-33.

> support configuring jspwiki with envvars having dots replaced with underscores in the varnames
> ----------------------------------------------------------------------------------------------
>
>                 Key: JSPWIKI-910
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-910
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Core & storage
>    Affects Versions: 2.10.1
>         Environment: jspwiki 2.10.1
> Linux / tomcat 
>            Reporter: Harry Metske
>            Assignee: Harry Metske
>             Fix For: 2.10.1
>
>         Attachments: JSPWIKI-910.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)