Hi,
Any one using  CAS 5.2.3 with Memcached to cache tickets? I'm getting below 
error.  When I see the source code I do not see afterPropertiesSet method 
net.spy.memcached.spring.MemcachedClientFactoryBean it only implements 
FactoryBean.



See below jars in WEB-INF/lib

spymemcached-2.11.4
cas-server-support-memcached-core-5.2.3
cas-server-support-memcached-ticket-registry-5.2.3


Thanks
Rao



java.lang.NoSuchMethodError: 
net.spy.memcached.spring.MemcachedClientFactoryBean.afterPropertiesSet()V
        at 
org.apereo.cas.memcached.MemcachedPooledClientConnectionFactory.create(MemcachedPooledClientConnectionFactory.java:68)
 
~[cas-server-support-memcached-core-5.2.3.jar:5.2.3]
        at 
org.apereo.cas.memcached.MemcachedPooledClientConnectionFactory.create(MemcachedPooledClientConnectionFactory.java:25)
 
~[cas-server-support-memcached-core-5.2.3.jar:5.2.3]
        at 
org.apache.commons.pool2.BasePooledObjectFactory.makeObject(BasePooledObjectFactory.java:60)
 
~[commons-pool2-2.4.2.jar:?]
        at 
org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:868)
 
~[commons-pool2-2.4.2.jar:2.4.2]
        at 
org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:435)
 
~[commons-pool2-2.4.2.jar:2.4.2]
        at 
org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363)
 
~[commons-pool2-2.4.2.jar:2.4.2]
        at 
org.apereo.cas.ticket.registry.MemcachedTicketRegistry.getClientFromPool(MemcachedTicketRegistry.java:139)
 
~[cas-server-support-memcached-ticket-registry-5.2.3.jar:5.2.3]
        at 
org.apereo.cas.ticket.registry.MemcachedTicketRegistry.addTicket(MemcachedTicketRegistry.java:54)
 
~[cas-server-support-memcached-ticket-registry-5.2.3.jar:5.2.3]
        at 
org.apereo.cas.DefaultCentralAuthenticationService.createTicketGrantingTicket(DefaultCentralAuthenticationService.java:388)
 
~[DefaultCentralAuthenticationService.class:5.2.3]
        at 
org.apereo.cas.DefaultCentralAuthenticationService$$FastClassBySpringCGLIB$$b02e48f2.invoke(<generated>)
 
~[DefaultCentralAuthenticationService.class:5.2.3]
        at 
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) 
~[spring-core-4.3.14.RELEASE.jar:?]
        at 
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
 
~[spring-aop-4.3.14.RELEASE.jar:4.3.14.RELEASE]
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
 
~[spring-aop-4.3.14.RELEASE.jar:4.3.14.RELEASE]
        at 
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85)
 
~[spring-aop-4.3.14.RELEASE.jar:?]
        at 
org.apereo.inspektr.audit.AuditTrailManagementAspect.handleAuditTrail(AuditTrailManagementAspect.java:134)
 
~[inspektr-audit-1.8.0.GA.jar:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[?:1.8.0_131]
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[?:1.8.0_131]
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
~[?:1.8.0_131]

-- 
- 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/f82d0327-f80d-44eb-a19b-64747d0b2e9a%40apereo.org.

Reply via email to