[jboss-jira] [JBoss JIRA] (WFLY-3690) Not possible to start XTS transaction on IPv6 with server bound to ::1

Kabir Khan (JIRA) issues at jboss.org
Wed Dec 6 12:27:12 EST 2017


     [ https://issues.jboss.org/browse/WFLY-3690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kabir Khan updated WFLY-3690:
-----------------------------
    Fix Version/s: 11.0.0.Final


I am bulk closing old issues that were resolved with no fix version. There are quite many of these so I am not checking the history properly. From the lastModified date of this issue it looks like it was done for 11.0.0.Final (I am not caring about alpha/beta etc. for this exercise). If that is incorrect please adjust as needed.

> Not possible to start XTS transaction on IPv6 with server bound to ::1
> ----------------------------------------------------------------------
>
>                 Key: WFLY-3690
>                 URL: https://issues.jboss.org/browse/WFLY-3690
>             Project: WildFly
>          Issue Type: Bug
>          Components: Transactions, XTS
>            Reporter: Stefano Maestri
>            Assignee: Amos Feng
>             Fix For: 11.0.0.Final
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list