How to check JVM arguments from the CLI in WildFly

There are several options to collect JVM arguments of WildFly application server from the Command Line. Firstly, if you want to check JVM arguments of a Java process, a simple way to do that is using the ‘jps‘ tool which is available in the ‘bin‘ folder of the JDK. Example: Also, you can use the … Read more

Categories CLI

How to Add an User in WildFly

If you are an administrator of a Wildfly server, you may need to add new users to the server for authentication and authorization purposes. This short tutorial will teach you how to Add a management user with WildFly Application Server.

Read more

Categories CLI

How to run a WildFly CLI commands from the shell

WildFly ships with a powerful Command Line Interface which can be run interactively or not. In this tutorial we will learn how to run CLI commands in non-interactive mode. Running CLI commands in a File The simplest option to run CLI commands in non-interactive mode is to include the commands in a text file and … Read more

Categories CLI

JBoss cheatsheet for Linux Administrators (2022)

This is my JBoss / WildFly cheatsheet I use for managing the application server on a Linux box. Enjoy it and welcome any contribution to the cheatsheet. WildFly / JBoss CLI How to execute commands in non-interactive way: jboss-cli.sh –connect –command=”:reload” How to connect to a non default host/port jboss-cli.sh –connect –controller=192.168.0.1:9990 How to execute … Read more

Categories CLI