Hi,
We are using JBOSS 2.4.4 and have noticed that the QueuedPessimisticEJBLock references are building (using OptimiseIt tool).
I was wondering it the attached problem is a bug, or are we interpreting the code incorrectly.
Thx.
Tom
======================== original email ===============
Tom,
I added one line of code (line 739) to the schedule() method in
jboss/src/main/org/jboss/ejb/plugins/AbstractInstanceCache.java -
getContainer().getLockManager().removeLockRef(id);
this removes a reference count on a QueuedPessimisticEJBLock
object when the bean associated with this lock is passivated.
================= end email ======================