Qunar Tech Salon
Apr 24, 2019 · Backend Development
Resolving HTTP ConnectionPoolTimeoutException and CLOSE_WAIT Issues in Java Applications
This article analyzes a production Java service that repeatedly hit org.apache.http.conn.ConnectionPoolTimeoutException due to exhausted HttpClient connection pools, explains how CLOSE_WAIT sockets are created when responses are not closed, and provides step‑by‑step code fixes and Tomcat configuration tweaks to eliminate the problem.
Connection PoolHttpClientTomcat
0 likes · 11 min read
