Freeing Tomcat Worker Threads with Servlet 3.0 Asynchronous Processing
Learn how to free Tomcat worker threads by using Servlet 3.0 asynchronous request processing with a CompletableFuture‑based example and verification steps.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to free Tomcat worker threads by using Servlet 3.0 asynchronous request processing with a CompletableFuture‑based example and verification steps.
Learn how to prevent connection leaks and thread saturation in Tomcat by tuning the JDBC pool and Executor settings for high-concurrency environments.
Goal Determine whether Tomcat’s built‑in leak prevention (JreMemoryLeakPreventionListener and the clearReferences* attributes) reliably isolates a web application’s classloader when third‑party JDBC drivers and thread‑local caches are present. Constraints and uncertainty JreMemoryLeakPreventionListener pre‑loads known JDK classes at server start, but drivers
JMX notification listeners fail after Tomcat 10.1's jakarta.management migration Upgrading to Tomcat 10.1 changes the JMX API from javax.management to jakarta.management . Existing notification listeners that still import the old package are silently dropped during registration, so alerts for thread‑pool saturation, request latency spikes, and lifecycle even