[jboss-dev-forums] [Design of EJB 3.0] - Re: Need to update PoolClass usage
scott.stark@jboss.org
do-not-reply at jboss.com
Tue Nov 27 14:16:14 EST 2007
It is the deploy/ejb3-interceptors-aop.xml default annotation that is causing the problem. It should be replaced with @org.jboss.annotation.ejb.Pool("..."), however, I don't see a DefaultPool type of entry in the ejb3.deployer/META-INF/ejb3-deployers-beans.xml EJB3PoolFactoryRegistry that can be used. I'll set it to StrictMaxPoolFactory for now.
| <!-- EJB3 Pool Factory Registry -->
| <bean name="EJB3PoolFactoryRegistry" class="org.jboss.ejb3.pool.PoolFactoryRegistry">
| <property name="factories">
| <!-- Define each of the registered factories -->
| <map class="java.util.HashMap" keyClass="java.lang.String"
| valueClass="java.lang.Class">
| <!-- ThreadlocalPool -->
| <entry>
| <key>ThreadlocalPool</key>
| <value>org.jboss.ejb3.pool.ThreadlocalPoolFactory</value>
| </entry>
| <!-- StrictMaxPool -->
| <entry>
| <key>StrictMaxPool</key>
| <value>org.jboss.ejb3.pool.StrictMaxPoolFactory</value>
| </entry>
| </map>
| </property>
| </bean>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108216#4108216
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108216
More information about the jboss-dev-forums
mailing list