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

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 GitHub by kys1230
, 1 year ago
Could not get a resource from the pool
via GitHub by youwoa
, 2 years ago
Could not get a resource from the pool
via GitHub by jnadorg
, 1 year ago
Could not get a resource from the pool
via GitHub by veludurai106
, 2 years ago
Could not get a resource from the pool
via douban.com by Unknown author, 2 years ago
Could not get a resource from the pool
via zhizhihu.com by Unknown author, 2 years ago
java.net.UnknownHostException: server7
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at redis.clients.jedis.Connection.connect(Connection.java:144)
at redis.clients.jedis.BinaryClient.connect(BinaryClient.java:71)
at redis.clients.jedis.BinaryJedis.connect(BinaryJedis.java:1783)
at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:819)
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:429)
at redis.clients.util.Pool.getResource(Pool.java:40)
at com.wandoulabs.jodis.RoundRobinJedisPool.getResource(RoundRobinJedisPool.java:288)
at com.luckyeve.pwd.Main.main(Main.java:44)

Users with the same issue

8 times, 6 minutes ago
Once, 2 days ago
Once, 1 week ago
3 times, 1 week ago
Once, 1 month ago

Write tip

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