Hello,
I am trying to use multiple instances of cas in a docker environment
I am getting the cast exception error when I have more than 1 instance of 
cas running
java.lang.ClassCastException: class 
org.apereo.cas.services.DefaultRegisteredServiceProperty cannot be cast to 
class org.apereo.cas.ticket.Ticket 
(org.apereo.cas.services.DefaultRegisteredServiceProperty and 
org.apereo.cas.ticket.Ticket are in unnamed module of loader 
org.apache.catalina.loader.ParallelWebappClassLoader @68217d41) at 
org.apereo.cas.ticket.registry.MemcachedTicketRegistry.getTicket(MemcachedTicketRegistry.java:96)
 
~[cas-server-support-memcached-ticket-registry-6.3.0-RC3.jar:6.3.0-RC3]

the cas.properties is configured with 
# memcached ticket registry and related settings
cas.ticket.registry.memcached.servers=10.5.84.66:11211
cas.ticket.st.timeToKillInSeconds=60
cas.ticket.tgt.timeToKillInSeconds=43200

and the build has these dependency's in it version being 6.3.0-RC3
implementation 
"org.apereo.cas:cas-server-support-memcached-ticket-registry:${casServerVersion}"
implementation 
"org.apereo.cas:cas-server-support-memcached-spy:${casServerVersion}"

this was working fine in 6.2 versions and am wondering if any config 
changes were made to the 6.3.0-RC3 version to make memcache work with 
multiple instances?

thanks

-- 
- 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/c878dd73-f13a-4ecc-8996-c4fe550ea59bn%40apereo.org.

Reply via email to