HTTPClient Fails to Re-Use Connections With Two-Way SSL in JBoss EAP

Solution Verified - Updated -

Issue

  • We are seeing that the Apache HttpClient connection pool is not working as expected. We see that for the route "https://URL-1", for every new requested new connection is created instead of using the connection from the pool. Interesting thing is that, for the route "https://URL-2", connection is reused as expected.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
  • Apache HTTPClient Library

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