|
Your JVM must include the parameter interact.ehcache.config property, as in the following example:
|
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../main/config/ehcache.xsd">
<defaultCache
maxElementsInMemory="10"
eternal="false"
timeToIdleSeconds="5"
timeToLiveSeconds="10"
overflowToDisk="true"
/>
<cache name="InteractCache"
maxElementsInMemory="5"
eternal="false"
timeToIdleSeconds="600"
timeToLiveSeconds="600"
overflowToDisk="true">
<cacheEventListenerFactory
class="com.unicacorp.interact.cache.ehcache.EHCacheEventListenerFactory"
properties=""/>
<!--For InteractCache, use the following to use the
EHCacheEventListenerFactory:-->
<cacheEventListenerFactory
class="com.unicacorp.interact.cache.SessionCacheEventListenerFactory"
properties=""/>
<!--For PatternStateCache, use the following to use
the EHCacheEventListenerFactory:-->
<cacheEventListenerFactory
class="com.unicacorp.interact.cache.PatternStateCacheEventListenerFactory"
properties=""/>
</cache>
</ehcache>
Copyright IBM Corporation 2014. All Rights Reserved.
|