]
Brian Stansberry updated WFLY-3519:
-----------------------------------
Git Pull Request:
process-id-uuid and related attribute should consider
alternatives/required attributes in :write-attribute handler
------------------------------------------------------------------------------------------------------------------
Key: WFLY-3519
URL:
https://issues.jboss.org/browse/WFLY-3519
Project: WildFly
Issue Type: Bug
Components: Transactions
Reporter: Stefano Maestri
Assignee: Stefano Maestri
The transaction subsystem causes the server fails to start (is halted) when just
process-id-uuid is set to false without specifying the process-id-socket-binding.
When you run commands:
/subsystem=transactions:write-attribute(name=process-id-uuid,value=false)
:reload
Server fails with exception [1]
The transaction subsystem should block changes that causes the server would fail on
reload. The user should get information that the process-id-socket-binding has to be set
before reload could proceed, i.e., fail the reload operation.
[1]
11:13:53,630 ERROR [org.jboss.as.server] (Controller Boot Thread) JBAS015956: Caught
exception during boot:
org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS014676: Failed
to parse configuration
at
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:141)
[jboss-as-controller-7.4.0.Final-redhat-10.jar:7.4.0.Final-redhat-10]
at org.jboss.as.server.ServerService.boot(ServerService.java:321)
[jboss-as-server-7.4.0.Final-redhat-10.jar:7.4.0.Final-redhat-10]
at
org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:253)
[jboss-as-controller-7.4.0.Final-redhat-10.jar:7.4.0.Final-redhat-10]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_55]
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[287,17]
Message: JBAS014723: Must include one of the following elements: SOCKET, UUID
at org.jboss.as.controller.parsing.ParseUtils.missingOneOf(ParseUtils.java:194)
[jboss-as-controller-7.4.0.Final-redhat-10.jar:7.4.0.Final-redhat-10]
at
org.jboss.as.txn.subsystem.TransactionSubsystem14Parser.parseProcessIdEnvironmentElement(TransactionSubsystem14Parser.java:390)
at
org.jboss.as.txn.subsystem.TransactionSubsystem14Parser.parseCoreEnvironmentElement(TransactionSubsystem14Parser.java:340)
at
org.jboss.as.txn.subsystem.TransactionSubsystem15Parser.readElement(TransactionSubsystem15Parser.java:59)
at
org.jboss.as.txn.subsystem.TransactionSubsystem14Parser.readElement(TransactionSubsystem14Parser.java:110)
at
org.jboss.as.txn.subsystem.TransactionSubsystem14Parser.readElement(TransactionSubsystem14Parser.java:53)
at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)
[staxmapper-1.1.0.Final-redhat-2.jar:1.1.0.Final-redhat-2]
at
org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69)
[staxmapper-1.1.0.Final-redhat-2.jar:1.1.0.Final-redhat-2]
at
org.jboss.as.server.parsing.StandaloneXml.parseServerProfile(StandaloneXml.java:1035)
[jboss-as-server-7.4.0.Final-redhat-10.jar:7.4.0.Final-redhat-10]
at
org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_4(StandaloneXml.java:469)
[jboss-as-server-7.4.0.Final-redhat-10.jar:7.4.0.Final-redhat-10]
at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:145)
[jboss-as-server-7.4.0.Final-redhat-10.jar:7.4.0.Final-redhat-10]
at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:107)
[jboss-as-server-7.4.0.Final-redhat-10.jar:7.4.0.Final-redhat-10]
at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)
[staxmapper-1.1.0.Final-redhat-2.jar:1.1.0.Final-redhat-2]
at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)
[staxmapper-1.1.0.Final-redhat-2.jar:1.1.0.Final-redhat-2]
at
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:133)
[jboss-as-controller-7.4.0.Final-redhat-10.jar:7.4.0.Final-redhat-10]
... 3 more
11:13:53,635 FATAL [org.jboss.as.server] (Controller Boot Thread) JBAS015957: Server boot
has failed in an unrecoverable manner; exiting. See previous messages for details.