Here is my ehcache.xml.  I see from the documentation how to do Terracotta,
but I'm just using RMI (from another example in an old thread). It's not
obvious to me what would be wrong here:

<?xml version="1.0" encoding="UTF-8"?>
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xsi:noNamespaceSchemaLocation="ehcache.xsd"
        updateCheck="true" monitoring="autodetect" dynamicConfig="true">

        <diskStore path="java.io.tmpdir/factorlab" />

        <cacheManagerPeerProviderFactory
                
class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
                properties="peerDiscovery=automatic,
                        multicastGroupAddress=230.0.0.1,
                        multicastGroupPort=4446, timeToLive=1"
                propertySeparator="," />

        <cacheManagerPeerListenerFactory
                
class="net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory" />


        <defaultCache maxElementsInMemory="100" overflowToDisk="true"
                eternal="true" memoryStoreEvictionPolicy="LFU" />

        <cache name="shiro-activeSessionCache" maxElementsInMemory="600"
                eternal="true" overflowToDisk="true" 
memoryStoreEvictionPolicy="LFU">
                <cacheEventListenerFactory
                        
class="net.sf.ehcache.distribution.RMICacheReplicatorFactory" />
        </cache>
</ehcache> 


--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/Losing-session-regardless-of-timeout-tp7151602p7153189.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to