How do I configure the JBoss EAP 6.x/7.x XML configuration history?

Solution Unverified - Updated -

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 EAP 6.1.0, these two system properties are available:

    • jboss.config.current-history-length (defaults to 100)
    • 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 you can configure in the <system-properties> section of your standalone.xml . See also this article about howt 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"
    

Root Cause

This was implemented in AS7-4931.

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.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.