- UID
- 55111
- 帖子
- 7
- 主題
- 4
- 精華
- 0
- 積分
- 100
- 楓幣
- 910
- 威望
- 100
- 存款
- 0
- 贊助金額
- 0
- 推廣
- 7
- GP
- 4
- 閱讀權限
- 20
- 性別
- 保密
- 在線時間
- 5 小時
- 註冊時間
- 2014-4-7
- 最後登入
- 2022-8-27
|
2018-01-21 08:02:43.907 [main] INFO com.alibaba.druid.support.logging.Log4j2Imp
l.info(Log4j2Impl.java:106) - {dataSource-1} inited
Exception in thread "main" redis.clients.jedis.exceptions.JedisConnectionExcepti
on: Could not get a resource from the pool
at redis.clients.util.Pool.getResource(Pool.java:53)
at redis.clients.jedis.JedisPool.getResource(JedisPool.java:226)
at tools.RedisUtil.getJedis(RedisUtil.java:108)
at server.InitializeServer.initializeRedis(InitializeServer.java:181)
at server.console.Start.<init>(Start.java:139)
at server.console.Start.getInstance(Start.java:175)
at server.console.Start.run(Start.java:201)
at server.console.Start.main(Start.java:219)
Caused by: redis.clients.jedis.exceptions.JedisConnectionException: java.net.Con
nectException: Connection refused: connect
at redis.clients.jedis.Connection.connect(Connection.java:207)
at redis.clients.jedis.BinaryClient.connect(BinaryClient.java:93)
at redis.clients.jedis.BinaryJedis.connect(BinaryJedis.java:1767)
at redis.clients.jedis.JedisFactory.makeObject(JedisFactory.java:106)
at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectP
ool.java:868)
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericO
bjectPool.java:435)
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericO
bjectPool.java:363)
at redis.clients.util.Pool.getResource(Pool.java:49)
... 7 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketI
mpl.java:85)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.ja
va:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocket
Impl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java
:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at redis.clients.jedis.Connection.connect(Connection.java:184)
... 14 more
DEBUG裡面他顯示這些 |
|