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.

On Friday, September 23, 2022 at 12:57:48 AM UTC-5 Pablo Vidaurri wrote:

> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/c3e04b95-c3ef-4c77-8c15-a3c1ad766deen%40apereo.org.

Reply via email to