Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-3925

XSD truststore-Type attribute doesn't comply naming conventions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.0.0.CR1
    • 7.0.0.ER7
    • Management, Security
    • None

      truststore-Type attribute of element server-sslType should be named truststore-type in XSD. Wildfly configuration parser works with truststore-type, but for example eclipse xml validator complains when truststore-type is used in configuration file.

      On the other side when truststore-Type (comply to XSD) is used, wildfly configuration parser starts to complain:

      
      

      [Host Controller] 14:49:21,822 ERROR [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0033: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: WFLYCTL0085: Failed to parse configuration
      [Host Controller] at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:131)
      [Host Controller] at org.jboss.as.host.controller.HostControllerConfigurationPersister.load(HostControllerConfigurationPersister.java:188)
      [Host Controller] at org.jboss.as.host.controller.DomainModelControllerService.boot(DomainModelControllerService.java:585)
      [Host Controller] at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:299)
      [Host Controller] at java.lang.Thread.run(Thread.java:745)
      [Host Controller] Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[110,13]
      [Host Controller] Message: WFLYCTL0197: Unexpected attribute 'truststore-Type' encountered
      [Host Controller] at org.jboss.as.controller.parsing.ParseUtils.unexpectedAttribute(ParseUtils.java:117)
      [Host Controller] at org.jboss.as.host.controller.parsing.HostXml_4.parseServerSsl(HostXml_4.java:1271)
      [Host Controller] at org.jboss.as.host.controller.parsing.HostXml_4.parseServerContent(HostXml_4.java:1131)
      [Host Controller] at org.jboss.as.host.controller.parsing.HostXml_4.parseServer(HostXml_4.java:1088)
      [Host Controller] at org.jboss.as.host.controller.parsing.HostXml_4.parseServers(HostXml_4.java:1071)
      [Host Controller] at org.jboss.as.host.controller.parsing.HostXml_4.readHostElement(HostXml_4.java:388)
      [Host Controller] at org.jboss.as.host.controller.parsing.HostXml_4.readElement(HostXml_4.java:170)
      [Host Controller] at org.jboss.as.host.controller.parsing.HostXml.readElement(HostXml.java:79)
      [Host Controller] at org.jboss.as.host.controller.parsing.HostXml.readElement(HostXml.java:50)
      [Host Controller] at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)
      [Host Controller] at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)
      [Host Controller] at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:123)
      [Host Controller] ... 4 more
      [Host Controller]
      [Host Controller] 14:49:21,823 FATAL [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0034: Host Controller boot has failed in an unrecoverable manner; exiting. See previous messages for details

              darran.lofthouse@redhat.com Darran Lofthouse
              mchoma@redhat.com Martin Choma
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: