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

[GSS](7.2.z) error deploying web service without http-listener (only https-listener)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 7.1.2.GA
    • Web Services
    • None
    • +
    • Workaround Exists
    • Show
      https://access.redhat.com/solutions/3464611
    • Hide

      reproducible by removing http listener and deploying quickstart with WS.

      /subsystem=undertow/server=default-server/http-listener=default:remove
      deploy ~/git/wildfly-quickstarts/helloworld-ws/target/helloworld-ws.war
      
      Show
      reproducible by removing http listener and deploying quickstart with WS. /subsystem=undertow/server= default -server/http-listener= default :remove deploy ~/git/wildfly-quickstarts/helloworld-ws/target/helloworld-ws.war

      Deploying a application with only a https-listener (default http-listener was removed) gives error:

      Caused by: java.lang.IllegalStateException: WFLYUT0063: Could not find the port number listening for protocol HTTP/1.1
      at org.wildfly.extension.undertow.WebServerService.getPort(WebServerService.java:68)
      at org.jboss.as.webservices.config.WebServerInfoImpl.getPort(WebServerInfoImpl.java:36)
      at org.jboss.ws.common.management.AbstractServerConfig.getConnectorPort(AbstractServerConfig.java:328)
      at org.jboss.ws.common.management.AbstractServerConfig.getWebServicePort(AbstractServerConfig.java:237)
      at org.jboss.wsf.spi.metadata.config.SOAPAddressRewriteMetadata.getWebServicePort(SOAPAddressRewriteMetadata.java:66)
      at org.jboss.ws.common.deployment.EndpointAddressDeploymentAspect$PortValue.getPortValue(EndpointAddressDeploymentAspect.java:224)
      at org.jboss.ws.common.deployment.EndpointAddressDeploymentAspect$PortValue.getValue(EndpointAddressDeploymentAspect.java:217)
      at org.jboss.ws.common.deployment.EndpointAddressDeploymentAspect.start(EndpointAddressDeploymentAspect.java:84)
      at org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:73)
      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:165)
      ... 5 more

      A workaround is to use webservices configuration to define modify-wsdl-address and wsdl-port (for wsdl soap address rewriting) or jboss-webservices.xml to define wsdl.soapAddress.rewrite.wsdl-port.

              rhn-support-iweiss Ingo Weiss
              rhn-support-cdolphy Chris Dolphy
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: