Is it possible to update user local-cache to distribute-cache mode ?
Issue
An exception is generated upon the first user access (for example when admin user is login to Admin Console):
7:26:33,780 ERROR [org.infinispan.remoting.rpc.RpcManagerImpl] (default
task-4) ISPN000073: Unexpected error while replicating:
org.infinispan.commons.marshall.NotSerializableException:
org.keycloak.models.cache.infinispan.DefaultLazyLoader
Caused by: an exception which occurred:
in field
org.keycloak.models.cache.infinispan.entities.CachedUser.attributes
in object org.keycloak.models.cache.infinispan.entities.CachedUser@20b8c474
in object org.keycloak.models.cache.infinispan.entities.CachedUser@20b8c474
Environment
- Red Hat Single Sign-On (RH-SSO)
- 7
-
Updating configuration (standalone-ha.xml) for users
local-cachemode to bedistributed-cachemode. The modification done is replacing<local-cache name="users"> <object-memory size="10000"/> </local-cache>by
<distributed-cache name="users"> <object-memory size="10000"/> </distributed-cache>
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.