[jboss-user] [EJB/JBoss] - Re: SFSB timeout setting
galder.zamarreno@jboss.com
do-not-reply at jboss.com
Fri May 30 09:36:08 EDT 2008
"boobalan_kj" wrote : 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
I'm afraid that is not true. Those parameters only control EJB2 beans, not EJB3.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154636#4154636
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154636
More information about the jboss-user
mailing list