[jboss-user] [EJB/JBoss] - Re: SFSB timeout setting
boobalan_kj
do-not-reply at jboss.com
Fri Nov 3 05:57:35 EST 2006
Hi
you could control life time of bean by using the following configurations...
<container-configuration>
<container-name>Standard Stateful SessionBean</container-name>
<container-cache-conf>
<cache-policy>org.jboss.ejb.plugins.LRUStatefulContextCachePolicy</cache-policy>
<cache-policy-conf>
<min-capacity>50</min-capacity>
<max-capacity>1000000</max-capacity>
<remover-period>300</remover-period>
<max-bean-life>300</max-bean-life>
<overager-period>200</overager-period>
<max-bean-age>600</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>
-------------------------------------------------
max-bean-age:specifies the maximum period of
-----------------
inactivity in seconds a bean can have before it will be passivated by the overager process.
max-bean-life: specifies the maximum period of
----------------
inactivity in seconds that a bean can exist before being removed from the passivation store.
Regards
Bala
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982927#3982927
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982927
More information about the jboss-user
mailing list