Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=256M; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=1g; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: UseCMSCompactAtFullCollection is deprecated and will likely be removed in a future release.
Java HotSpot(TM) 64-Bit Server VM warning: CMSFullGCsBeforeCompaction is deprecated and will likely be removed in a future release.
2017-08-18 16:54:11.905 [main] INFO com.alibaba.druid.support.logging.Log4j2Impl.info(Log4j2Impl.java:106) - {dataSource-1} inited
Exception in thread "main" redis.clients.jedis.exceptions.JedisConnectionException: 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.ConnectException: 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(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)
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(DualStackPlainSocketImpl.java:85)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.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
该用户从未签到
新人上路
RE: V143 端 啟動問題
使用道具 举报
2017-8-16 14:05
签到天数: 1 天
[LV.1]初来乍到
新人上路
RE: V143 端 啟動問題
有 資料庫是開著的
使用道具 举报
该用户从未签到
新人上路
RE: V143 端 啟動問題
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=256M; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=1g; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: UseCMSCompactAtFullCollection is deprecated and will likely be removed in a future release.
Java HotSpot(TM) 64-Bit Server VM warning: CMSFullGCsBeforeCompaction is deprecated and will likely be removed in a future release.
2017-08-18 16:54:11.905 [main] INFO com.alibaba.druid.support.logging.Log4j2Impl.info(Log4j2Impl.java:106) - {dataSource-1} inited
Exception in thread "main" redis.clients.jedis.exceptions.JedisConnectionException: 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.ConnectException: 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(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)
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(DualStackPlainSocketImpl.java:85)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.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
使用道具 举报
2019-10-28 17:33
签到天数: 24 天
[LV.4]偶尔看看III
管理员
RE: V143 端 啟動問題
redis未启动。
沉迷OSU无法自拔....
使用道具 举报
该用户从未签到
新人上路
RE: V143 端 啟動問題
我也是卡在這個問題 , 請問 redis 要如何啟動?
使用道具 举报
2019-10-28 17:33
签到天数: 24 天
[LV.4]偶尔看看III
管理员
RE: V143 端 啟動問題
没好办法,他不会自动启动的情况下你手动也不一定能让他启动。你可以试着开启redis对应服务,或者去redis目录里通过双击打开它。
沉迷OSU无法自拔....
使用道具 举报
该用户从未签到
新人上路
RE: V143 端 啟動問題
可以提示一下如何去找到 redis 目錄嗎? 我找很久都沒有
使用道具 举报
2019-10-28 17:33
签到天数: 24 天
[LV.4]偶尔看看III
管理员
RE: V143 端 啟動問題
。。你在服务端下搜索redis就可以呀。
沉迷OSU无法自拔....
使用道具 举报
该用户从未签到
新人上路
RE: V143 端 啟動問題
成功了,我手動啟用redis 就可以順利加載數據庫。
使用道具 举报