-
Bug
-
Resolution: Done
-
Minor
-
20.0.0.Final
-
None
The subsystem=transactions/commit-markable-resource=... defines the three attributes (https://github.com/wildfly/wildfly/blob/20.0.0.Final/transactions/src/main/resources/schema/wildfly-txn_5_0.xsd#L316) and all of them are defined as optional. But when the server is configured only with some of them it fails with
16:56:57,894 ERROR [org.jboss.as.controller] (Controller Boot Thread) OPVDX001: Validation error in standalone.xml ----------------------------------- | | 476: <commit-markable-resources> | 477: <commit-markable-resource jndi-name="java:jboss/datasources/ExampleDS"> | 478: <xid-location batch-size="30" immediate-cleanup="false"/> | ^^^^ 'xid-location' is missing one or more required attributes | | All of the following are required: name | | 479: </commit-markable-resource> | 480: </commit-markable-resources> | 481: </subsystem> | | The primary underlying error message was: | > ParseError at [row,col]:[478,21] | > Message: WFLYCTL0133: Missing required attribute(s): name | |------------------------------------------------------------------------------- ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: WFLYCTL0085: Failed to parse configuration at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:143) at org.jboss.as.server.ServerService.boot(ServerService.java:395) at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:416) at java.lang.Thread.run(Thread.java:748) FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.