O'Reilly logo

WildFly Cookbook by Luigi Fugaro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating separate clusters in standalone mode

In this recipe, you will learn how to configure different and isolated clusters, running locally. We will try this using the standalone mode and the ha profile.

Getting ready

For this recipe, we will need the cluster-aware application named cluster-test, that you can find in my GitHub repository. If you skipped the Managing applications using the deployments folder recipe of Chapter 2, Running WildFly in Standalone Mode, please refer to it to download all the source code and projects that you will need.

To build the application, execute the following commands:

$ cd ~/WFC/github/wildfly-cookbook
$ cd cluster-test
$ mvn -e clean package

From the WildFly installation directory $WILDFLY_HOME, let's create four ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required