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

UDP endpoint failure in pure IPv6 environment

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: jbossws-cxf-4.2.1
    • Fix Version/s: jbossws-cxf-4.3
    • Component/s: None
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      restart network with IPv4 disabled
      run test

      Show
      restart network with IPv4 disabled run test
    • Workaround Description:
      Hide

      use host in address - eg instead of "soap.udp://:9436" use "soap.udp://[::1]:9436"

      Show
      use host in address - eg instead of "soap.udp://:9436" use "soap.udp:// [::1] :9436"

      Description

      UDPEndpointAPITestCase.testClientSide fails with connection timeout.

      if the following lines are changed from

      Endpoint ep = Endpoint.publish("soap.udp://:9436", implementor);
      ...
      service.addPort(udpPortName, "http://schemas.xmlsoap.org/soap/", "soap.udp://:9436");
      

      to

      Endpoint ep = Endpoint.publish("soap.udp://[::1]:9436", implementor);
      ...
      service.addPort(udpPortName, "http://schemas.xmlsoap.org/soap/", "soap.udp://[::1]:9436");
      

      test passes.

      I did not inspect if both addresses has to be changed or only one suffice

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              asoldano Alessio Soldano
              Reporter:
              psakar Petr Sakar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: