Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 78893 invoked from network); 23 May 2005 13:47:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 May 2005 13:47:42 -0000 Received: (qmail 89824 invoked by uid 500); 23 May 2005 13:47:36 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 89751 invoked by uid 99); 23 May 2005 13:47:35 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 23 May 2005 06:47:35 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id C675B2B8 for ; Mon, 23 May 2005 15:46:53 +0200 (CEST) Message-ID: <2062945213.1116856013811.JavaMail.jira@ajax.apache.org> Date: Mon, 23 May 2005 15:46:53 +0200 (CEST) From: "Rod Mackenzie (JIRA)" To: jackrabbit-dev@incubator.apache.org Subject: [jira] Created: (JCR-125) Repository holds onto Session instance after logout Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira