[jboss-jira] [JBoss JIRA] (AS7-2023) Discovery and Broadcast configuration is broken for HornetQ

Andy Taylor (Resolved) (JIRA) jira-events at lists.jboss.org
Thu Oct 6 06:23:15 EDT 2011


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

Andy Taylor resolved AS7-2023.
------------------------------

    Resolution: Done


fixed and pull request sent
                
> Discovery and Broadcast configuration is broken for HornetQ
> -----------------------------------------------------------
>
>                 Key: AS7-2023
>                 URL: https://issues.jboss.org/browse/AS7-2023
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: JMS
>    Affects Versions: 7.1.0.Alpha1
>            Reporter: Andy Taylor
>            Assignee: Andy Taylor
>             Fix For: 7.1.0.Beta1
>
>
> this is because there is a transformation done from the String representation to an inet address and when its transformed back in DiscoveryGroupAdd:createDiscoveryGroupConfiguration(...) it uses the tostring() on the address so for instance 237.7.7.7 ends up as /237.7.7.7. so 
> final String groupAddress = socketBinding.getMulticastAddress().toString();
> should actually be
> final String groupAddress = socketBinding.getMulticastAddress().getHostAddress();
> same for the bind address and one BroadcastGroupAdd

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list