I am trying to use StrictMaxPool in JBoss 5.1.0.GA and the properties in the 
-aop.xml file seem to be ignored. This is for a stateless session bean.

The EJB3 container seems to honor only the properties in 
ejb3-interceptors-aop.xml. Any -aop.xml bundled with the EJB application seem 
to be ignored.

Any ideas what I could be missing? 

Thanks,

Shreyas

jboss.xml:

  | <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  | <jboss xmlns="http://www.jboss.com/xml/ns/javaee"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="5.0" 
xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee 
http://www.jboss.org/j2ee/schema/jboss_5_0.xsd";>
  |   <enterprise-beans>
  |     <session>
  |       <ejb-name>ClusterOne.USA_MAP.MapServer</ejb-name>
  |       <jndi-name>esri/services/ClusterOne/MapServer/USA_MAP</jndi-name>     
  
  |       <clustered>true</clustered>
  |       <cluster-config>
  |         <partition-name>ClusterOne</partition-name>
  |         
<load-balance-policy>org.jboss.ha.framework.interfaces.RoundRobin</load-balance-policy>
  |       </cluster-config>
  |       <aop-domain-name>Strictly Pooled Stateless Bean</aop-domain-name>     
  
  |     </session>
  |   </enterprise-beans>
  | </jboss>
  | 

mydomain-aop.xml:
<?xml version="1.0" encoding="UTF-8"?>
  | <aop xmlns="urn:jboss:aop-beans:1.0">
  |    
  |    <domain name="Strictly Pooled Stateless Bean" extends="Stateless Bean" 
inheritBindings="true">
  |       <annotation expr="!class(@org.jboss.ejb3.annotation.Pool)">
  |          @org.jboss.ejb3.annotation.Pool (value="StrictMaxPool", 
maxSize=10, timeout=10000)
  |       </annotation>
  |    </domain>
  |     
  |    <domain name="Strictly Pooled Message Driven Bean" extends="Message 
Driven Bean" inheritBindings="true">
  |       <annotation expr="class(*) AND 
!class(@org.jboss.ejb3.annotation.Pool)">
  |          @org.jboss.ejb3.annotation.Pool (value="StrictMaxPool", 
maxSize=10, timeout=10000)
  |       </annotation>
  |    </domain>
  | </aop>
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266854#4266854

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266854
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to