Connection pool running out of connections in JBoss EAP

Solution Verified - Updated -


  • Unable to get a new connection from a JBoss EAP managed connection pool
  • In JBoss EAP 6 and later IJ000453 and IJ000655 messages such as the following appear together in the server.log

    ... javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:jboss/datasources/MyDS
    ... javax.resource.ResourceException: IJ000655: No managed connections available within configured blocking timeout (30000 [ms])
  • In JBoss EAP 5 and earlier, messages such as the following appear in the server.log

    ... No ManagedConnections available within configured blocking timeout ( 30000 [ms] ]
  • Server hangs with many threads blocking with stack traces like the following:

    "ajp-" daemon prio=10 tid=0x00002aaabde44000 nid=0x106c waiting on condition [0x000000004d2b7000]
       java.lang.Thread.State: TIMED_WAITING (parking)
        at sun.misc.Unsafe.park(Native Method)
        - parking to wait for  <0x000000078f4a3140> (a java.util.concurrent.Semaphore$FairSync)
        at java.util.concurrent.locks.LockSupport.parkNanos(
        at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(
        at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(
        at java.util.concurrent.Semaphore.tryAcquire(
        at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(
        at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(
        at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(
        at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(
        at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(
        at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(
        at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(


  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 4
    • 5
    • 6
    • 7

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