jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rod Mackenzie (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-125) Repository holds onto Session instance after logout
Date Mon, 23 May 2005 13:46:53 GMT
Repository holds onto Session instance after logout

         Key: JCR-125
         URL: http://issues.apache.org/jira/browse/JCR-125
     Project: Jackrabbit
        Type: Bug
    Reporter: Rod Mackenzie

After a call to Session.logout the Repository instance's activeSession map still holds a reference
to the session. This causes a problem when trying to unlock nodes locked by another session,
the addLockToken method rejects the lock token.

Looking at the code in Session.logout, it tries to notify SessionListeners about the logout
but Repository, which implements the SessionListener interface and will remove a session on
logout, doesn't register with the Session to receive the logout notification.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message