Thanks! We made the change to shared=true and the ehcache exception has gone away. But unfortunately the behavior has not changed...
Still get ticket validation exceptions. Sigh -Bryan From: Jaroslav Kacer [mailto:[email protected]] Sent: Wednesday, February 18, 2015 1:15 AM To: [email protected] Subject: RE:[cas-user] ERROR net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator Hi Bryan! I remember I've already seen this issue. I am using CAS 4.0 with EH Cache. I found the solution here: https://www.mail-archive.com/[email protected]/msg12970.html Please check the definition of bean "cacheManager" in ticketRegistry.xml. You should have set property "shared" to true like in this example: <bean id="cacheManager" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean" p:configLocation="classpath:ehcache-replicated.xml" p:shared="true" p:cacheManagerName="ticketRegistryCacheManager" /> <!-- Shared must be set to true! by default it is false. See https://www.mail-archive.com/[email protected]/msg12970.html --> At least this is what helped in my case. Best Regards, Jarda From: Bryan Wooten [mailto:[email protected]] Sent: 17. February 2015 6:21 odp. To: [email protected]<mailto:[email protected]> Subject: [cas-user] ERROR net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator My cas.log is filled with this error: (CAS 3.5.2) 2015-02-17 07:53:18,138 ERROR [net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator] - Exception on flushing of replication queue: null. Continuing... java.lang.NullPointerException at net.sf.ehcache.distribution.RMISynchronousCacheReplicator.listRemoteCachePeers(RMISynchronousCacheReplicator.java:335) at net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator.writeReplicationQueue(RMIAsynchronousCacheReplicator.java:312) at net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator.replicationThreadMain(RMIAsynchronousCacheReplicator.java:127) at net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator.access$000(RMIAsynchronousCacheReplicator.java:58) at net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator$ReplicationThread.run(RMIAsynchronousCacheReplicator.java:389) I found this: https://issues.jasig.org/browse/CAS-1174 But I am not using ClearPass. Bryan Wooten UIT-Common Infrastructure Systems -- You are currently subscribed to [email protected]<mailto:[email protected]> as: [email protected]<mailto:[email protected]> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected]<mailto:[email protected]> as: [email protected]<mailto:[email protected]> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
