How to fix "Could not obtain a JMS connection from the pool after 30s" issue in JBoss ESB ?

Solution Unverified - Updated -


  • When sending 20000 odd messages from a JMS client to a server, the server stopped processing messages around 19800th message, while it resumed processing them the following exception occurred.
Caused by: org.jboss.internal.soa.esb.rosetta.pooling.ConnectionException: Could not obtain a JMS connection from the pool after 30s.
        at org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPool.internalGetSession(
        at org.jboss.internal.soa.esb.rosetta.pooling.JmsConnectionPool.getSession(
        at org.jboss.internal.soa.esb.couriers.JmsCourier.getJmsSession(

What is the root cause of this problem and how to solve it?


  • JBoss Enterprise SOA Platform (SOA-P)
    • 5.1.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In