How do use TreeCacheAop since TreeCacheAop just sub-classing from TreeCache
now, I'd expect the behavior should be the same.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3951814#3951814
Reply to the post :
I saw the testcases u tested, I see that you used TreeCache , I am facing
problems with TreeCacheAop as cache.
If you could please check with TreeCacheAop, with which I am facing problems,
of the listener not getting notified with optimistic locking enabled.
I also checked it with latest
Dear Manik,
We have stepped through the JBossCache code and these are our findings-
1. Optimistic locking does bring a layer of transaction workspace in between.
However, the TransactionWorkspace takes care that the entries are added in the
tree data structure starting from the root of the
I have just added a unit test around this and this seems to receive
notifications just fine. While this is in HEAD and not the 1.3.x branch, none
of the notification or optimistic locking codebase has changed between 1.3.x
and 1.4.x.
One possibility is that notifications are only made when changes are made to
the cache directly. Optimistic locking creates a layer - a 'workspace' - on
which changes are applied to until transactions commit.
Do you have any ongoing transactions (perhaps CMT) at the time, which may not
be