skip to Main Content

Redis data being wiped out

I have a single redis server running in a docker container on my server. I use the defaults for everything. I populate it with some key values and call save. Every day though, it gets wiped out. The logs look…

VIEW QUESTION

org.springframework.data.redis.RedisConnectionFailureException: Could not get a resource from the pool – Debian

My cassandra docker-compose file: version: '2' services: redis-node-0: image: docker.io/bitnami/redis-cluster:latest ports: - "6370:6379" environment: - 'REDIS_PASSWORD=pass' - 'REDIS_NODES=redis-node-0 redis-node-1 redis-node-2 redis-node-3 redis-node-4 redis-node-5' redis-node-1: image: docker.io/bitnami/redis-cluster:latest ports: - "6371:6379" environment: - 'REDIS_PASSWORD=pass' - 'REDIS_NODES=redis-node-0 redis-node-1 redis-node-2 redis-node-3 redis-node-4 redis-node-5' redis-node-2:…

VIEW QUESTION

Redis – java.lang.IllegalAccessException: class io.netty.util.internal.PlatformDependent0$6

I was trying to implement Redis caching for SpringBoot app which exposes Rest API. Important code snippets and maven build file enclosed. Start-up annotations: @SpringBootApplication @EnableAsync @EnableScheduling @EnableCaching public class Application { pom.xml(Only relevant dependencies listed) : <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId>…

VIEW QUESTION

NotSerializableException with redisson-spring-boot-starter

I'm using redisson-spring-boot-starter 3.13.2 and Kotlin for cache but I get the following exception: java.lang.IllegalArgumentException: java.io.NotSerializableException: com.service.message.State at org.redisson.RedissonObject.encodeMapValue(RedissonObject.java:338) at org.redisson.RedissonMapCache.fastPutOperationAsync(RedissonMapCache.java:843) at org.redisson.RedissonMapCache.fastPutAsync(RedissonMapCache.java:746) at org.redisson.RedissonMapCache.fastPut(RedissonMapCache.java:720) at org.redisson.spring.cache.RedissonCache.put(RedissonCache.java:107) at org.springframework.cache.interceptor.AbstractCacheInvoker.doPut(AbstractCacheInvoker.java:87) at org.springframework.cache.interceptor.CacheAspectSupport$CachePutRequest.apply(CacheAspectSupport.java:820) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:429) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:345) at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at…

VIEW QUESTION
Back To Top
Search