ok, I figured it out.
hi could u please put the thing u worked out and how u did that
In the <container-invoker-conf> stanza of your jboss.xml file, use:
It is an underdocumented "feature" of JBoss that the MaximumSize parameter will be ignored unless you also specify strictMaximumSize to be true.
(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 )