Threads are queued up waiting on org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ConnectionPool

Solution Verified - Updated -

Issue

  • Threads are queued up waiting on org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ConnectionPool
at java.lang.Object.wait(Native Method)
 - waiting on <0x91a77dc8> (a
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ConnectionPool) at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:509)
 - locked <0x91a77dc8> (a
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ConnectionPool) at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.getConnectionWithTimeout(MultiThreadedHttpConnectionManager.java:394) at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:152) at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
  • Logging errors with the following in the stack trace:
...
Caused by: org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection
        at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGetConnection(MultiThreadedHttpConnectionManager.java:497)
        at 
...

Environment

  • Fuse ESB (Apache ServiceMix) 3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content