commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DAEMON-238) Behaviour of environment variables is not documented, and is unexpected
Date Mon, 30 Jan 2012 19:25:10 GMT

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

Sebb updated DAEMON-238:
------------------------

    Component/s: Procrun
    
> Behaviour of environment variables is not documented, and is unexpected
> -----------------------------------------------------------------------
>
>                 Key: DAEMON-238
>                 URL: https://issues.apache.org/jira/browse/DAEMON-238
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>            Reporter: Sebb
>
> The documentation does not currently state whether environment variables are processed
before or after command-line options.
> It appears that they are processed *after* any command-line options, at least in 1.0.7
amd 1.0.8.
> They completely override the corresponding command-line option in both versions.
> for example:
> set PR_JVMOPTION=-Da=1
> prunsrv //US//Service --JvmOption -Da=2 ++JvmOption -Db=1
> results in -Da=1 only, as does
> set PR_JVMOPTION=-Da=1
> prunsrv //US//Service --JvmOption -Da2=1 ++JvmOption -Db=1
> If this really is the intended behaviour, it should be documented as such.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message