Hi,
I'm new to Jgroups with j2sdk1.4.1_04, i have checked the mailing list
archive before sending my email.
I have installed Jgroups in two xp machines and tested the Draw application,
i was able to see changes in both application.However when i installed
Jgroups in a redhat 9 linux machine, where the same version of jdk is
installed, it fails communicating with the XP machine, I installed the
jgroups in another redaht 9 linux mavhine, and the communictaion between two
linux machines also failed.
However, the McastSenderTest/McastReceiverTest and
McastSenderTest1_4/McastReceiverTest1_4 program works , but when checking
them i noticed they use sockets not jgroups.
The linux machines use DHCP to assign addresses.
In the archive i have found a subject called javagroupsd and linux that
talks about teh same problem wher u suggested to :
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
1. Check the routing table: do you have an entry for the mcast route
(224.0.0.0) ?
2. This is probably due to mcast packets going out the wrong
interface. Is you Linux box multi-homed ? You'll probably need to
set the bind_addr parameter in the UDP protocol. I have written a
small test program that discovers all other members in a network
and determines which values to set bind_addr to:
org.javagroups.tests.McastDiscovery1_4. It only runs under the 1.4
JDK. Run an instance of it on each of the machines you want to run
JavaGroups on (simultaneously), for ca. 10 seconds. Then stop all
of them by pressing return in the shell where you started them.
The program should now (ideally) print the interface to which you
have to set bind_addr. If not, take the one with the highest
number of responses.
3. Enable tracing in javagroups.properties and have a look at the
trace files to see what's going on.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
-The first point was successful i do have found teh enr-try 224.0.0.0 typing
/sbin/route
-The second when i run teh programs in the two linux machines the result is
the only valid interfaces are :[127.0.0.1, 192.168.1.123] where
192.168.1.123 is teh current nmachine address and i had the same result for
the other linux machine only 127.0.0.1 and its address
Thanks for any help
_________________________________________________________________
MSN Search, le moteur de recherche qui pense comme vous !
http://fr.ca.search.msn.com/
|