Pool.getResource() has thrown a JedisConnectionException

java.lang.IllegalStateException
Signals that a method has been invoked at an illegal or inappropriate time. In other words, the Java environment or Java application is not in an appropriate state for the requested operation. @author Jonni Kanerva @since JDK1.1
at org.apache.commons.pool2.impl.BaseGenericObjectPool.assertOpen
IllegalStateException if the pool is closed.
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject
Exception if an object instance cannot be returned due to an error
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject
Exception if an object instance cannot be returned due to an error
at redis.clients.util.Pool.getResource
redis.clients.jedis.exceptions.JedisConnectionException
at redis.clients.util.Pool.getResource
5 lines hidden

Matching stack traces (3)

  1. bleszxyvia GitHub7 months ago
    Could not get a resource from the pool
  2. Alchemistvia Stack Overflow8 months ago
    Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  3. tonyvia Stack Overflow1 year ago
    Could not get a resource from the pool

See Also

Parent

4 web pages  - Tried to get a connection from a closed Jedis pool
java.lang.IllegalStateException
    at org.apache.commons.pool2.impl.BaseGenericObjectPool.assertOpen()
    at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject()
    at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject()
    at redis.clients.util.Pool.getResource()

Children

  • 3 web pages  - Jedis pool is closed
    redis.clients.jedis.exceptions.JedisConnectionException
        at redis.clients.util.Pool.getResource()
        at redis.clients.jedis.JedisPool.getResource()
    Caused by: java.lang.IllegalStateException
        at org.apache.commons.pool2.impl.BaseGenericObjectPool.assertOpen()
        at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject()
        at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject()
        at redis.clients.util.Pool.getResource()

Typical exception messages

  1. 5 crashes - Could not get a resource from the pool