O'Reilly logo

JBoss EAP6 High Availability by Weinan Li

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 jboss-cli.sh, 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:

$ ./jboss-cli.sh
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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required