Allow jvm.args and runwar.args to be an array in server.json

Description

Use a new internal variable for this such that the args string made available to interceptors will still be a string.

server.defaults.jvm.args and server.defaults.runwar.args can also be an array. Args set in both places will still be merged. This change is backwards compatible so JVM args can be an array OR a string. The following variables will be available for interceptors

  • serverInfo.JVMArgs - string (existing variable)

  • serverInfo.JVMArgsArray - array (new)

  • serverInfo.runwarArgs - string (existing variable)

  • serverInfo.runwarArgsArray - array (new)

When using the array, you no longer need to use any sort of quoting or escaping. Each item of the array is used exactly as you type it to be passed to the JVM process. Also note, something like this

is actually two separate arguments and needs to be two items in the array!

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Priority

Sentry

Created October 19, 2021 at 9:16 PM
Updated December 23, 2021 at 11:05 PM
Resolved December 23, 2021 at 11:05 PM