WildFly CLI - Manipulating System Properties: Difference between revisions
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
For domain mode, properties can be added globally, per host and per server instance. | For domain mode, properties can be added globally, per host and per server instance. | ||
==Global System Property | ==Add/Remove a Global System Property== | ||
<pre> | <pre> | ||
Line 26: | Line 24: | ||
/system-property=foo:read-resource | /system-property=foo:read-resource | ||
</pre> | </pre> | ||
<pre> | <pre> | ||
Line 33: | Line 29: | ||
</pre> | </pre> | ||
== | ==Add/Remove a per-Host System Property== | ||
<pre> | <pre> | ||
Line 41: | Line 35: | ||
/host=master/system-property=foo:read-resource | /host=master/system-property=foo:read-resource | ||
</pre> | </pre> | ||
<pre> | <pre> | ||
Line 48: | Line 40: | ||
</pre> | </pre> | ||
==Add/Remove a per-Server System Property== | |||
<pre> | |||
/host=master/server-config=server-one/system-property=foo:add(value=bar) | |||
/host=master/server-config=server-one/system-property=foo:read-resource | |||
</pre> | |||
<pre> | |||
/host=master/server-config=server-one/system-property=foo:remove | |||
</pre> | |||
Revision as of 06:35, 24 February 2016
Internal
Add/Remove a System Property in Standalone Mode
/system-property=foo:add(value=bar) /system-property=foo:read-resource
/system-property=foo:remove
Domain Mode
For domain mode, properties can be added globally, per host and per server instance.
Add/Remove a Global System Property
/system-property=foo:add(value=bar) /system-property=foo:read-resource
/system-property=foo:remove
Add/Remove a per-Host System Property
/host=master/system-property=foo:add(value=bar) /host=master/system-property=foo:read-resource
/host=master/system-property=foo:remove
Add/Remove a per-Server System Property
/host=master/server-config=server-one/system-property=foo:add(value=bar) /host=master/server-config=server-one/system-property=foo:read-resource
/host=master/server-config=server-one/system-property=foo:remove