-
1. Re: max-bean-life??
milowe Mar 25, 2004 4:42 AM (in response to buptzjs)The max-bean-life sets the period how long a passivated bean will exist before it is removed (scan time set by remover-period).
The max-bean-age sets the period of inactivity before a bean is passivated (scan time is set by overager-period).
You need to check all those settings to get your desired set-up. Also, its a good thing to extend the container-configuration you are using and override the settings you want to change, such as max-bean-age, in your jboss.xml file. That way you keep the standard default settings to be used by other apps. -
2. Re: max-bean-life??
buptzjs Mar 25, 2004 7:56 PM (in response to buptzjs)i can not catch you ,
do you mean i should chage the <max-bean-age> at the same time? -
3. Re: max-bean-life??
milowe Mar 26, 2004 4:41 AM (in response to buptzjs)It depends on what behaviour you are after. The max-bean-age parameter sets how long an inactive bean will remain in the cache at the most. After that it will be passivated. Any further access of the bean within max-bean-life time period will activate the bean. It will be removed if not accessed within this time.
In short, if you want the bean to be removed from system within T, then
T >= max-bean-life + remover-period + max-bean-age + overager-period. -
4. Re: max-bean-life??
leerbag Aug 16, 2004 10:46 AM (in response to buptzjs)interessante Informationen, vielen Dank :-)
rrrrm, I mean, Thank you ;-P