Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-8455

HTTP InvokerLocators being formed incorrectly with IPv6 bind address

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • No Release
    • 6.0.0.M4
    • Integration
    • None

    Description

      When we boot the AS using an IPv6 bind address, many HTTP invoker locators are formed incorrectly as URLs.
      For example, for the MBean service=invoker,type=httpHA, its invoker locator is given as:
      http://3ffe:ffff:0100:f101::1:8080/invoker/EJBInvokerHAServlet
      instead of the correct:
      http://[3ffe:ffff:0100:f101::1]:8080/invoker/EJBInvokerHAServlet

      The source of the problem is in the Http Invoker Service Configuration, defined in deploy/httpha.invoker.sar/META-INF/jboss-service.xml, where the invoker locators are constructed. The URLs are constructed by taking the hostname and port, appending a fixed prefix and appending a fixed suffix, without taking the type of IP address into account.

      Attachments

        Issue Links

          Activity

            People

              smcgowan@redhat.com Shelly McGowan (Inactive)
              rachmato@redhat.com Richard Achmatowicz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: