[
https://issues.jboss.org/browse/WFLY-3008?page=com.atlassian.jira.plugin....
]
Emanuel Muckenhuber resolved WFLY-3008.
---------------------------------------
Resolution: Done
System property substitution does not work in subnet-match
----------------------------------------------------------
Key: WFLY-3008
URL:
https://issues.jboss.org/browse/WFLY-3008
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Domain Management
Affects Versions: 8.0.0.Final
Reporter: Rich DiCroce
Assignee: Emanuel Muckenhuber
Priority: Minor
Fix For: 8.0.1.Final
Specifying a system property in subnet-match when defining an interface causes an
exception on startup. Example:
{code:xml}
<property name="subnet" value="192.168.0.0/16"/>
...
<interface name="public">
<subnet-match value="${subnet}"/>
</interface>
{code}
Causes:
{code}
12:36:13,457 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:112)
[wildfly-controller-8.0.0.Final.jar:8.0.0.Final]
at org.jboss.as.server.ServerService.boot(ServerService.java:331)
[wildfly-server-8.0.0.Final.jar:8.0.0.Final]
at
org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:256)
[wildfly-controller-8.0.0.Final.jar:8.0.0.Final]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[311,46]
Message: JBAS014693: Invalid 'value' ${subnet} -- must be of the form
address/mask
at org.jboss.as.server.parsing.CommonXml.validateAddressMask(CommonXml.java:605)
[wildfly-server-8.0.0.Final.jar:8.0.0.Final]
at
org.jboss.as.server.parsing.CommonXml.parseSimpleInterfaceCriterion(CommonXml.java:587)
[wildfly-server-8.0.0.Final.jar:8.0.0.Final]
at org.jboss.as.server.parsing.CommonXml.parseInterfaceCriteria(CommonXml.java:467)
[wildfly-server-8.0.0.Final.jar:8.0.0.Final]
at org.jboss.as.server.parsing.CommonXml.parseInterfaces(CommonXml.java:644)
[wildfly-server-8.0.0.Final.jar:8.0.0.Final]
at
org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_4(StandaloneXml.java:465)
[wildfly-server-8.0.0.Final.jar:8.0.0.Final]
at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:145)
[wildfly-server-8.0.0.Final.jar:8.0.0.Final]
at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:107)
[wildfly-server-8.0.0.Final.jar:8.0.0.Final]
at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)
[staxmapper-1.1.0.Final.jar:1.1.0.Final]
at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)
[staxmapper-1.1.0.Final.jar:1.1.0.Final]
at
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:104)
[wildfly-controller-8.0.0.Final.jar:8.0.0.Final]
... 3 more
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira