JedisPool.getResource() has thrown a JedisConnectionException

java.net.ConnectException
Javadoc
Signals that an error occurred while attempting to connect a socket to a remote address and port. Typically, the connection was refused remotely (e.g., no process is listening on the remote address/port). @since JDK1.1
at java.net.DualStackPlainSocketImpl.connect0
at java.net.DualStackPlainSocketImpl.socketConnect
at java.net.AbstractPlainSocketImpl.doConnect
(source)
at java.net.AbstractPlainSocketImpl.connectToAddress
(source)
at java.net.AbstractPlainSocketImpl.connect
(source)
at java.net.PlainSocketImpl.connect
at java.net.SocksSocketImpl.connect
(source)
at java.net.Socket.connect
(source)
at redis.clients.jedis.Connection.connect
(source)
redis.clients.jedis.exceptions.JedisConnectionException
at redis.clients.jedis.Connection.connect
(source)
at redis.clients.jedis.BinaryClient.connect
(source)
at redis.clients.jedis.BinaryJedis.connect
(source)
at redis.clients.jedis.JedisFactory.makeObject
(source)
at org.apache.commons.pool2.impl.GenericObjectPool.create
(source)
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject
(source)
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject
(source)
at redis.clients.util.Pool.getResource
(source)
redis.clients.jedis.exceptions.JedisConnectionException
at redis.clients.util.Pool.getResource
(source)
at redis.clients.jedis.JedisPool.getResource
(source)
18 frames hidden

Typical Exception Messages

  1. Could not get a resource from the pool
  2. Could not get a resource from the pool

Origin

External results for this pattern (1)

  1. 박종현via Google Groups1 year ago
    Could not get a resource from the pool
    Show stack trace