org.apache.catalina.LifecycleException: Failed to start component [org.redisson.tomcat.RedissonSessionManager[]]


Solutions on the web

Solution icon of github
Failed to start component [org.redisson.tomcat.RedissonSessionManager[]]

Solution icon of github
Failed to start component [de.javakaffee.web.msm.MemcachedBackupSessionManager[]]

Solution icon of googlegroups
via Google Groups by Billy Bacon, 9 months ago
Failed to start component [de.javakaffee.web.msm.MemcachedBackupSessionManager[]]

Solution icon of googlegroups
Failed to start component [de.javakaffee.web.msm.MemcachedBackupSessionManager[]]

Solution icon of googlegroups
via Google Groups by Darren Davison, 9 months ago
Failed to start component [de.javakaffee.web.msm.MemcachedBackupSessionManager[]]

Solution icon of stackoverflow
Failed to start component [de.javakaffee.web.msm.MemcachedBackupSessionManager[]]

Solution icon of github
Failed to start component [com.crimsonhexagon.rsm.redisson.SingleServerSessionManager[]]

Solution icon of oraclecommunity
via Oracle Community by user11406812, 1 year ago
Failed to start component [org.apache.catalina.session.StandardManager[]]

Solution icon of stackoverflow
Failed to start component [org.apache.catalina.session.StandardManager[]]

Solution icon of github
Failed to start component [de.javakaffee.web.msm.MemcachedBackupSessionManager[/host-manager]]

Stack trace

org.apache.catalina.LifecycleException: Failed to start component [org.redisson.tomcat.RedissonSessionManager[]]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5331)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1092)
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1834)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.catalina.LifecycleException: Can't parse yaml config /usr/local/tomcat18080/conf/redis.yaml
	at org.redisson.tomcat.RedissonSessionManager.startInternal(RedissonSessionManager.java:156)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	... 12 more
Caused by: com.fasterxml.jackson.databind.JsonMappingException: Class org.redisson.connection.balancer.RoundRobinLoadBalancer not subtype of [simple type, class org.redisson.connection.balancer.LoadBalancer] (through reference chain: org.redisson.config.Config["clusterServersConfig"]->org.redisson.config.ClusterServersConfig["loadBalancer"])
	at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:378)
	at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:338)
	at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.wrapAndThrow(BeanDeserializerBase.java:1510)
	at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:262)
	at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:125)
	at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:490)
	at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:95)
	at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:260)
	at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:125)
	at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3807)
	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2691)
	at org.redisson.config.ConfigSupport.fromYAML(ConfigSupport.java:143)
	at org.redisson.config.Config.fromYAML(Config.java:587)
	at org.redisson.tomcat.RedissonSessionManager.startInternal(RedissonSessionManager.java:153)
	... 13 more
Caused by: java.lang.IllegalArgumentException: Class org.redisson.connection.balancer.RoundRobinLoadBalancer not subtype of [simple type, class org.redisson.connection.balancer.LoadBalancer]
	at com.fasterxml.jackson.databind.type.TypeFactory.constructSpecializedType(TypeFactory.java:329)
	at com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver._typeFromId(ClassNameIdResolver.java:83)
	at com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver.typeFromId(ClassNameIdResolver.java:51)
	at com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBase._findDeserializer(TypeDeserializerBase.java:158)
	at com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBase._deserializeWithNativeTypeId(TypeDeserializerBase.java:248)
	at com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer.deserializeTypedFromObject(AsPropertyTypeDeserializer.java:66)
	at com.fasterxml.jackson.databind.deser.AbstractDeserializer.deserializeWithType(AbstractDeserializer.java:142)
	at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:488)
	at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:95)
	at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:260)
	... 23 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

2 times, 1 week ago
8 times, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 more bugmates