[jboss-jira] [JBoss JIRA] (WFCORE-1501) Failure to create timestamped config file history fails boot

Brian Stansberry (JIRA) issues at jboss.org
Sat Apr 23 07:43:00 EDT 2016


Brian Stansberry created WFCORE-1501:
----------------------------------------

             Summary: Failure to create timestamped config file history fails boot
                 Key: WFCORE-1501
                 URL: https://issues.jboss.org/browse/WFCORE-1501
             Project: WildFly Core
          Issue Type: Bug
          Components: Domain Management
    Affects Versions: 2.1.0.Final
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
             Fix For: 2.2.0.Beta1, 3.0.0.Alpha1


Something like the following shouldn't be allowed to fail a boot; if it happens an ERROR should be logged but no exception thrown:

{code}

2016-04-22 22:10:21,247 ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught exception during boot: java.lang.IllegalStateException: WFLYCTL0056: Could not rename C:\BuildAgent\work\38e1ea00f932992d\full\testsuite\integration\basic\target\jbossas\standalone\configuration\standalone_xml_history\current to C:\BuildAgent\work\38e1ea00f932992d\full\testsuite\integration\basic\target\jbossas\standalone\configuration\standalone_xml_history\20160422-221021244
	at org.jboss.as.controller.persistence.ConfigurationFile.createHistoryDirectory(ConfigurationFile.java:668)
	at org.jboss.as.controller.persistence.ConfigurationFile.successfulBoot(ConfigurationFile.java:500)
	at org.jboss.as.controller.persistence.BackupXmlConfigurationPersister.successfulBoot(BackupXmlConfigurationPersister.java:94)
	at org.jboss.as.controller.AbstractControllerService.finishBoot(AbstractControllerService.java:452)
	at org.jboss.as.server.ServerService.boot(ServerService.java:367)
	at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:299)
	at java.lang.Thread.run(Thread.java:745)
{code}

That stack trace indicates file standalone\configuration\standalone_xml_history\20160422-221021144 must already exist but the 2nd attempt renameTo standalone\configuration\standalone_xml_history\20160422-221021244 has failed. It would be good to sort out what happened, but regardless it should not fail boot.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list