Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-2437

Host not set CXFJettySslSocketConnector

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.2
    • 2.1.8, 2.2.5
    • Configuration
    • None
    • Suse Linux, ActiveMQ 5.2, Camel 2.0-M3

    Description

      Host is not set on org.apache.cxf.transport.https_jetty.JettySslConnectorFactory so org.mortbay.jetty.bio.SocketConnector tries to use all available ip addresses. This causes problems on multi-homed systems. In our environment ip2:8443 is used by our JBoss server. We want to run a CXF-Endpoint within activemq 5.2 (camel-cxf-2.0-M3) on ip1:8443. The result is: "java.net.BindException: Address already in use".

      Config sample:

      <cxf:cxfEndpoint id="cxfEndpoint"
      serviceClass="xxxxx"
      wsdlURL="abc.wsdl"
      serviceName="abc:ABC"
      endpointName="abc:ABC_Port"
      address="https://server:8443/abc/service">
      </cxf:cxfEndpoint>

      Attachments

        1. cxf-jetty-host-support.diff
          12 kB
          Brent Verner

        Activity

          People

            dkulp Daniel Kulp
            dgsoft Didier Gutacker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: