Book Image

WildFly Configuration, Deployment, and Administration

By : Francesco Marchioni, Christopher Adam M Ritchie
Book Image

WildFly Configuration, Deployment, and Administration

By: Francesco Marchioni, Christopher Adam M Ritchie

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

Starting up and stopping a domain


Starting up a WildFly domain is simply a matter of running the JBOSS_HOME\bin\domain.sh script (JBOSS_HOME\bin\domain.bat on Windows). In a matter of seconds, your domain will be up and running. Have a look at the following screenshot:

In order to stop the application server domain, you can either use the Ctrl + C shortcut in the same window in which you started the domain, or you can use the command-line client and issue the shutdown command to the host controller.

Unix/Linux users can issue the following command:

./jboss-cli.sh --connect command=/host=master:shutdown

Windows users can issue the following command:

jboss-cli.bat --connect command=/host=master:shutdown

Note

The default host name is master, and it is defined in the host.xml, file which is located in the JBOSS_HOME\domain\configuration folder. We will learn more about it in the next section.

Once the domain starts, several log files are created within the JBOSS_HOME\domain\log directory. The host...