[jboss-jira] [JBoss JIRA] (WFLY-3690) Not possible to start XTS transaction on IPv6 with server bound to ::1
Amos Feng (JIRA)
issues at jboss.org
Thu Oct 16 04:22:35 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amos Feng updated WFLY-3690:
----------------------------
Description:
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.
was:
Currently we have the following configuration element: <xts-environment url="http://${jboss.bind.address:127.0.0.1}:8080/ws-c11/ActivationService"/>
we need to split url in 4 different attribute:
* protocol
* host
* port
* path
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jboss-jira
mailing list