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

UDP endpoint failure in pure IPv6 environment

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Done
    • jbossws-cxf-4.2.1
    • jbossws-cxf-4.3
    • None
    • None
    • Hide

      restart network with IPv4 disabled
      run test

      Show
      restart network with IPv4 disabled run test
    • 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

              rhn-support-asoldano Alessio Soldano
              psakar@redhat.com Petr Sakar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: