"ALRubinger" wrote : "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
I do have what you list above in my configuration. Just before it is also the
non-clustered configuration, and that is what I'm picking up, based on my
experimentation.
I think Brian will discover a problem with the way this is being selected when there is no
@CacheConfig annotation.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183372#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...