我正在我的笔记本电脑上运行雷迪斯,以便使用位于/etc/redis/6379.conf的默认配置文件进行尝试和学习。你可以在http://paste.ubuntu.com/10678722/看到
我想在我的笔记本电脑上尝试杰斯克网,因此,为了安装和尝试,我遵循了它的主页上的步骤。
git clone https://github.com/gresrun/jesque-web.gitjesque-web-master/src/main/resources/META-INF/spring/redis.properties
redis.host=127.0.0.1
redis.port=6379
redis.timeout=0
redis.password=
redis.namespace=resque
redis.database=16mvn -Pjetty-run clean test在第3步之后,jetty服务器启动,我可以打开http://localhost:8080,但是页面显示错误redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
所有的错误都可以在http://paste.ubuntu.com/10678929/上看到
看起来有一些配置问题。我试着在互联网上找出安装和安装Jesque时的错误,但是找不到任何与我相关的信息。谁能告诉我我在哪里和什么地方错过了什么?
发布于 2015-03-27 10:15:09
它可以很好的设置
redis.database=o
或
redis.database=1
在jesque-web-master/src/main/resources/META-INF/spring/redis.properties中
值0或1是redis中数据库的名称。在redis数据库中,名称是整数值。
https://stackoverflow.com/questions/29261166
复制相似问题