Public | Automated Build

Last pushed: 7 days ago
Short Description
JGroups Gossip Router Docker Image
Full Description

JGroups Gossip Router Docker Image

Starts a JGroups Gossip Router that acts as a lookup service.
Cluster members register with under their cluster name, and new members query the GossipRouter for initial cluster membership information.


To start and bind to localhost:12001

docker run -p 12001:12001 jboss/jgroups-gossip

More at


The image uses log4j2 for logging. The level of the logger org.jgroups is configurable using a system property. To run with TRACE enabled:

docker run -it -e "LogLevel=TRACE"  jboss/jgroups-gossip

It's also possible to use a different log4j2.xml file altogether. To specify a different conf file, from a mounted volume:

docker run -it -e "LOG4J2_FILE=/mount/folder/log4j2.xml" -v /local/folder:/mount/folder jboss/jgroups-gossip
Docker Pull Command
Source Repository

Comments (2)
7 months ago

3.6.11 works fine for me, however 4.0.0.CR2 doesn't. I'm running it in Rancher and can't get Gossip to work. This shows up in the logs over and over again:

2/22/2017 4:30:36 PM93699870 [ERROR] GossipRouter: JGRP000188: failed reading request
2/22/2017 4:30:36 PMjava.lang.ClassNotFoundException: Class for magic number 0 cannot be found
2/22/2017 4:30:36 PM at org.jgroups.conf.ClassConfigurator.create( ~[jgroups.jar:4.0.0.CR2]
2/22/2017 4:30:36 PM at org.jgroups.util.Util.readOtherAddress( ~[jgroups.jar:4.0.0.CR2]
2/22/2017 4:30:36 PM at org.jgroups.util.Util.readAddress( ~[jgroups.jar:4.0.0.CR2]
2/22/2017 4:30:36 PM at org.jgroups.stack.GossipData.readFrom( ~[jgroups.jar:4.0.0.CR2]
2/22/2017 4:30:36 PM at org.jgroups.stack.GossipRouter.readRequest( [jgroups.jar:4.0.0.CR2]
2/22/2017 4:30:36 PM at org.jgroups.stack.GossipRouter.receive( [jgroups.jar:4.0.0.CR2]
2/22/2017 4:30:36 PM at org.jgroups.util.Util.bufferToArray( [jgroups.jar:4.0.0.CR2]
2/22/2017 4:30:36 PM at org.jgroups.blocks.cs.ReceiverAdapter.receive( [jgroups.jar:4.0.0.CR2]
2/22/2017 4:30:36 PM at org.jgroups.blocks.cs.NioConnection._receive( [jgroups.jar:4.0.0.CR2]
2/22/2017 4:30:36 PM at org.jgroups.blocks.cs.NioConnection$Reader._run( [jgroups.jar:4.0.0.CR2]
2/22/2017 4:30:36 PM at org.jgroups.blocks.cs.NioConnection$ [jgroups.jar:4.0.0.CR2]
2/22/2017 4:30:36 PM at [?:1.8.0_111]

a year ago

It should be nice if we can get more logging.