My last post is wrong, it is in fact a lot more simple: 

JBOSS 2.4.4 almost latest CVS
 
Entity instances are created by the pool on the get() method
The creation is followed by setEntityContext
The problem is that the free() method is never called on
EntityInstancePool (except by the passivation method).
So an entity bean is never push to the pool.
So the pool is always empty for entity beans.
So on my next call, the instanciation/setEntityContext happens again.

That's why I see a lot of setEntityContext() happening and this why I
see this this as a performance killer because I do a lot of jndi lookup
there.

Is this a normal behaviour or does it hide something ?

Regards.
Vincent.



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to