WildFly 24.0.1.Final: The Best Choice for Developing and Deploying Microservices with Quarkus
How to Download and Install WildFly 24.0.1.Final
WildFly is a popular open source Java application server that provides a fast, lightweight, and powerful platform for developing and running enterprise applications. WildFly supports the latest standards and technologies such as Jakarta EE, Eclipse MicroProfile, RESTful web services, WebSocket, JSON-P, JSON-B, JPA, CDI, Bean Validation, Batch, Concurrency, and more.
WildFly 24.0.1.Final is the latest release of WildFly that was released on July 28, 2021. It is a bug fix update that includes an update to WildFly Preview, which is a tech-preview distribution that showcases the future of WildFly as it moves on to Jakarta EE 9 and later. The full list of issues resolved in WildFly 24.0.1.Final is available .
download wildfly 24.0.1.final
In this article, we will show you how to download and install WildFly 24.0.1.Final on your machine and run it in standalone or domain mode.
Prerequisites
Before you download and install WildFly 24.0.1.Final, you need to make sure that you have the following requirements:
Java SE 8 or later. We recommend that you use the latest available update of the current long-term support Java release.
A JAVA_HOME environment variable that points to your Java installation directory.
To check your Java version and set your JAVA_HOME environment variable, follow these steps:
Open a terminal or command prompt window.
Type java -version and press Enter.
You should see something like this:
openjdk version "11.0.9" 2020-10-20 OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.9+11) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.9+11, mixed mode)
If you don't see a valid Java version or you get an error message, you need to install Java or update your PATH variable.
To set your JAVA_HOME environment variable, follow the instructions for your operating system .
Downloading WildFly 24.0.1.Final
To download WildFly 24.0.1.Final, follow these steps:
Go to the official WildFly website .
Click on the Download button for WildFly 24.0.1.Final.
Choose the zip file for your operating system and click on the Download link.
Save the zip file to your preferred location on your machine.
Optionally, you can verify the integrity of the downloaded file by comparing its SHA-1 checksum with the one provided on the website. You can use a tool like to calculate the checksum of the file.
Installing WildFly 24.0.1.Final
To install WildFly 24.0.1.Final, follow these steps:
Locate the zip file that you downloaded and extract it to a desired location on your machine. For example, you can extract it to C:\wildfly-24.0.1.Final on Windows or /opt/wildfly-24.0.1.Final on Linux.
The extracted folder contains the following subfolders:
bin: contains scripts and commands for starting, stopping, and managing WildFly.
docs: contains documentation and examples for WildFly.
jboss-modules.jar: contains the core module system for WildFly.
modules: contains the modules and libraries for WildFly.
standalone: contains the configuration and data files for running WildFly in standalone mode.
domain: contains the configuration and data files for running WildFly in domain mode.
welcome-content: contains the static content for the default web page of WildFly.
To configure WildFly for standalone or domain mode, you can edit the XML files in the standalone/configuration or domain/configuration folders respectively. You can also use the management console or the CLI tool to modify the configuration at runtime.
Running WildFly 24.0.1.Final
To run WildFly 24.0.1.Final, follow these steps:
Open a terminal or command prompt window and navigate to the bin folder of your WildFly installation.
To start WildFly in standalone mode, run one of the following commands:
// For Linux ./standalone.sh // For Windows standalone.bat
To start WildFly in domain mode, run one of the following commands:
// For Linux ./domain.sh // For Windows domain.bat
You should see a message like this when WildFly is started:
[org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 24.0.1.Final (WildFly Core 16.0.1.Final) started in 1234ms - Started 123 of 456 services (123 services are lazy, passive or on-demand)
To access the management console, open a web browser and go to . You will be prompted to create a management user if you have not done so before.
To access the default web page, open a web browser and go to . You will see a welcome page with some links and information about WildFly.
Troubleshooting WildFly 24.0.1.Final
If you encounter any issues when starting or running WildFly 24.0.1.Final, here are some tips to help you troubleshoot them:
If you get an error message like this when starting WildFly:
[org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service org.wildfly.network.interface.public: org.jboss.msc.service.StartException in service org.wildfly.network.interface.public: WFLYSRV0082: failed to resolve interface public at org.jboss.as.server.services.net.NetworkInterfaceService.start(NetworkInterfaceService.java:97) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739) at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute (ServiceControllerImpl.java:1750) at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559) at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at java.lang.Thread.run(Thread.java:834)
This means that WildFly could not resolve the network interface that is configured in the standalone.xml or domain.xml file. You can either change the interface name to match your system's network interface, or use 0.0.0.0 to bind to all available interfaces.
If you get an error message like this when starting WildFly:
[org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("core-service" => "management"),("management-interface" => "http-interface")]) - failure description: "WFLYCTL0080: Failed services" => "org.wildfly.management.http.extensible" => "java.net.BindException: Address already in use /127.0.0.1:9990 Caused by: java.net.BindException: Address already in use /127.0.0.1:9990"
This means that WildFly could not bind to the port that is configured for the management interface, because another process is already using it. You can either stop the other process, or change the port number in the standalone.xml or domain.xml file.
If you get an error message like this when starting WildFly:
[org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 24.0.1.Final (WildFly Core 16.0.1.Final) started (with errors) in 1234ms - Started 123 of 456 services (123 services failed or missing dependencies, 123 services are lazy, passive or on-demand) [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found wildfly-quickstart.war in deployment directory. To trigger deployment create a file called wildfly-quickstart.war.dodeploy [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0013: Scan found incompletely copied file content for deployment wildfly-quickstart.war. Deployment changes will not be processed until all content is complete.
This means that WildFly detected an incomplete deployment file in the standalone/deployments or domain/deployments folder. You need to either complete the copy of the file, or delete it and try again.
If you get an error message like this when starting WildFly:
[org.jboss.modules] (main) JBoss Modules version 1.11.0.Final [org.jboss.msc] (main) JBoss MSC version 1.4.12.Final [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: WildFly Full 24.0.1.Final (WildFly Core 16.0.1.Final) starting [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 28) WFLYCTL0028: Attribute 'enabled' in the resource at address '/subsystem=datasources/data-source=ExampleDS' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation. [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 28) WFLYCTL0028: Attribute 'enabled' in the resource at address '/subsystem=datasources/xa-data-source=ExampleXADS' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation. [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0210: Resuming server [org.jboss.as] (Controller Boot Thread) WFLYS RV0049: WildFly Full 24.0.1.Final (