Cannot connect to WildFly CLI? a simple way to solve it

One common issue when you are starting to use WildFly is the following issue. You have tried connecting to the CLI: $ ./ -c However the following error is returned: Failed to connect to the controller: The controller is not available at localhost:9990: WFLYPRT0053: Could not connect to remote+http://localhost:9990. The connection failed: WFLYPRT0053: Could … Read more

How to increase the Transaction Timeout in JBoss / WildFly

Transaction timeout in WildFly / JBoss can be configured in the transactions subsystem or at EJB level. When the transaction is configured in the transactions subsystem it will be the default transaction timeout for all JTA transactions. When configured at EJB level it will be specific of that EJB. Configuring Transaction timeout in the transactions … Read more

Reading properties from a configuration folder in WildFly

There are several approaches for reading properties from a directory in WildFly. We will show in this tutorial two alternative solutions: Reading properties from a file using MicroProfile Config API The recommended solution for Microservices deployments is to use the Eclipse MicroProfile Config which is a solution to externalise configuration from microservices. The config properties … Read more

Configuring global modules and directories in WildFly

WildFly lets you share a single module across all your Enterprise Applications. This means that it can be added automatically to your application stack, with no deployment configuration. There are two ways to achieve it: Using global directories, which is a new feature introduced in WildFly 19, and using global modules. Let’s see both options. Configuring … Read more

Using WildFly core as management interface

WildFly core is the core runtime that is used by the Wildfly application server. It provides some minimal functionalities such as the classloader, JMX Api and the security framework (Elytron). Besides it, you can use it as Management endpoint. In this tutorial we will learn how to install it and use it as Management interface … Read more

WildFly basic requirements

In this short tutorial we will learn which are the basic requirements to run WildFly application server. The basic requirements to start WildFly are: A JDK available on your machine The right amount of memory settings for the JDK. Let’s see both requirements. Download the appropriate JDK for your WildFly version Each recent WildFly version … Read more

How to Start, Stop and Restart WildFly

This guide contains some tips to teach you how to start, stop, restart WildFly application server First of all, WildFly can be run in two modes: Standalone mode and Domain mode. How to start, stop, restart WildFly in Standalone mode You can start WildFly as follows. Move into the bin folder of your installation and … Read more

Installing WildFly on Windows

This tutorial covers WildFly application server installation and configuration as a Service on Windows. First off, you need to download a JDK which is supported by WildFly. If you are not sure which one to download, check this article: Choosing the right JDK for WildFly and JBoss EAP 7 . Now Install the JDK : … Read more

Solving WildFly unable to accept remote connections

If your WildFly server is unable to accept remote connections then keep reading this tutorial, we will help you to solve the issue. For security reasons, WildFly application server uses for its public and management interfaces, as fallback the loopback address: <interfaces> <interface name=”management”> <inet-address value=”${}”/> </interface> <interface name=”public”> <inet-address value=”${jboss.bind.address:}”/> </interface> </interfaces> This means, … Read more

WildFly fails to start: how to solve it

Do you have issues when starting WildFly ? This tutorial will teach you how to troubleshooting issues when WildFly fails to start. Let’s see some possible causes of failure in starting WildFly Application Server: Port already in use: This is one of the most common issues that could happen if you are starting WildFly on … Read more