How to use WildFly CLI in graphical mode

This article will teach you how to use the WildFly Command Line Interface in graphical mode to simplify the management of the application server.

  1. First, make sure you have WildFly installed on your machine. You can download it from the WildFly website (https://wildfly.org/downloads/) or install it using your package manager if you are using a Linux distribution.
  2. Once WildFly is installed, open a terminal and navigate to the directory where WildFly is installed. By default, this is /opt/wildfly on Linux systems and C:\wildfly on Windows systems.
  3. Start the WildFly server by running the following command:
./bin/standalone.sh

On Windows systems, you will need to use the standalone.bat file instead.

  1. The WildFly server should now be running in the terminal. You can open the WildFly CLI in graphical mode by running the following command:
./jboss-cli.sh --gui

Here’s how the CLI looks like:

WildFly CLI graphical mode

As described in the label, by clicking on a folder, the resource will expand, on the other hand if you can right-click on a node and fire an operation on it. Here’s an example of how it works. For example, we will change the attribute port of the http socket binding interface. Navigate to the resource and right click on it:

jboss cli graphical mode

Next, select “write-attribute” option. Now in the upper text area, you fill find composed the command which will be sent to the CLI to perform the action.

By clicking on submit, will return (in the Output tab) the result of your action:

wildfly cli gui

This article was a quick walk through the CLI of the application server in graphical mode.

Continue learning about WildFly CLI .


Recommended Articles

Master WildFly CLI Execution with JCliff: A Powerful Tool for Efficient Management

Learn how to leverage JCliff to streamline WildFly application server management using the Command-Line Interface (CLI). Discover how to simplify complex tasks, update existing objects, and more.

Master Conditional Logic with WildFly Command Line Interface - A Step-by-Step Tutorial

Learn how to use conditional logic in WildFly CLI with simple examples for deployment checks and module installations. #WildFlyCLI #JavaDeployment #CloudNativeDev

Mastering WildFly CLI Expansion Expressions for Efficient Resource Management

Learn how to use expansion expressions and iteration in WildFly CLI for managing multiple resources efficiently.

WildFly Non-Interactive CLI Commands Tutorial

Learn how to run WildFly CLI commands non-interactively using files or shell prompts. Includes echo command for testing.