]
Yeray Borges Santana resolved WFCORE-3712.
------------------------------------------
Resolution: Duplicate Issue
Duplicated issue: see WFCORE-4135
Provided mechanism to disable configuration file backup
-------------------------------------------------------
Key: WFCORE-3712
URL:
https://issues.redhat.com/browse/WFCORE-3712
Project: WildFly Core
Issue Type: Enhancement
Reporter: Ken Wills
Priority: Major
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:
{quote}
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.
{quote}