Re: [javagroups-users] Unable to recognise new member as part of group
Brought to you by:
belaban
From: Bela B. <be...@nm...> - 2002-07-22 14:28:26
|
Jayna Tan wrote: > I adapted the DistributedHashtableDemo to a non-gui > version and got it working on 2 machines( machine A > and B). There is no problem with getting machine A and > C to work together either. but I have a problem with > getting the same demo to work on another pair of > machine( machine C and D). It seems that neither > machines(C and D) recognise each other as part of a > group(I checked the view from the channel). > > At first I suspected I tested whether the machines had > IP multicast ability by running > org.javagroups.tests.McastSenderTest on machine C and > org.javagroups.tests.McastReceiverTest on machine D. > All input sent by the sender class are received by the > receiver class if ttl = 32. > > >I am puzzled. > What version of JavaGroups were you using ? You best bet is to look at the 2 members that don't work (C and D) and see why this is so. Try the following: 1. Get the latest JavaGroups (2.0.1) from SourceForge and try again 2. Set the bind_addr property in UDP to the interface you use. This is especially important is you have multiple NICs 3. Enable tracing: set the contents of javagroups.properties to trace=true timestamp_format=HH:mm:ss[SSS] default_output=WARN /tmp/trace.all Start C and then start D. There should be some indication in the trace file where they don't find each other. Hope this helps, -- Bela Ban Fujitsu Network Communications (408) 895-1732 |