Category Archives: Application Servers

#Docker #Jboss dies with java.lang.OutOfMemoryError: Metaspace after several redeploys

There is an annoying issue with a Jboss EAP 7 Docker container I am using. After 3 deploys of my ear package I hit the “java.lang.OutOfMemoryError: Metaspace” issue. According to RedHat Solution 2038983 this is a known issue caused by: Root Cause The Metaspace is being exhausted. Either it is undersized, or there is a… Read More »

Advertisements

Glassfish: Resource monitoring from command line

Glassfish Application server is a powerful application server that can support medium to big enterprise environments. It is one of the easiest to configure and maintain application servers. No jumping through loops is required to adapt the code of your enterprise application to be deployable on it. I am an adept of command line. Because… Read More »

Linux: Search logs using bash tools

Sometimes we need to find specific things in application vast logs, sometimes 10 or 20 rotated logs each hundred of MBs each. For a quick search without using some specialized log viewer we can use the very powerful bash text processing commands. Problem: We have 10 log files each 100MB and we need to find… Read More »

DB2 + Websphere : Feature is not implemented: PreparedStatement.setBinaryStream

From a very strange reason after updating the hibernate4 from version 4.1.4 to 4.2.5 there was suddenly a weird behaviour of the EJB3.1 enterprise application I am working on. A piece of code that commits to the database an object (ProcessingStatus) containing a BLOB was throwing the following: [1/31/16 23:37:15:922 EET] 000000eb AbstractBatch Z org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl… Read More »

Disable SSL3 in Glasshfish

As we know there are big security concerns about the use of SSL3 so a lot of security audits are demanding it to be disabled in all applications that are exposed with a WEB GUI. Disabling SSL3 can be done via the admin console. First SSL is disabled individually on the HTTP listeners of your… Read More »