"andy.miller(a)jboss.com" wrote : I tested changing the cache maxSize parameter
with ejb3-interceptors-aop.xml, and discovered that I am actually using the
SimpleStatefulCache. I'm not really sure why. Perhaps something I need to have on
the @Clustered annotation?
This shouldn't be. We add the proper default annotations if not specified in AOP
(ejb3-interceptors-aop.xml):
<!-- Clustered cache configuration -->
| <annotation expr="!class((a)org.jboss.ejb3.annotation.Cache) AND
class((a)org.jboss.ejb3.annotation.Clustered)">
| @org.jboss.ejb3.annotation.Cache ("StatefulTreeCache")
| </annotation>
| <annotation expr="!class((a)org.jboss.ejb3.annotation.CacheConfig) AND
class((a)org.jboss.ejb3.annotation.Clustered)">
| @org.jboss.ejb3.annotation.CacheConfig
(name="jboss.cache:service=EJB3SFSBClusteredCache", maxSize=100000,
idleTimeoutSeconds=300, removalTimeoutSeconds=0)
| </annotation>
S,
ALR
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183367#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...