Category Archives: Application Servers

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 »

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 »

#Jboss #Artemis AMQ153005: Unable to retrieve ${0} from JNDI. Creating a new ${1} named ${2} to be used by the MDB

By | December 17, 2019

This is a strange annoying warning that suddenly appeared after I upgraded to JBoss 7.4.2 and was completly flooding my output log. It looks like an warning due to a bad configuration that until version 7.4.2 was ignored. My log looked something like this: Of course the fact that somehow the warning message seems to… Read More »

Use #ELK stack to monitor #JBOSS application server

By | December 13, 2019

The ELK (ElasticSearch+LogStash +Kibana ) stack is maybe the best method to monitor your environment in a simple visually applying way. My task was to monitor the parameters of a Jboss/Wildfly application server where my enterprise application is hosted. There are several guides that describe how to deploy the basic stack, I am not going… Read More »