How to solve java.lang.NoSuchFieldError: EMPTY_BYTE_ARRAY

When deploying applications on WildFly, encountering a log4j2 core libs and log4j2 API mismatch issue is not uncommon. This issue, presented as java.lang.NoSuchFieldError: EMPTY_BYTE_ARRAY, arises due to discrepancies between the Log4j2 core libraries used within the application and the Log4j2 API provided by WildFly’s modules. Cause: Firstly, the mismatch occurs when the application uses a … Read more

allowPublicKeyRetrieval option in the MySQL JDBC connector


The allowPublicKeyRetrieval option in the MySQL JDBC connector is used to control whether the client is allowed to request the public key of the server during an SSL connection. By default, this option is set to false to enhance security and prevent potential man-in-the-middle attacks. However, in some cases, it may be necessary to set this option to true to enable certain features or compatibility with older applications.

Read more

Is JBoss EAP free to use ?

Navigating the landscape of JBoss EAP’s accessibility often sparks the common query, “Is JBoss EAP free?” In this comprehensive discussion, we aim to shed light on this frequently debated topic, offering insights and clarifications for your consideration.

Please note that the information provided here reflects the available options at the time of writing. To access the most current details, we strongly advise consulting Red Hat’s official website through the links provided in this article.

Read more

Configuring WildFly Batch Job Repository

WildFly ships with the subsystem batch-jberet which is the administration side of JSR 352, also known as Batch API for Java applications. This JSR specifies a programming model for batch applications and a runtime for scheduling and executing jobs. WildFly Batch Job Repository configuration Out of the box, the following configuration defines the batch-jberet subsystem: … Read more

How to configure Logging Profiles in WildFly

A logging profile allows you to define and configure logging specific to that particular application. This includes specifying the log levels, log handlers, and formatting for the logs generated by your application. In this article we will learn how to define a Logging Profile and the key differences with Standard Loggers.

Read more