Invoking server stop, start, and reload
In this recipe, we will learn how to stop, start and reload a WildFly instance by invoking a command to the CLI. You may need to stop a server manually to correct a misconfiguration or to redeploy an application. Thus, knowing how to stop, start and reload a server is a must.
Getting ready
Remember, I'm running WildFly remotely, bound to 192.168.59.103
as IP. WildFly is already up and running.
How to do it…
We will walk through the stop
, start
, restart
, and reload
commands separately to better explain their invocation, and eventually, the differences. For example, the start
command only makes sense when running in the domain mode, as starting WildFly in the standalone mode is a manual operation.
Stop
Open a new ...
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.