1 Reply Latest reply on Jul 30, 2007 7:56 AM by manik

    JBoss Cache 1.4.1 SP3 | Eviction Policy

    sg283

      We are using JBoss Cache 1.4.1 SP3 and getting following warning.

      25 Jul 07 09:52:34, WARN org.jboss.cache.TreeCache:setEvictionPolicyProvider:1594 Using deprecated configuration element 'EvictionPolicyProvider'. This is only provided for 1.2.x backward compatibility and may disappear in future releases.

      We are using org.jboss.cache.loader.JDBCCacheLoader cache loader and MySql as database. We are using synchronous cache loader write usting false. However, we have noticed that if a cache node is supposed to be eviceted after certain amount of time the node still exist in the db table. It behaves erratically.

      Is this happening because we are using the deprecated configuration element 'EvictionPolicyProvider'?
      I read that in version 2.0 there are some changes how the eviction policy is defined but not in 1.4.1.