Running domain mode

In this recipe, we will learn how to run WildFly in the domain mode. There are a few concepts that you need to be aware of—domain controller, host controller and server group. However, those concepts are all explained in the Appendix section of this book.

Getting ready

WildFly comes with pre-configured domain.xml and host.xml files. There are two defined server groups: one named main-server-group referencing the full profile; the other one named other-server-group referencing the full-ha profile.

Getting ready

Server groups in domain.xml

Each server group is then referenced into the host.xml file by a list of servers or hosts.

Servers declared ...

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.