"bstansberry(a)jboss.com" wrote : I see it. You are using :
|
| import org.jboss.annotation.ejb.Clustered;
|
| which was removed a long time ago as part of the reorganization of EJB3 annotations;
now it is:
|
| import org.jboss.ejb3.annotation.Clustered;
Okay, I rebuilt the application with the AS 5 libraries, and I am no longer getting the
SimpleStatefulCache, but instead am getting the StatefulTreeCache.
You cannot configure the StatefulTreeCache (at least I can't see how), so my
throughput has now dropped, even though I don't have the hang situation anymore. The
StatefulTreeCache doesn't appear to have a maxSize, and it seems to be limited to
10,000 beans.
So, the question I have, is how do I get it to pick up the EJB3SFSBSClusteredCache. It
appears I would need to add an annotation (@Cache or @CacheConfig), but the documentation
for both of these is out-of-date, and the source has no explanation (no javadoc).
Any ideas?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184003#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...