How to add/remove/update system properties in EAP 6.x/7.x
Issue
- How to add system properties in EAP 6.x/7.x?
- Is there a replacement for
properties-service.xmlin EAP 6.x/7.x? - How to add system properties by CLI command in EAP 6.x/7.x?
- How to remove system properties by CLI command in EAP 6.x/7.x?
- Is there an alternative to using
JAVA_OPTSfor system properties in EAP 6.x/7.x? - How to remove all system properties by CLI command in EAP 6.x/7.x?
- How to add a system property in EAP 6.x/7.x configuration using JBoss CLI?
- Tried manually removing the system property and added back the same System property using CLI
It throws below errors
{"JBAS014653: Composite operation failed and was rolled back. Steps that failed:
" => {"Operation step-1" => "JBAS014803: Duplicate resource [(\"system-property\
" => \"foo\")]"}}
- Replacement for properties-service.xml.
- We are migrating from EAP 5.2 to 6.3. For EAP 5.2 we are using properties-service.xml but I cannot find a replacement for it in EAP 6.
- We are updating some system properties in server groups? Once the changes are saved will they be live immediately after they are saved? Will the slave and application instances pick up the changes once saved?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
