I sometimes get LOCKING-WAITING messages when someone accesses my
site. Everything works as expected, but these messages are still
there.
The background: When someone accesses the site, the first thing to be
done is to determine the language. There are two lists and one set to
do this: The list of languages the user would like t have, the list of
languages that are registered in the server and a set of available
languages. So each request leads to a findAll() on the Language
bean. If someone accesses the site the first time, this means 17
requests (two frames and 15 images), all of which kick off a
findAll().
To make it more simple (this is on the top of my TODO list), I just
declared the transaction policy for *all* methods as "Required". Is
this the reason for these LOCKING-WAITING messages?
And while I'm at it: What's the performace gain to be expected if
I set the transaction policy for read methods (find*, get*) to
"NotSupported"?
--
(o_ Raffael Herzog
//\ [EMAIL PROTECTED]
V_/_ http://www.raffael.ch
May the penguin be with you!
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user