Robert Geisler [
http://community.jboss.org/people/robert.geisler] created the discussion
"Re: EJB3 Session Bean Pool"
To view the discussion, visit:
http://community.jboss.org/message/626608#626608
--------------------------------------------------------------
hello romeo,
i modified deploy\ejb3-interceptors-aop.xml . search for the PoolClass annotation, maxSize
is the value to limit amount of instances:
<aop>
...
<*domain name="Stateless Bean"*>
...
<annotation expr="!class((a)org.jboss.annotation.ejb.PoolClass)">
@org.jboss.annotation.ejb.PoolClass (value=*org.jboss.ejb3.StrictMaxPool*.class,
*maxSize=15*, timeout=10000)
</annotation>
</domain>
...
</aop>
greets
robert
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/626608#626608]
Start a new discussion in EJB3 at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]