I’m looking for a simple ehcache program example to verify network settings for multicast. There are many postings about issues with configuring multicast for ehcache. I’d like a simple script/program that can start two java vms and verify that cache updates are communicated between the VMs, thus verifying that multicast configuration works on the single server, and an extension of the program that can work on multiple servers, verifying that ehcache is working between the servers.
Thanks,
Justin
JGroups have tools for checking IP multicast, see the manual on chapter 2. The
McastReceiverTestandMcastSenderTestare easy to use:start receiver on one machine
and sender on another
(maybe add
-jar jgroups-X.jar)The sender transmits messages from the shell to all receivers, e.g.:
sender:
receiver: