[jboss-dev-forums] [Design of EJB 3.0] - Re: Passivating EJB 3 Stateful Session Beans stops the World
ALRubinger
do-not-reply at jboss.com
Mon Oct 20 20:20:58 EDT 2008
"andy.miller at jboss.com" wrote : I tested changing the cache maxSize parameter with ejb3-interceptors-aop.xml, and discovered that I am actually using the SimpleStatefulCache.
Something I noted w/ SimpleStatefulCache:
Without seeing this firsthand, my educated guess is in SessionTimeoutTask.run() where we synchronize on the entire SimpleStatefulCache.cacheMap to do passivation; this will queue up all other Threads looking to create or get a session as they wait to acquire the lock.
http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/cache/simple/SimpleStatefulCache.java
S,
ALR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183369#4183369
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4183369
More information about the jboss-dev-forums
mailing list