Locate the Appropriate XML File
cd JBOSS_HOME
/standalone/configuration/
cd JBOSS_HOME
/domain/configuration/
Edit the XML file
system-properties
tag to the XML file, with the subordinate property
tag to list the system properties key-value pair:
<system-properties> <property name="foo" value="bar"/> <property name="key" value="value"/> </system-properties>