For Programmers: Free Programming Magazines  


Home > Archive > Java Beans > March 2004 > How to set limit the bean pool size for stateful session bean in Weblogic 8.1









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to set limit the bean pool size for stateful session bean in Weblogic 8.1
J Xu

2004-03-19, 8:46 pm

Hi all,
I am tring to observe how a stateful session bean is managed by the
container.
I want to limit the bean pool size to two beans, so I can see the
ejbPassivate and
ejbActivate methods being called by container when I have 3 clients.
I am using weblogic 8.1. In the property editor of the session bean,
tuning section, there is a property called "max-beans-in-cache". Is this
where
I can set the limit? However, I cannot see the passivate and activate
functions
being called when I set it to 2 or even 1.

Could anyone give me a hint?

Thanks a lot,
J Xu


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com