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] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to