Book Image

WildFly Configuration, Deployment, and Administration - Second Edition

Book Image

WildFly Configuration, Deployment, and Administration - Second Edition

Overview of this book

Table of Contents (19 chapters)
WildFly Configuration, Deployment, and Administration Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Configuring the domain


One of the main advantages of setting up a WildFly domain is the control over, and management of, the server configurations and deployments from a single centralized point. The main domain configuration consists of the following two files found in the JBOSS_HOME\domain\configuration folder, which are as follows:

  • domain.xml: This file describes the capabilities of your domain servers and defines the server groups that are part of the domain. While this file can be found on each host, only the domain.xml file found on the domain controller is used.

  • host.xml: This file is present on each host where the domain is installed and specifies the elements specific to the servers running on the host.

Overriding the default configuration files

It is possible to use configuration files other than the default files that are provided in a vanilla install. You can use your own custom configuration files by adding the following parameter to your shell command:

./domain.sh --domain-config...