Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3690

Not possible to start XTS transaction on IPv6 with server bound to ::1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 11.0.0.Final
    • None
    • Transactions, XTS
    • None

      Currently we have the following configuration element: <xts-environment url="http://${jboss.bind.address:127.0.0.1}:8080/ws-c11/ActivationService"/>

      If bind address is set to ::1, then xts environment URL becomes http://::1:8080/ws-c11/ActivationService. This is incorrect, because IPv6 address with port number in it suppose to have brackets.

      we could need to split url in 4 different attribute:

      • protocol
      • host
      • port
      • path

      but there isn't a easy way to do the transformer by adding these new attributes. So it's just another solution to split the url and check the address if startsWith ::1, then it needs to add the brackets and join them again.

            zfeng@redhat.com Zheng Feng
            smaestri@redhat.com Stefano Maestri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: