"loubyansky" wrote : max-bean-age in cache-policy-conf in jboss.xml.

What is the limit for max-bean-age? Is possible to define a unlimited time bean age?

I have a cluster entity bean where I defined a max-bean-age of 86400 but after a few 
time (10 minutes?) it goes passivated.


  |  <entity>
  |          <ejb-name>Primitive</ejb-name>
  |          <local-jndi-name>ejb/PrimitiveLocal</local-jndi-name>
  |          <read-only>true</read-only>
  |          <configuration-name>CMP extended life time</configuration-name>
  |          ...
  | 
  |   <container-configuration
  |     extends="Standard CMP 2.x EntityBean with cache invalidation">
  |     <container-name>CMP extended life time</container-name>
  |     <container-cache-conf>
  |         <cache-policy>
  |         org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy
  |         </cache-policy>
  |         <cache-policy-conf>
  |                <min-capacity>50</min-capacity>
  |                <max-capacity>1000000</max-capacity>
  |                <overager-period>300</overager-period>
  |                <max-bean-age>86400</max-bean-age>
  |                <resizer-period>400</resizer-period>
  |                <max-cache-miss-period>60</max-cache-miss-period>
  |                <min-cache-miss-period>1</min-cache-miss-period>
  |                <cache-load-factor>0.75</cache-load-factor>
  |         </cache-policy-conf>
  |     </container-cache-conf>
  |   </container-configuration>
  | 

What is the problem?

I'm using jboss 3.2.5.

regards,
Pedro Salazar.

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

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


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to