VDX - pretty print does not kick in when element has no value
- open standalone.xml
- locate webservices subsystem
- add <modify-wsdl-address>ttrue</modify-wsdl-address> under <wsdl-host>...</wsdl-host>
- run standalone.sh
docs/schema/jboss-as-webservices_2_0.xsd says <xs:element name="modify-wsdl-address" type="xs:boolean" minOccurs="0" maxOccurs="1">
I think vdx could detect that incorrect value is provided - boolean should be easy.
At least some partial solution ...
Only this error message is provided:
12:12:01,475 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:145) at org.jboss.as.server.ServerService.boot(ServerService.java:355) at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:302) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalArgumentException at org.jboss.dmr.StringModelValue.asBoolean(StringModelValue.java:157) at org.jboss.dmr.ModelNode.asBoolean(ModelNode.java:267) at org.jboss.as.controller.parsing.ParseUtils.parseAttributeValue(ParseUtils.java:573) at org.jboss.as.controller.SimpleAttributeDefinition.parse(SimpleAttributeDefinition.java:230) at org.jboss.as.controller.SimpleAttributeDefinition.parse(SimpleAttributeDefinition.java:159) at org.jboss.as.controller.SimpleAttributeDefinition.parseAndSetParameter(SimpleAttributeDefinition.java:186) at org.jboss.as.webservices.dmr.WSSubsystem11Reader.readElement(WSSubsystem11Reader.java:83) at org.jboss.as.webservices.dmr.WSSubsystem11Reader.readElement(WSSubsystem11Reader.java:55) at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:122) at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69) at org.jboss.as.server.parsing.StandaloneXml_5.parseServerProfile(StandaloneXml_5.java:591) at org.jboss.as.server.parsing.StandaloneXml_5.readServerElement(StandaloneXml_5.java:245) at org.jboss.as.server.parsing.StandaloneXml_5.readElement(StandaloneXml_5.java:144) at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:107) at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:49) at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:122) at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:76) at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:126)
- is incorporated by
-
WFCORE-1915 ParseUtils.parseAttributeValue should not fail due to DMR type conversions
- Resolved
-
JBEAP-6556 (7.1.0) Upgrade to WildFly Core 3.0.0.Alpha12
- Closed