Skip to content

Tomcat

Dctm – IDS Source 16.7.5 config.bin crash during execution

Around six months ago, I faced a confusing issue with IDS Source 16.7.5 where the “config.bin” executable always crashed when I tried to run it. The installation of IDS binaries itself completed successfully without any errors. However, the configurator, which is supposed to set up the required objects inside the Repository, consistently crashed. 1. Environment context and IDS upgrade This… 

Alfresco – When a JDBC driver breaks after years of stability

A customer recently contacted us regarding an issue with an old Alfresco Enterprise 4.2.2 environment. The system had been running stably for years, with a nightly restart of the Tomcat/Alfresco service to help recycle the memory and fix long-standing issues in this version. Earlier this week, one of these nightly restarts suddenly failed and since then, Alfresco would completely refuse… 

Dctm – Invalid/Missing XSRF token on D2

During an upgrade project to Documentum 23.4, I faced yet again another interesting behavior from D2. The Documentum Server upgrade happened properly for all components like the Connection Broker, Repositories, D2, etc… The OTDS was also setup and available/working properly without too much trouble. However, the deployment of the D2 war file was a bit of another story. As usual,… 

Alfresco – Impact of SSL and LB on the import perf.

Have you ever wondered what is the impact of SSL communications or the impact of a specific Load Balancing mechanisms on the performance of your Alfresco environment? Alfresco (the Company at that time, before it became Hyland) ran some benchmark and published the results a few years ago but that might not be very relevant to you as you might… 

Hogging Threads check in Apache Tomcat

In Apache Tomcat, there is a Stuck Thread Detector Valve which can be enabled pretty easily through the Tomcat “server.xml” file. I talked about that in a previous blog already and provided an AWK parser to extract important details from the logs. However, Tomcat does not have, as far as I know, any notion of Hogging Threads. That’s what I… 

Apache Tomcat Monitoring in Prometheus without JMX

In a previous blog post, I explained how to monitor Apache Tomcat with Prometheus with help of JMX exporter. It is not always desirable to use JMX as it requires: Fortunately, it is possible to instrument a JVM directly with an additional javaagent argument. Java Agent Once we downloaded the java exporter from github repo, we simply need to add… 

HowTo – Detect and analyze long/stuck threads in Tomcat

Most Application Servers allow for long and/or stuck threads detection, to let you know that something is currently very slow, waiting on something or just simply stuck. On tomcat, this isn’t enabled by default, and you need to manually configure it as needed. But once done, it will start displaying information into the logs that can be used to find… 

Apache Tomcat Monitoring in Prometheus

To monitor Apache Tomcat, the most convenient solution is to use JMX Exporter provided by Prometheus git repository. Enable JMX Remote To enable JMX Remote, I will simply add the following line into setenv.sh file (file store in /bin of Apache Tomcat installation directory): As a check, after the restart of the service, I look for listening port 9999: I… 

Documentum – RED Warning on D2 after enabling Tomcat HTTP Security Headers

Security is and will always be a very important aspect of IT. Enterprise Content Management (or Document Management Systems or Content Services Platform or whateveryoucallit) is obviously not an exception to that. One of our main goals as a consultant is to add improvements to our customers’ installations for stability, security, and ease of management. However, it happens that not… 

Alfresco: upgrade your version of Apache Tomcat

Different versions of Alfresco can be installed with different versions of Tomcat. Alfresco provide a default version with its installer but when installing Alfresco manually, an administrator can choose to install Alfresco using a different version of Apache Tomcat. Usually, each version of Alfresco is officially supported for only one specific version of Apache Tomcat and that’s fine for some…