Skip to content

ALTER SETTINGS CONFIGURATION does not support ExtraJvmParameters #131

@engalar

Description

@engalar

Problem

ALTER SETTINGS CONFIGURATION does not support the ExtraJvmParameters key, which corresponds to the Extra JVM parameters field in Studio Pro under Settings → Configuration → Server tab.

Reproduction

./mxcli -p CarrefourAgent.mpr -c "ALTER SETTINGS CONFIGURATION 'Default' ExtraJvmParameters = '-Dhttps.proxyHost=127.0.0.1 -Dhttps.proxyPort=29758'"
# Error: unknown configuration setting: ExtraJvmParameters

Also tried JavaOpts — same error.

Use case

Setting HTTP/HTTPS proxy for JVM is a common requirement for:

  • Routing AWS SDK calls through a local proxy
  • Corporate network environments requiring proxy
  • Debugging API traffic

Currently the only way to set this is manually in Studio Pro, which breaks the fully-automated CLI workflow.

Expected behavior

./mxcli -p app.mpr -c "ALTER SETTINGS CONFIGURATION 'Default' ExtraJvmParameters = '-Dhttps.proxyHost=127.0.0.1 -Dhttps.proxyPort=29758'"
# Should succeed and persist the value in the MPR

Environment

  • mxcli: 0.1.0
  • Mendix: 11.6.4

Copied from engalar#48

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions