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.
Remember, I'm running WildFly remotely, bound to
192.168.59.103 as IP. WildFly is already up and running.
We will walk through the
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.
Open a new ...