How to configure the JBoss EAP XML configuration history
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- 7.x
Issue
- What settings are available to configure the XML configuration file history?
- Is there a way to disable the
standalone_xml_history
in EAP 6.x?
Resolution
Starting with JBoss EAP 6.1.0, these two system properties are available: jboss.config.current-history-length
(defaults to 100) and jboss.config.history-days
(defaults to 30).
For standalone mode, these could be added to standalone.conf
or on the command line as Java VM option. Or users can configure in the <system-properties>
section of the standalone.xml
. See also this article about how to add/remove/update system properties.
<system-properties>
<property name="jboss.config.current-history-length" value="50"/>
<property name="jboss.config.history-days" value="15"/>
</system-properties>
For domain mode, these could be added to domain.conf
or on the command line.
JAVA_OPTS="$JAVA_OPTS -Djboss.config.current-history-length=50 -Djboss.config.history-days=15"
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments