This content has been marked as final.
Show 3 replies
-
1. Re: limit the number of stateful beans to 5
jbossdpdeng Mar 9, 2002 1:21 AM (in response to jbossdpdeng)ok, I figured it out.
-
2. Re: limit the number of stateful beans to 5
jbossid Mar 12, 2002 11:51 AM (in response to jbossdpdeng)hi could u please put the thing u worked out and how u did that
-
3. Re: limit the number of stateful beans to 5
cepage Mar 12, 2002 1:27 PM (in response to jbossdpdeng)In the <container-invoker-conf> stanza of your jboss.xml file, use:
5
true
It is an underdocumented "feature" of JBoss that the MaximumSize parameter will be ignored unless you also specify strictMaximumSize to be true.
Corby
(OK, I oversimplified to say JBoss ignores your MaximumSize parameter, but from a developer's perspective that's what happens. If you want a detailed explanation, read this thread: http://main.jboss.org/thread.jsp?forum=47&thread=6293 )