This tutorial discusses how to configure the default ports for WildFly and JBoss EAP through the various server releases. We will learn how to change a single port definition, such as the default 8080 port and how to shift all ports using a port offset.
WildFly Configuration
WildFly is the open source implementation of the Jakarta EE suite of services. It comprises a set of offerings for enterprise customers who are looking for preconfigured profiles of JBoss Enterprise Middleware components that have been tested and certified together to provide an integrated experience.
It’s easy-to-use server architecture and high flexibility makes WildFly the ideal choice for users just starting out with Jakarta EE and Microprofile API, as well as senior architects looking for a customizable middleware platform.
WildFly is free and open-source software, subject to the requirements of the GNU Lesser General Public License (LGPL), version 2.1.
The latest version of WildFly is: 32.0.0.Final – May 2024
Top resources available in this section:
WildFly basics
What is WildFly application server?
What is the difference between JBoss EAP, WildFly and JBoss AS ?
Choosing the right JDK for WildFly
WildFly for Sys Admins
How to Start, Stop and Restart WildFly
How to configure WildFly to bind to a different IP
Find out the version of WildFly you are running
Domain Management
How to manage a WildFly Domain
Configuring JVM Settings in a WildFlyDomain
Properties
How to set and load Properties in WildFly
Reading properties from a configuration folder in WildFly
How to use environment variables in WildFly configuration
Web Console
How to access WildFly Admin Console
How to manage WildFly remotely
Troubleshooting
Solving java.net.BindException: Address already in use: JVM_Bind
Various
How to configure the Port offset on JBoss AS / WildFly
Do you want to learn how to change the default ports in WildFly application server? Then keep reading this tutorial.
Mail session configuration on WildFly
In this simple tutorial we will show how to use the Java Mail service from WildFly – JBoss EAP, either connecting to a local SMTP server or using Google SMTP server. Let’s start configuring JBoss Mail service on WildFly, then we will see how to configure the service on older application server versions. WildFly Mail service configuration … Read more
What is JBoss Modular Service Container (MSC) ?
JBoss Modular Service Container (JBoss MSC) is a lightweight highly concurrent DI container for Java. It is used as foundation for the application server (JBoss EAP / WildFly). In this short article we will learn what are the basic setting that affect the configuration of JBoss MSC,
How to access JBoss from a remote machine
One of the most frequent issues for users that are approaching JBoss or WildFly is how to access it over a network. Let’s see how you can access JBoss across your network.
How to manage JBoss / WildFly remotely
In this article we will learn how you can manage a JBoss / WildFly application server remotely. There are several alternatives to access a running JBoss / WildFly server remotely. Prerequisites First, set the IP Address jboss.bind.address.management to your machine’s address As an alternative, you can use the 0.0.0.0 address which will use all the … Read more
How to intercept JVM shutdown in a Container
Java applications can require some cleanup / checks before the JVM is stopped. In this tutorial we will learn how to intercept a JVM shutdown in a container such as WildFly / JBoss EAP or Quarkus. When the shutdown is intercepted, we will execute some cleanup work before the JVM finishes shutting down.
How to manage tmp and data folder in WildFly
WildFly / JBoss EAP application storage is contained under each server installation. For standalone mode that means:
standalone/ ├── configuration ├── data ├── deployments ├── lib ├── log └── tmp
As you start deploying applications, you will see that the folders “data”, “log” and “tmp” start growing. In this tutorial we will learn how to manage the storage of the application server and which files or folders are safe to be deleted.
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: $ ./jboss-cli.sh -c However the following error is returned: Failed to connect to the controller: The controller is not available at localhost:9990: java.net.ConnectException: WFLYPRT0053: Could not connect to remote+http://localhost:9990. The connection failed: WFLYPRT0053: Could … 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