Closed mauriff closed 6 years ago
it's how we use it external: http://pastebin.com/RS4473hm And you also can add to you application properties: redis.host = 127.0.0.1 redis.port = 6379 redis.password = 1234567 And to gradle: compile("redis.clients:jedis:2.7.2")
Upgraded the sample to Spring Session 2. Please check if you have already a standalone Redis server listening on the same port
I'm trying to run the application from a docker file, but when the application starts with:
java -jar spring-websocket-chat.jar
There is and error with the message
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'enableRedisKeyspaceNotificationsInitializer' defined in class path resource [org/springframework/session/data/redis/config/annotation/web/http/RedisHttpSessionConfiguration.class]: Invocation of init method failed; nested exception is org.springframework.data.redis.RedisConnectionFailureException: Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
Find attached the complete file error_chat.txt