Usage/Configuration of Infinispan

37 views
Skip to first unread message

Pablo Vidaurri

unread,
Sep 23, 2022, 1:57:48 AM9/23/22
to CAS Community
Following CAS Infinispan doc

Have depenedency and config in place ... included inifinispan.xml too.

Maybe a conflict in library or has not been testing/supported any longer?

Generating the following error on startup:

2022-09-23 00:28:55,277 WARN [org.apereo.cas.web.CasWebApplicationContext] - <Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.ticketRegistry' defined in class path resource [org/apereo/cas/ticket/registry/config/InfinispanTicketRegistryConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apereo.cas.ticket.registry.TicketRegistry]: Factory method 'ticketRegistry' threw exception; nested exception is java.lang.IllegalStateException: @Bean method InfinispanTicketRegistryConfiguration.cacheManager called as bean reference for type [org.infinispan.manager.EmbeddedCacheManager] but overridden by non-compatible bean instance of type [org.springframework.cache.caffeine.CaffeineCacheManager]. Overriding bean of same name declared in: class path resource [org/springframework/boot/autoconfigure/cache/CaffeineCacheConfiguration.class]>

-psv

Pablo Vidaurri

unread,
Sep 23, 2022, 10:30:59 AM9/23/22
to CAS Community, Pablo Vidaurri
Also, how would CAS know which infinispan instance to connect to? No where in the properties or xml file is there a definition for host or port.

Pablo Vidaurri

unread,
Oct 14, 2022, 11:01:00 AM10/14/22
to CAS Community, Pablo Vidaurri
So I see in cas v6.6 Infinispan is being deprecated.

What have others used for a distributed memory data store with success? JPA does seem fast enough in our environment.

Reply all
Reply to author
Forward
0 new messages