Well, naturally as soon as I ask, I figured it out. I had ehcache-failsafe file in WEB-INF/spring-configuration for some reason. I moved it to WEB-INF/classes and that seems to have resolved it.
Geoff From: Whittaker, Geoffrey [mailto:[email protected]] Sent: Thursday, November 20, 2014 1:53 PM To: [email protected] Subject: [cas-user] Error: Cannot find declaration of element 'ehcache' I'm trying to configure a replicated ehcache and I keep getting this error. org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 25 in XML document from ServletContext resource [/WEB-INF/spring-configuration/ehcache-failsafe.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 25; columnNumber: 5; cvc-elt.1: Cannot find the declaration of element 'ehcache'. I know it's not a firewall problem, as I can use WGET to get the file. If I download the xsd file, ehcache is the first declaration in the file. My ehcache-failsafe.xml is pretty much bone stock. <ehcache updateCheck="false" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ehcache.org/ehcache.xsd" > <diskStore path="java.io.tmpdir/cas"/> <defaultCache maxEntriesLocalHeap="100" eternal="false" timeToIdleSeconds="120" timeToLiveSeconds="120" overflowToDisk="true" maxEntriesLocalDisk="1000" diskPersistent="false" diskExpiryThreadIntervalSeconds="120" memoryStoreEvictionPolicy="LRU" /> </ehcache> What am I missing? -- 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
