JBoss / WildFly XML descriptors reference

WildFly uses a set of custom XML descriptors which can be used to customize Enterprise applications. Today they are not used so widely as once, because they have been replaced by their equivalent annotations. Though it can be useful to have a reference to most common XML configuration file, if you prefer to maintain your … Read more

What is JBoss and what is used for?

In this tutorial we will learn what is JBoss and what is JBoss used for. The word JBoss is quite generic. In the beginning it was used to reference a Community Opensource project called “JBoss” developed by the JBoss Inc. which was later acquired by Red Hat in 2006. Since JBoss org. was acquired by … Read more

JBoss MBeans POJO

UPDATE: This tutorial has been written for JBoss AS 5. MBeans POJO are not available anymore in WildFly application server. Their main purpose was to create Singleton-like behaviour in applications. You can replace them with EJB Singleton. Read this tutorial to learn more: Singleton EJB tutorial JMX MBean services are the core building blocks of … 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

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=”${jboss.bind.address.management:127.0.0.1}”/> </interface> <interface name=”public”> <inet-address value=”${jboss.bind.address:127.0.0.1}”/> </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

Setting WildFly Home Directory

WildFly HOME Directory is determined by the variable JBOSS_HOME. Therefore, in order to set it on a Linux Machine you need to: $ export JBOSS_HOME=/home/francesco/jboss/wildfly-17.0.0.Final For Microsoft Windows, from the Windows Start Menu, select Settings, select Control Panel, select System, select Advanced, then select Environment Variables. Click New. In the Variable Name field, enter JBOSS_HOME. … Read more

How to shutdown WildFly gracefully

This tutorial shows how you can shutdown WildFly gracefully. WildFly can be suspended or shut down gracefully. This allows permits running requests to complete normally, without accepting new requests. Moreover, you can specify a timeout to define how long the suspend or shut down operation will wait for active requests to complete. You can shutdown … Read more

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 https://raw.githubusercontent.com/Homebrew/install/master/install)” < /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 https://download.jboss.org/wildfly/16.0.0.Final/wildfly-16.0.0.Final.tar.gz … Read more