[jboss-user] [JBossCache] - Re: Cache 1.4.1 region problems on jboss-ea-4.2.0

bstansberry@jboss.com do-not-reply at jboss.com
Thu Sep 27 09:39:19 EDT 2007


Yep; it's what I suspected. The code is prepending the deployment name to Fqn.  It's only supposed to do that if you don't specify a region.  As a workaround, you can:


  |     <!--  Specific eviction policy configurations. This is LRU -->
  |     <attribute name="EvictionPolicyConfig">
  |       <config>
  |         <attribute name="wakeUpIntervalSeconds">5</attribute>
  |         <!--  Cache wide default -->
  |         <region name="/_default_">
  |          <attribute name="maxNodes">5000</attribute>
  |          <attribute name="timeToLiveSeconds">0</attribute>
  |         <attribute name="maxAgeSeconds">60</attribute>
  |        </region>
  |         <region name="/cat_ear,service-ejb-catalog-SNAPSHOT_jar,JpaPersistence/catalog/persistent">
  |          <attribute name="maxNodes">5000</attribute>
  |          <attribute name="timeToLiveSeconds">0</attribute>
  |          <attribute name="maxAgeSeconds">7200</attribute>
  |        </region>
  |       </config>
  |     </attribute>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089323#4089323

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089323



More information about the jboss-user mailing list