Testing the UDP protocol with the JGroups tool

Often times, you need to validate and/or certify a configuration, and in case of issues regarding UDP clustering, the first thing to check is if the UDP is working properly.

In this recipe, you will learn how to check if the UDP is working, testing it with a graphical tool and using java applications (thus without UI—which is the case of enterprise environment).

How to do it...

First of all, let's check if we have the JGroups library in our WildFly installation folder.

Open your command-line tool and execute the following command:

$ find . -name "jgroups*.jar"
./modules/system/layers/base/org/jgroups/main/jgroups-3.6.2.Final.jar

Great! Now we can test it.

Graphical test

Open your command-line tool.

  1. Now execute ...

Get WildFly Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.