Category Archives: Application Servers

The Case of the Frozen Database: How Tuning NVMe I/O Saved a Critical JBoss Application

By | November 21, 2025

In high-performance enterprise environments, the chain is only as strong as its weakest link. I recently faced a critical issue where a long-running task in my development machine running in JBoss Application Server was failing consistently. The investigation led me down a path from application timeouts deep into the core I/O mechanics of the Oracle… Read More »

Enable logging of Hibernate statements and parameters in JBoss (WildFly)

By | May 13, 2025

To enable logging of Hibernate statements and parameters in JBoss (now known as WildFly), you’ll need to adjust the logging configuration to capture the necessary Hibernate SQL logging information. Configure JBoss/WildFly Logging for Hibernate 4. Restart Jboss

Monitor and control #ActiveMq using Jolokia #API

By | October 26, 2023

Apache ActiveMQ® is the most popular open source, multi-protocol, Java-based message broker. It is widely used in a lot of multi service application environments where we need to pass messages between services. All this type of environments (kubernets, docker swarm etc. ) are used to be able to monitor and control the component services using… Read More »

#Jboss: Data source connection optimizations

By | June 21, 2023

In a high load system deployed on Jboss Application Server the following optimizations for data source pool resources may be needed. 1. Change the minimum and maximum pool size of a data source (MyDS). This will ensure that we always have a minimum number of allocated connections and also we set a threshold to the… Read More »

Activate #infinispan second level cache with #jboss and #hibernate

By | November 23, 2022

Second level cache is an extremely powerful way to improve performance of an enterprise application if done right. In the following I will explain how to activate and configure second level cache when using Hibernate and Jboss 7.4+ application server. Jboss 7.4 comes with Infinispan as the build in second level cache solution. This makes… Read More »

#Optimize #Jboss EAP 7.x embedded #Artemis messaging server for high volumes

By | February 23, 2022

There are several configurations that will prepare the embedded Jboss EAP 7.x Artemis messaging server for a production environment with high volumes. The following is a non exhaustive list of optimizations I discovered during several performance tests. Most of the settings is assumed that are done from jboss-cli. Disable client pre-fetch of messages: This will… Read More »

Enable #HTTP Strict Transport Security (#HSTS) in #Jboss EAP 7.x

By | February 22, 2022

To enable HSTS in Jboss from jboss-cli.sh command line execute the following: The following curl command can be used to verify the response header is returned correctly:

How to run with multiple PHP versions on Fedora 35 using Apache and PHP-FPM

By | August 17, 2023

I am self hosting my own services on my home server and sometimes issues occur due to incompatible prerequisites and because I try to always use the latest version of everything. After updating from Fedora 34 to Fedora 35 again I hit one issue I already had: PHP prerequisites. The issue after update was caused… Read More »

#ActiveMq #Artemis – Fix phantom messages issue

By | March 8, 2023

Sometimes we end up with phantom messages in ActiveMq or Artemis engines. This is usually the case when due to some network issue/ database issue and inconsistent commit was done. I have no idea if this is a bug of the engine or a known case that can happen because of external causes.   The… Read More »

Recover a legacy #Glashfish Application Server from a disk full situation #Java LOG003: Read failure. Log exception at point 14.

By | July 14, 2021

There is this case when disk is full on a server instance running Glashfish Application Server. This sadly has an adverse effect due to some Glashfish bugs that were never fixed. When disk is full several things get corrupted because Glashfish by default uses the disk to store some cached information. First sign you have… Read More »