Re: [jgroups-users] JGroups SimpleChat - not working - Need help
Questions/problems related to using JGroups <[email protected]> Tue, 9 Oct 2018 14:48:14 +0200
| Newsgroups | gmane.comp.java.javagroups.general |
|---|---|
| Message-ID | <mailman.30082.1539089325.1409.javagroups-users@lists.sourceforge.net> |
Actually, are you using this on Azure? Then UDP:PING won't work as IP multicasting is not supported on Azure. What's your config? On 03/10/18 12:43, Questions/problems related to using JGroups wrote: > Hi Bela, > > Thank you so much, your replies to users questions are awesome. But mine is > something different, which I couldn't able to figure it out. It would be of > great help if you could throw some light on this. > > We are using JGroups v3.6.10.Final & ehcache-jgroupsreplication v1.7 with 2 > nodes. Ours is a Mobile chat application using WebSocket. > Each node is configuired for 2 different URLs like cluster01.xxxx.xxxx & > cluster02.xxxx.xxxx. > The chat app is installed in 2 different mobiles one is pointing to 01 & > other is pointing to 02. The chat messages are not getting replicated. I > also tried the SampleChat.java even this is not replicating, please can you > suggest the what would be the reason. > > Logs of Node 1 : > > azureuser@Cluster1:~/Sample$ java -cp > JGroupsDemo.jar:./libs/jgroups-3.6.10.Final.jar demo.SimpleChat > Oct 03, 2018 10:13:08 AM org.jgroups.protocols.UDP setBufferSize > WARNING: JGRP000015: the send buffer of socket MulticastSocket was set to > 5MB, but the OS only allocated 212.99KB. This might lead to performance > problems. Please set your max send buffer in the OS correctly (e.g. > net.core.wmem_max on Linux) > Oct 03, 2018 10:13:08 AM org.jgroups.protocols.UDP setBufferSize > WARNING: JGRP000015: the receive buffer of socket MulticastSocket was set to > 5MB, but the OS only allocated 212.99KB. This might lead to performance > problems. Please set your max receive buffer in the OS correctly (e.g. > net.core.rmem_max on Linux) > Oct 03, 2018 10:13:08 AM org.jgroups.protocols.UDP setBufferSize > WARNING: JGRP000015: the send buffer of socket MulticastSocket was set to > 5MB, but the OS only allocated 212.99KB. This might lead to performance > problems. Please set your max send buffer in the OS correctly (e.g. > net.core.wmem_max on Linux) > Oct 03, 2018 10:13:08 AM org.jgroups.protocols.UDP setBufferSize > WARNING: JGRP000015: the receive buffer of socket MulticastSocket was set to > 5MB, but the OS only allocated 212.99KB. This might lead to performance > problems. Please set your max receive buffer in the OS correctly (e.g. > net.core.rmem_max on Linux) > > ------------------------------------------------------------------- > GMS: address=Cluster1-28825, cluster=ChatCluster, physical > address=fe80:0:0:0:20d:3aff:fea1:6b7%2:42116 > ------------------------------------------------------------------- > ** view: [Cluster1-28825|0] (1) [Cluster1-28825] >> > > > Logs of Node 2 : > > azureuser@Cluster2:~/Sample$ java -cp > JGroupsDemo.jar:./libs/jgroups-3.6.10.Final.jar demo.SimpleChat > Oct 03, 2018 10:14:25 AM org.jgroups.protocols.UDP setBufferSize > WARNING: JGRP000015: the send buffer of socket MulticastSocket was set to > 5MB, but the OS only allocated 212.99KB. This might lead to performance > problems. Please set your max send buffer in the OS correctly (e.g. > net.core.wmem_max on Linux) > Oct 03, 2018 10:14:25 AM org.jgroups.protocols.UDP setBufferSize > WARNING: JGRP000015: the receive buffer of socket MulticastSocket was set to > 5MB, but the OS only allocated 212.99KB. This might lead to performance > problems. Please set your max receive buffer in the OS correctly (e.g. > net.core.rmem_max on Linux) > Oct 03, 2018 10:14:25 AM org.jgroups.protocols.UDP setBufferSize > WARNING: JGRP000015: the send buffer of socket MulticastSocket was set to > 5MB, but the OS only allocated 212.99KB. This might lead to performance > problems. Please set your max send buffer in the OS correctly (e.g. > net.core.wmem_max on Linux) > Oct 03, 2018 10:14:25 AM org.jgroups.protocols.UDP setBufferSize > WARNING: JGRP000015: the receive buffer of socket MulticastSocket was set to > 5MB, but the OS only allocated 212.99KB. This might lead to performance > problems. Please set your max receive buffer in the OS correctly (e.g. > net.core.rmem_max on Linux) > > ------------------------------------------------------------------- > GMS: address=Cluster2-61743, cluster=ChatCluster, physical > address=fe80:0:0:0:20d:3aff:fea0:717f%2:59327 > ------------------------------------------------------------------- > ** view: [Cluster2-61743|0] (1) [Cluster2-61743] >> hi >> Cluster2-61743: [azureuser] hi > > > Thanks in advance. > > Brady... > > > > > -- > Sent from: http://jgroups.1086181.n5.nabble.com/JGroups-General-f3.html > > > _______________________________________________ > javagroups-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/javagroups-users > -- Bela Ban | http://www.jgroups.org