redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool

Stack Overflow | tony | 1 week ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rp . Or join the community to write better ones.
  1. 0

    JedisPool cannot connect to a telnet redis server

    Stack Overflow | 1 week ago | tony
    redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  2. 0

    jedis+spring get connection from pool failed

    GitHub | 6 years ago | idodo
    org.springframework.dao.DataAccessResourceFailureException: Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  3. 0

    Could not get a resource from the pool(SocketTimeoutException:)

    Google Groups | 4 years ago | vignesh dharma
    redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jedis-2.8.0 is not working with jedis-namespace-1.0

    Stack Overflow | 12 months ago | Shravan Kumar
    redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool at redis.clients.util.Pool.getResource(Pool.java:50)at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:868) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:435) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363)
  6. 0
    samebug tip
    You are trying to retrieve stuff from the redis pool after destroyPool has been called.
    via GitHub by DongAaron

  1. rp 8 times, last 2 weeks ago
4 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    Pool not open

    at org.apache.commons.pool2.impl.BaseGenericObjectPool.assertOpen()
  2. Apache Commons Pool
    GenericObjectPool.borrowObject
    1. org.apache.commons.pool2.impl.BaseGenericObjectPool.assertOpen(BaseGenericObjectPool.java:672)
    2. org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:412)
    3. org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363)
    3 frames
  3. Jedis
    JedisPool.getResource
    1. redis.clients.util.Pool.getResource(Pool.java:49)
    2. redis.clients.jedis.JedisPool.getResource(JedisPool.java:226)
    2 frames
  4. com.mbg.redis
    RedisDemo.main
    1. com.mbg.redis.RedisUtils.get(RedisUtils.java:122)
    2. com.mbg.redis.RedisDemo.poolTest(RedisDemo.java:25)
    3. com.mbg.redis.RedisDemo.main(RedisDemo.java:35)
    3 frames