java.lang.RuntimeException: java.io.IOException: An attempt by a client to checkout a Connection has timed out.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via activemq-users by magellings, 1 year ago
java.io.IOException: An attempt by a client to checkout a Connection has timed out.
via activemq-dev by SuoNayi (Commented) (JIRA), 1 year ago
java.io.IOException: Failed to get Message Count: queue://(queue name). Reason: com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: No operations allowed after statement closed.
via activemq-dev by SuoNayi (Commented) (JIRA), 6 months ago
java.io.IOException: Failed to get Message Count: queue://(queue name). Reason: com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: No operations allowed after statement closed.
via activemq-dev by Lucio Tarantino (Commented) (JIRA), 6 months ago
java.io.IOException: Failed to get Message Count: queue://(queue name). Reason: com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: No operations allowed after statement closed.
via apache.org by Unknown author, 2 years ago
java.io.IOException: Failed to get Message Count: queue://(queue name). Reason: com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: No operations allowed after statement closed.
via activemq-dev by Lucio Tarantino (Commented) (JIRA), 1 year ago
java.io.IOException: Failed to get Message Count: queue://(queue name). Reason: com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: No operations allowed after statement closed.
com.mchange.v2.resourcepool.TimeoutException: A client timed out while waiting to acquire a resource from com.mchange.v2.resourcepo ResourcePool@d964af -- timeout at awaitAvailable()
at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1317)
at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
at org.apache.activemq.store.jdbc.TransactionContext.getConnection(TransactionContext.java:54)
at org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter.doGetMessageCount(DefaultJDBCAdapter.java:687)
at org.apache.activemq.store.ProxyMessageStore.getMessageCount(ProxyMessageStore.java:79)
at org.apache.activemq.broker.region.cursors.QueueStorePrefetch.getStoreSize(QueueStorePrefetch.java:63)
at org.apache.activemq.broker.region.cursors.AbstractStoreCursor.gc(AbstractStoreCursor.java:212)
at org.apache.activemq.broker.region.cursors.StoreQueueCursor.gc(StoreQueueCursor.java:257)
at org.apache.activemq.broker.region.Queue.removeSubscription(Queue.java:308)
at org.apache.activemq.broker.region.AbstractRegion.removeConsumer(AbstractRegion.java:324)
at org.apache.activemq.broker.region.RegionBroker.removeConsumer(RegionBroker.java:392)
at org.apache.activemq.broker.BrokerFilter.removeConsumer(BrokerFilter.java:114)
at org.apache.activemq.broker.BrokerFilter.removeConsumer(BrokerFilter.java:114)
at org.apache.activemq.advisory.AdvisoryBroker.removeConsumer(AdvisoryBroker.java:222)
at org.apache.activemq.broker.BrokerFilter.removeConsumer(BrokerFilter.java:114)
at org.apache.activemq.broker.MutableBrokerFilter.removeConsumer(MutableBrokerFilter.java:121)
at org.apache.activemq.broker.TransportConnection.processRemoveConsumer(TransportConnection.java:565)
at org.apache.activemq.broker.TransportConnection.processRemoveSession(TransportConnection.java:600)
at org.apache.activemq.broker.TransportConnection.processRemoveConnection(TransportConnection.java:705)
at org.apache.activemq.broker.TransportConnection.doStop(TransportConnection.java:1000)
at org.apache.activemq.broker.jmx.ManagedTransportConnection.doStop(ManagedTransportConnection.java:74)

Users with the same issue

Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.