Bugs item #692273, was opened at 2003-02-24 07:11
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=692273&group_id=22866
Category: JBossServer
Group: v3.2
>Status: Closed
>Resolution: Works For Me
Priority: 5
Submitted By: Lior Kanfi (kanfil)
Assigned to: Scott M Stark (starksm)
Summary: EntityContainer.flushCache using jmx-console
Initial Comment:
when calling EntityContainer.flushCache using commit
option A
the passivation of the cache is scheduled but later the
passivation is postpone eventough the entitybean is not
part of a lock nor a transaction.
the fix for the problem seem to be very easy.
in the EntityInstanceCahce.canPassivate the 3rd if
should be
else if !
(m_container.getLockManager().canPassivate(((EntityEnterpriseContext)ctx).getCacheKey()))
{
return false;
}
attached a trace log
----------------------------------------------------------------------
>Comment By: Scott M Stark (starksm)
Date: 2003-03-05 19:25
Message:
Logged In: YES
user_id=175228
Flushing the cache works fine for me and is also not
affected by whether or the the entity can be passivated,
although it probably should. If there is a non-zero count in
a bean cache and I invoke the flushCache operation on the
entity container the cache count goes to zero. Explain in
more detail how you are coming to the
EntityInstanceCahce.canPassivate statement after invoking flush.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=692273&group_id=22866
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development