Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3332

wsdl-port modification in subsystem webservices throws error and prevent AS 7 from stat. wsdl-secure-port does not break the startup

XMLWordPrintable

    • Compatibility/Configuration

      If I set wsdl-port in:
      <subsystem xmlns="urn:jboss:domain:webservices:1.0" xmlns:javaee="http://java.sun.com/xml/ns/javaee" xmlns:jaxwsconfig="urn:jboss:jbossws-jaxws-config:4.0">

      <modify-wsdl-address>true</modify-wsdl-address>
      <wsdl-host>192.168.150.210</wsdl-host>
      <wsdl-port>8180</wsdl-port>
      <wsdl-secure-port>8543</wsdl-secure-port>
      </subsystem>

      JBoss AS7 does not start:

      22:52:06,568 INFO [org.jboss.modules] JBoss Modules version 1.0.1.GA
      22:52:06,723 INFO [org.jboss.msc] JBoss MSC version 1.0.0.GA
      22:52:06,759 INFO [org.jboss.as] JBoss AS 7.1.0.Alpha1-SNAPSHOT "Lightning" starting
      22:52:07,139 ERROR [stderr] Exception in thread "Controller Boot Thread" java.lang.RuntimeException: org.jboss.as.controller.persistence.ConfigurationPersistenceException: Failed to parse configuration
      22:52:07,139 ERROR [stderr] at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:89)
      22:52:07,139 ERROR [stderr] at java.lang.Thread.run(Thread.java:662)
      22:52:07,139 ERROR [stderr] Caused by: org.jboss.as.controller.persistence.ConfigurationPersistenceException: Failed to parse configuration
      22:52:07,140 ERROR [stderr] at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:115)
      22:52:07,140 ERROR [stderr] at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:104)
      22:52:07,140 ERROR [stderr] at org.jboss.as.server.ServerService.boot(ServerService.java:193)
      22:52:07,140 ERROR [stderr] at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:83)
      22:52:07,140 ERROR [stderr] ... 1 more
      22:52:07,140 ERROR [stderr] Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[408,13]
      22:52:07,140 ERROR [stderr] Message: Unexpected element '

      {urn:jboss:domain:webservices:1.0}

      wsdl-port' encountered
      22:52:07,141 ERROR [stderr] at org.jboss.as.controller.parsing.ParseUtils.unexpectedElement(ParseUtils.java:65)
      22:52:07,141 ERROR [stderr] at org.jboss.as.webservices.dmr.WebservicesSubsystemParser.readElement(WebservicesSubsystemParser.java:216)
      22:52:07,141 ERROR [stderr] at org.jboss.as.webservices.dmr.WebservicesSubsystemParser.readElement(WebservicesSubsystemParser.java:35)
      22:52:07,141 ERROR [stderr] at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:100)
      22:52:07,141 ERROR [stderr] at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69)
      22:52:07,141 ERROR [stderr] at org.jboss.as.controller.parsing.StandaloneXml.parseServerProfile(StandaloneXml.java:311)
      22:52:07,141 ERROR [stderr] at org.jboss.as.controller.parsing.StandaloneXml.readServerElement(StandaloneXml.java:163)
      22:52:07,141 ERROR [stderr] at org.jboss.as.controller.parsing.StandaloneXml.readElement(StandaloneXml.java:91)
      22:52:07,142 ERROR [stderr] at org.jboss.as.controller.parsing.StandaloneXml.readElement(StandaloneXml.java:79)
      22:52:07,142 ERROR [stderr] at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:100)
      22:52:07,142 ERROR [stderr] at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:59)
      22:52:07,142 ERROR [stderr] at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:107)

      But if I leave wsdl-secure-port and remove wsdl-port it starts.

      I've looked at jboss-webservices.xsd and it is a valid element!!

              rhn-engineering-ema Jim Ma
              david.calvente_jira David Calvente (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: