【发布时间】:2019-08-27 18:53:51
【问题描述】:
我有一个 tomcat 服务器并使用 jedis 客户端连接到它。
我使用的jedis版本是“3.0.0-m1”和tomcat 8.0.15
连接后几个小时后,我看到以下异常。有什么帮助吗?
redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
Caused by: redis.clients.jedis.exceptions.JedisConnectionException: Failed connecting to host test-1234.catalog.com:1234
Caused by: java.net.UnknownHostException: test-1234.catalog.com:1234
【问题讨论】: