This content has been marked as final.
Show 5 replies
-
1. Re: increase passivate timeout of Entity Beans (RO)
aloubyansky Jul 15, 2004 2:24 AM (in response to pedrosalazar)max-bean-age in cache-policy-conf in jboss.xml.
-
2. Re: increase passivate timeout of Entity Beans (RO)
pedrosalazar Jul 29, 2004 6:27 AM (in response to pedrosalazar)"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. -
3. Re: increase passivate timeout of Entity Beans (RO)
aloubyansky Jul 30, 2004 3:08 AM (in response to pedrosalazar)There is no limitation. 10 min is the default value. There is also NoPassivationCachePolicy if you don't want instances to be passivated at all.
-
4. Re: increase passivate timeout of Entity Beans (RO)
anny_lut Feb 5, 2008 11:38 AM (in response to pedrosalazar)I also try to increase/decrase the value of <max-bean-age>
But it seems, this parameter is ignored.. Because there are no difference in passivation timeout, when<max-bean-age>10</max-bean-age>
and<max-bean-age>600</max-bean-age>
in both examples passivation timeout is 10 min.
I want to decrease this value for testing passivation behaviour... but I cannt.
How I can do this? -
5. Re: increase passivate timeout of Entity Beans (RO)
anny_lut Feb 5, 2008 11:44 AM (in response to pedrosalazar)I use /all configuration. JBOSS 3.2.1