[ http://jira.jboss.com/jira/browse/JGRP-29?page=history ]

B.S.Navin updated JGRP-29:
--------------------------

    Attachment: MessageTest.java

A sample program to reproduce the problem. The argument to the program is the 
path to the config file

> Messages are not sent to all members when using UDP with ip_mcast disabled
> --------------------------------------------------------------------------
>
>          Key: JGRP-29
>          URL: http://jira.jboss.com/jira/browse/JGRP-29
>      Project: JGroups
>         Type: Bug
>     Versions: 2.2.8
>  Environment: Sun JDK 1.4.2_05
>     Reporter: B.S.Navin
>     Assignee: Bela Ban
>     Priority: Critical
>  Attachments: MessageTest.java, fc-fast-udp.xml
>
> Original Estimate: 30 minutes
>         Remaining: 30 minutes
>
> Attached the configuration file and the sample program.
> The stack is a TCPPING/UDP combination. UDP has ip_mcast diabled. So all 
> messages will be unicast using UDP messages to each of the members.
> 2 members are started on ports 7800 and 7801 (7800 becomes the co-ordinator). 
> When I send a message from 7801, the message does not go to 7800 at all.
> On checking the sources, I found that on sending, the UDP.sendUdpMessage() 
> gets called from UDP.sendMultipleUdpMessages(). This method is called using 
> the same Message object for each member of the group.
> In this case, sendMultipleUdpMessages sets the destination of the Message 
> object to 7800 and calls sendUdpMessage. Here, the message is added to the 
> outgoing packet handler queue.
> Then sendMultipleUdpMessages sets the destination of the Message object to 
> 7801 and calls sendUdpMessage. But the Message object is the same. So 
> actually the destination of the Message object in the queue gets changed to 
> 7801 and the message is never delivered to 7800.
> A copy of the message should be added to the outgoing queue.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to