[jboss-jira] [JBoss JIRA] Commented: (JGRP-792) JGroups ignores mcast_addr attribute in XML when "jgroups.udp.mcast_addr" is set
Wojciech Meler (JIRA)
jira-events at lists.jboss.org
Thu Jun 26 07:13:59 EDT 2008
[ http://jira.jboss.com/jira/browse/JGRP-792?page=comments#action_12419018 ]
Wojciech Meler commented on JGRP-792:
-------------------------------------
It would be great if jgroups deal with variables substitution in XML config - like mcast_addr="${jgroups.udp.mcast_addr:228.12.12.12}" instead of hardcoded system property.
Actually I thought it works this way...
> JGroups ignores mcast_addr attribute in XML when "jgroups.udp.mcast_addr" is set
> --------------------------------------------------------------------------------
>
> Key: JGRP-792
> URL: http://jira.jboss.com/jira/browse/JGRP-792
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 2.6.2
> Environment: linux, JDK 1.6, JBoss 4.2.1.GA
> Reporter: Jacek Gerbszt
> Assigned To: Bela Ban
>
> JGroups seems to ignore mcast_addr attribute of <UDP/> element in XML configuration file used as a parameter in JChannel constructor, when the system property "jgroups.udp.mcast_addr" is set.
> This behaviour has been observed on JBoss 4.2.1.GA started with an argument: -u 239.192.0.5. I'm trying to connect to group in the start() method of my MBean:
> public void start() throws ChannelException {
> channel = new JChannel("my-udp.xml");
> channel.connect("MyGroup");
> UDP udp = (UDP) channel.getProtocolStack().findProtocol(UDP.class);
> log.info(udp.getInfo());
> }
> Unfortunately log.info() shows that channel is connected to 239.192.0.5 instead of IP configured in my-udp.xml.
> It is a big problem when you want to connect from jboss to two different groups with two different multicast addresses.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list