Questions tagged [jgroups]

JGroups is a Java networking library that supports reliable group communication over UDP (IP Multicast) or TCP.

JGroups is a toolkit for reliable messaging. It can be used to create clusters whose nodes can send messages to each other.

The most powerful feature of JGroups is its flexible protocol stack, which allows developers to adapt it to exactly match their application requirements and network characteristics.

JGroups comes with a large number of protocols, for example:

  • Transport protocols: (IP Multicast) or
  • Fragmentation of large messages
  • Reliable unicast and multicast message transmission
  • Failure detection: crashed nodes are excluded from the membership
  • Flow control to prevent slow receivers to get overrun by fast senders
  • Ordering protocols: FIFO, Total Order
  • Membership
  • Encryption
  • Compression
368 questions
1
vote
1 answer

JBoss EAP 6 - Secure the communications channels between clustered nodes

I'm studying for the "Redhat JBoss Admiministrator" certification. One of the neeeded competence is "Secure the communications channels between clustered nodes". Actually, the communication between two nodes in a cluster is done using the jgroups…
1
vote
1 answer

How to output logger name in JGroups and Spring Boot?

I'm using Spring Boot 1.3.2, with Logback, and using EhCache as the Hibernate second-level cache with JGroups 3.6.8.Final for distribution. All of the log messages for org.jgroups loggers are coming out as unknown.jul.logger. This originates in…
Ken DeLong
  • 341
  • 2
  • 5
  • 16
1
vote
2 answers

Jboss 6.4 Infinispan 8.2 and JGroups - ClassNotFoundException

I need some features from Infinispan 8+. Therefore I have updated my company app pom.xml with the newest Infinispan pom. It was quite straightforward, but the app uses jgroups (or its default config in default-configs/default-jgroups-udp.xml - this…
maslan
  • 2,078
  • 16
  • 34
1
vote
1 answer

Remote connections to Infinispan server - and work with JGroups

My setup is an infinispan 8.1.2 server running on AWS using a distributed cache. For local development, I would like to be able to connect to the instance on AWS, but the server will only start using either 0.0.0.0 or the AWS private IP address.…
bwsmith
  • 165
  • 2
  • 4
  • 11
1
vote
1 answer

Jgroups UDP bind_addr creates two clusters instead one

I have two servers in the same network (10.40.20.1 and 10.40.20.2), and clustered cache with UDP configurated like this: With this configuration two clusters are created in network (each with one server):
michealAtmi
  • 1,012
  • 2
  • 14
  • 36
1
vote
0 answers

Playing streamed mp3 data repeatedly with jlayer

I am working on an mp3 streaming application in Java. The user at the server end plays a music file at the server end (although the server is just currently sending the file) and the player at the client end reads the stream and plays the music. I'm…
xabush
  • 849
  • 1
  • 13
  • 29
1
vote
3 answers

How to multicast large files in jgroups

Let's say I have a relatively big file (about 100MB) that I want to multicast to all members of a cluster. How can I send the file in chunks using jgroups(with preferably a code demonstration)? The file should be read in chunks at the receivers…
xabush
  • 849
  • 1
  • 13
  • 29
1
vote
1 answer

JGroups not finding or loading main class

So I'm currently working through the official JGroups tutorial here I compile the class, specifying the correct JGroups class path, however when I run the SimpleChat, I get the following error message.…
Papantonia
  • 111
  • 10
1
vote
3 answers

JGroups to use several network cards

I have a distributed application written in Java which uses JGroups to communicate between different instances of the application located on different machines. On each machine I have 3 network cards. Each network card has its own IP and they cannot…
mb3_48900
  • 167
  • 1
  • 10
1
vote
1 answer

How to isolate server groups into particular clusters in Wildfly 9

How could be done cluster isolation in Wildfly 9? We are developing a system consisting of a number of packages. Each of them is operated within a different server group, however they together form the same cluster (we are using TCP stack with…
TomS
  • 1,159
  • 2
  • 17
  • 35
1
vote
2 answers

NoSuchMethodException - method's return type has changed - Want to accept both types

Background I have a commons library that I have to update. This commons library has a third party dependency (jgroups) which was changed significantly in newer versions. Through transitive dependencies, the newer version of jgroups is sometimes…
The Gilbert Arenas Dagger
  • 12,071
  • 13
  • 66
  • 80
1
vote
1 answer

How to open a JChannel (JGroups) using Openshift Wildfly 8 Cartridge

We are developing a Java-EE Application running on Wildfly 8 in the Wildfly-Openshift-Cartridge. The Openshift Application is set to scaled, therefore, more than one JVM node will be running as a cluster. The communicate between the different nodes,…
badera
  • 1,495
  • 2
  • 24
  • 49
1
vote
0 answers

Frequent reports of jgroups dropped messages during a performance test

Jgroup version : 3.4.4 Config :…
era
  • 391
  • 4
  • 24
1
vote
0 answers

"experimental" status of JGroups Master/Slave backend for hibernate search and infinispan

We use hibernate-search for fulltext indexing of our entities in wildfly 8.2 (using the hibernate/hibernate-search and infinspan libraries inlcuded with wildfly 8.2). Running as standalone node or in a domain with a dedicated hibernate search master…
sprockets
  • 981
  • 1
  • 6
  • 16
1
vote
1 answer

JGroups VIEW_SYNC gone, which protocol replaces it?

I get this error after upgrading to jgroups-3.4.4.Final. Sure enough... this class is no longer in the JAR. Unfortunately, I am unclear if I am supposed to just remove this protocol from my jgroups XML, or replace it with a newer/better protocol..…
Jason
  • 2,006
  • 3
  • 21
  • 36