Following CAS Infinispan doc 
<https://apereo.github.io/cas/6.5.x/ticketing/Infinispan-Ticket-Registry.html>

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

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/c25f9922-7310-4831-be65-5d37ed4d3718n%40apereo.org.

Reply via email to