|
[
Permlink
| « Hide
]
Philipp Bracher [old account - now Philipp Bärfuss] added a comment - 04/Apr/08 10:46 AM
We should not call super.release() as we only want to close the jcr session but not releasing the access manager
This patch contains the major changes I have done on the 3.5 branch. I will apply them on 3.6 and will only commit to 3.5 after they have proven to be robust enough.
I also added an MBean so that one can see the open sessions. On many places we keep a reference to a node (templates, trees, ...) so I had to create a LazyContentWrapper which refetches content if the original session has been closed. I committed to the trunk (3.6). But now I have realized that this breaks all observation as it is tied to a session.
Perhaps we should go back to the former way of having single sessions for the system context. Committed a temporary workaround for the observation (don't logout the sessions which do have listeners registered). Warn logs are written.
It is so sad that I decided to go home ;-( I was able to backport the changes to 3.5
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||