Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-3712

Provided mechanism to disable configuration file backup

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • None
    • None
    • None

      For certain use cases, e.g. cloud with non-writable storage, the automatic persistence backup of configuration files (standalone.xml etc) is not needed or desired.

      It would be nice to have a mechanism to disable this.

      Example:

      17:42:13,104 ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught exception during boot: java.lang.IllegalStateException: WFLYCTL0056: Could not rename /opt/datagrid/standalone/configuration/standalone_xml_history/current to /opt/datagrid/standalone/configuration/standalone_xml_history/20180326-174213103
      at org.jboss.as.controller.persistence.ConfigurationFile.createHistoryDirectory(ConfigurationFile.java:638) [wildfly-controller-2.1.18.Final-redhat-1.jar:2.1.18.Final-redhat-1]
      at org.jboss.as.controller.persistence.ConfigurationFile.successfulBoot(ConfigurationFile.java:470) [wildfly-controller-2.1.18.Final-redhat-1.jar:2.1.18.Final-redhat-1]
      at org.jboss.as.controller.persistence.BackupXmlConfigurationPersister.successfulBoot(BackupXmlConfigurationPersister.java:94) [wildfly-controller-2.1.18.Final-redhat-1.jar:2.1.18.Final-redhat-1]
      at org.jboss.as.controller.AbstractControllerService.finishBoot(AbstractControllerService.java:451) [wildfly-controller-2.1.18.Final-redhat-1.jar:2.1.18.Final-redhat-1]
      at org.jboss.as.server.ServerService.boot(ServerService.java:373) [wildfly-server-2.1.18.Final-redhat-1.jar:2.1.18.Final-redhat-1]
      at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:301) [wildfly-controller-2.1.18.Final-redhat-1.jar:2.1.18.Final-redhat-1]
      at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_161]

      17:42:13,106 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.

              Unassigned Unassigned
              kwills@redhat.com Ken Wills
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: