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

UDP endpoint failure in pure IPv6 environment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • jbossws-cxf-4.3
    • jbossws-cxf-4.2.1
    • 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"

      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

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

              Created:
              Updated:
              Resolved: