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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via activemq-users by magellings, 1 year ago
An attempt by a client to checkout a Connection has timed out.
via Stack Overflow by Darshana
, 4 months ago
An SQLException was provoked by the following failure: java.lang.InterruptedException
via Oracle Community by user480060, 3 months ago
Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153094144)(ERR=12500)(ERROR_STACK=(ERROR=(CODE=12500)(EMFI=4))(ERROR=(CODE=12540)(EMFI=4))(ERROR=(CODE=12560)(EMFI=4))(ERROR=(C ODE=510)(EMFI=4))(ERROR=(BUF='IBM/AIX RISC System/6000 Error: 11: Resource temporarily unavailable'))))
via Apache's JIRA Issue Tracker by Wei Wei, 1 year ago
Failed to bind to server socket: nio://0.0.0.0:61619 due to: java.net.BindException: Address already in use
via GitHub by jcarmena
, 10 months ago
Failed to bind to server socket: tcp://localhost:61616 due to: java.net.BindException: La dirección ya se está usando
via GitHub by jcarmena
, 1 year ago
Failed to bind to server socket: tcp://localhost:61616 due to: java.net.BindException: La dirección ya se está usando
java.io.IOException: An attempt by a client to checkout a Connection has timed out.
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, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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