Solving java.net.BindException: Address already in use: JVM_Bind

the “java.net.BindException: Address already in use: JVM_Bind” error is a common challenge when working with Java applications. This error indicates that another process is using the network address and port, preventing your application from binding to it. In this tutorial, we will explore effective solutions to overcome this error and get your Java application up and running smoothly.

Read more

Examples of jboss-deployment-structure.xml

This tutorial contains some examples of how to configure the file jboss-deployment-structure.xml . This file allows to fine tune the modules of your applications running on WildFly. The advantage of using this file (compared to the Manifest’s entry) is that you can define dependencies across top-level deployments and subdeployments.

Read more

How to monitor and invalidate HTTP Sessions in WildFly

This article we will learn how to monitor and invalidate HTTP Sessions in WildFly application server / JBoss EAP using the management instruments such as the Command Line Interface and the Web console. Monitoring HTTP Sessions First of all, in order to gather statistics about HTTP sessions, you need to enable statistics on undertow subsystem … Read more

How to print logs in JSON format in WildFly

This article discusses the configuration you can apply in WildFly to enable logging in JSON format. We will learn how to do that natively in WildFly or using a Log4j custom configuration. Strategies for logging in JSON There are several use cases in which logging in JSON format can be useful. For example: Use cases … Read more