]
Alessio Soldano updated JBWS-3332:
----------------------------------
Assignee: Jim Ma
Fix Version/s: jbossws-native-4.0
jbossws-cxf-4.0
Component/s: jbossws-integration
jbossws-native
wsdl-port modification in subsystem webservices throws error and
prevent AS 7 from stat. wsdl-secure-port does not break the startup
------------------------------------------------------------------------------------------------------------------------------------
Key: JBWS-3332
URL:
https://issues.jboss.org/browse/JBWS-3332
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-cxf, jbossws-integration, jbossws-native
Affects Versions: jbossws-cxf-4.0.0.Beta2
Environment: JBoss AS7 Final
Reporter: David Calvente
Assignee: Jim Ma
Fix For: jbossws-native-4.0, jbossws-cxf-4.0
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!!
--
This message is automatically generated by JIRA.
For more information on JIRA, see: