CLI Usages

The CLI provides a pure text environment for us to manage the EAP6 server, and it shares the same DMR model with the web management console. In this section, let's have a brief discussion about CLI usages.

Connecting to CLI

The command to start the CLI is, which is located in the bin folder. Make sure that you have started EAP6 in the standalone mode. Let's run the CLI command now. This process is shown in the following code:

$ ./
You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
[disconnected /]

Now that we have entered the CLI console, the next step is to use the connect command to enter the management console as follows:

[disconnected /] connect ...

Get JBoss EAP6 High Availability now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.