Can't limit pool size of EJBs with inheritBindings="true"
Issue
We are trying to limit the pool for some EJBs in one of our applications using XML descriptors but cannot seem to get the configuration correct to do so. We have tried the following
<domain name="Strictly Pooled My Stateless Bean 1" extends="Stateless Bean" inheritBindings="true">
<annotation expr="!class(@org.jboss.ejb3.annotation.Pool)">
@org.jboss.ejb3.annotation.Pool (value="StrictMaxPool", maxSize=10, timeout=0)
</annotation>
</domain>
Environment
- JBoss Enterprise Application Platform 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
