You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Gary Tully (Jira)" <ji...@apache.org> on 2022/10/28 11:10:00 UTC

[jira] [Commented] (ARTEMIS-4002) Support env $JAVA_ARGS_APPEND to override by appending to the java command used by the scripts

    [ https://issues.apache.org/jira/browse/ARTEMIS-4002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17625613#comment-17625613 ] 

Gary Tully commented on ARTEMIS-4002:
-------------------------------------

this is a nice complement to JDK_JAVA_OPTIONS which will prepend - JAVA_ARGS_APPEND will append.

> Support env $JAVA_ARGS_APPEND to override by appending to the java command used by the scripts
> ----------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-4002
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4002
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 2.25.0
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>            Priority: Trivial
>             Fix For: 2.27.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> logging was one use case, overriding jaas login.config is another. From an env var, be able to append values to the command line such that system property values can be overridden.
> There is DEBUG_ARGS - but those are good to use for debug, it is not ideal to set DEBUG_ARGS=-Djaas.login.config=x.y when you want to provide some explicit java config.
> Would JAVA_ARGS_APPEND work?
> The JDK_JAVA_OPTIONS can work for new bits, but because that is prepended to the command line, it cannot be used to override a value provided by the script.
> We add it after DEBUG_ARGS on the command line.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)