{"action":"created","issue":{"url":"https://api.github.com/repos/xetorthio/jedis/issues/1294","repository_url":"https://api.github.com/repos/xetorthio/jedis","labels_url":"https://api.github.com/repos/xetorthio/jedis/issues/1294/labels{/name}","comments_url":"https://api.github.com/repos/xetorthio/jedis/issues/1294/comments","events_url":"https://api.github.com/repos/xetorthio/jedis/issues/1294/events","html_url":"https://github.com/xetorthio/jedis/issues/1294","id":156658261,"number":1294,"title":"Pool not open at assertOpen(BaseGenericObjectPool.java:662)","user":{"login":"DongAaron","id":19563675,"avatar_url":"https://avatars.githubusercontent.com/u/19563675?v=3","gravatar_id":"","url":"https://api.github.com/users/DongAaron","html_url":"https://github.com/DongAaron","followers_url":"https://api.github.com/users/DongAaron/followers","following_url":"https://api.github.com/users/DongAaron/following{/other_user}","gists_url":"https://api.github.com/users/DongAaron/gists{/gist_id}","starred_url":"https://api.github.com/users/DongAaron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DongAaron/subscriptions","organizations_url":"https://api.github.com/users/DongAaron/orgs","repos_url":"https://api.github.com/users/DongAaron/repos","events_url":"https://api.github.com/users/DongAaron/events{/privacy}","received_events_url":"https://api.github.com/users/DongAaron/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-25T03:56:55Z","updated_at":"2016-05-25T04:14:24Z","closed_at":null,"body":"Hi,\r\nMy application use Zset as a delay queue implementation.\r\nI catch the exception:\r\njava.lang.IllegalStateException: Pool not open at assertOpen(BaseGenericObjectPool.java:662)\r\n        at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:412)\r\n        at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363)\r\n        at redis.clients.util.Pool.getResource(Pool.java:48)\r\n\r\nBut my application can zadd data and that redis Zset had the data.\r\nI was puzzled.\r\nI used version 2.8.0.\r\nPlease help me.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/xetorthio/jedis/issues/comments/221468885","html_url":"https://github.com/xetorthio/jedis/issues/1294#issuecomment-221468885","issue_url":"https://api.github.com/repos/xetorthio/jedis/issues/1294","id":221468885,"user":{"login":"DongAaron","id":19563675,"avatar_url":"https://avatars.githubusercontent.com/u/19563675?v=3","gravatar_id":"","url":"https://api.github.com/users/DongAaron","html_url":"https://github.com/DongAaron","followers_url":"https://api.github.com/users/DongAaron/followers","following_url":"https://api.github.com/users/DongAaron/following{/other_user}","gists_url":"https://api.github.com/users/DongAaron/gists{/gist_id}","starred_url":"https://api.github.com/users/DongAaron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DongAaron/subscriptions","organizations_url":"https://api.github.com/users/DongAaron/orgs","repos_url":"https://api.github.com/users/DongAaron/repos","events_url":"https://api.github.com/users/DongAaron/events{/privacy}","received_events_url":"https://api.github.com/users/DongAaron/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T04:14:24Z","updated_at":"2016-05-25T04:14:24Z","body":"@marcosnils  \r\nI used JedisPoll the following:\r\n@Component\r\npublic class RedisUtil {\r\n\t\r\n\tprivate static final Logger LOG = LoggerFactory.getLogger(RedisUtil.class);\r\n\t\r\n\t@Autowired\r\n\tprivate JedisPool jedisPool;\r\n    \r\n    private Jedis getJedis() {\r\n        try {\r\n            if (jedisPool != null) {\r\n                Jedis resource = jedisPool.getResource();\r\n                return resource;\r\n            } \r\n        } catch (RuntimeException e) {\r\n            e.printStackTrace();\r\n            throw e;\r\n        }\r\n\t\treturn null;\r\n    }\r\n\r\n    private void returnResource(final Jedis jedis) {\r\n        if (jedis != null) {\r\n        \tjedis.close();\r\n        }\r\n    }\r\n\r\n    public void destroyPool() {\r\n        synchronized (jedisPool) {\r\n            if (jedisPool != null) {\r\n            \tjedisPool.destroy();\r\n            }\r\n        }\r\n    }\r\n\r\nBut the destroyPool() no calls"}}
{"actor":{"display_login":"DongAaron"}}