Installing WildFly on Mac OS X

The easiest way is to install WildFly on Mac OS X is through Homebrew the free open-source package managment system. Requirements: install homebrew first. ruby -e “$(curl -fsSL” < /dev/null 2> /dev/null Then, install WildFly as follows: $ brew update Already up-to-date. $ brew search wildfly wildfly-as $ brew install wildfly-as ==> Downloading … Read more

Solving failed to resolve interface management

In this tutorial we to solve the issue “ failed to resolve interface management“ This issue can be verified if you try to assign an IP address to a standalone server. For example: $./ -b= -bmanagement= However we get the following error: ERROR [] (MSC service thread 1-8) MSC00001: Failed to start service org.jboss.msc.service.StartException … Read more

Getting to know WildFly folder structure

In this tutorial we will learn the basic folder structure of WildFly application server. Let’s begin from the root folder: appclient: Configuration files, deployment content, and writable areas used by the application client container are run from this installation. bin: Contains startup scripts and also scripts for installing WildFly as a service and libraries for … Read more

How to bind WildFly to an IP address

This tutorial discusses how to set WildFly bind address using command line arguments and the configuration file. It applies to all WildFly versions and JBoss EAP as well. WildFly application server and JBoss EAP include two network interfces . There are two interfaces: “public” and “management”: <interfaces> <interface name=”management”> <inet-address value=”${}”/> </interface> <interface name=”public”> <inet-address … Read more

How Wildfly uses the expression evaluator to evaluate attributes

In WildFly expressions are mechanism that enables you to support variables in your attributes. A typical usage is that you want the value of attribute to be resolved using System or Environment properties. An example expression is: ${} This means that the value should derive from a system property named and if it is … Read more

Installing WildFly Application Server

In this tutorial we will learn how to install WildFly application server. WildFly runs on top of the Java platform therefore it needs at least a Java Runtime Environment (JRE) to run. If you want to compile and build Java web applications, you will also need the Java Development Kit (JDK), which provides the necessary … Read more

How to capture WildFly lifecycle notifications

This tutorial describes how to capture lifecycle events notifications in WildFly 11 and above. Since WildFly 11 it’s much easier to capture JMX notifications of the server lifecycle events. Each time that an event like start/stop/resume etc. happens, the application server will send an AttributeChangeNotifications on the object named “jboss.root:type=state“. If you have subscribed to … Read more

How to debug module loading in WildFly

In this tutorial you will learn how to debug the list of WildFly modules loaded at boot. In order to do that, you need to increase the level of logging on the namespace “org.jboss.modules” so that it will log information about a particular class being loaded and the module from which it comes. /subsystem=logging/logger=org.jboss.modules:add(level=TRACE)  Now … Read more

Configuring JVM Settings in a WildFly / JBoss Domain

This tutorial will illustrate how to configure JVM Settings in a WildFly / JBoss EAP Domain The JVM settings of WildFly / JBoss EAP Domain Domain server instances can be configured at different levels: At Host Controller level, at Server Group level and on individual Server level. A default jvm configuration is defined on each … Read more