]
RH Bugzilla Integration commented on WFLY-3690:
-----------------------------------------------
Ondrej Chaloupka <ochaloup(a)redhat.com> changed the Status of [bug
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
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.