ran-jit / tomcat-cluster-redis-session-manager

Tomcat clustering redis session manager java client.

Home Page:https://github.com/ran-jit/tomcat-cluster-redis-session-manager/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error

AlbertYangg opened this issue · comments

Error occured while saving the session object in data cache.. -tomcat.request.session.redis.SessionManager
java.io.NotSerializableException: java.lang.Object

Hi @AlbertYangg,

This session manager accepts only the Serializable objects. If you try to set session with non-serializable object (value) you will get this exception.

Reference: #21

Note: All your session attribute values must implement java.io.Serializable.

Thanks!