Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 65708 invoked from network); 13 Jul 2006 06:47:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Jul 2006 06:47:34 -0000 Received: (qmail 18898 invoked by uid 500); 13 Jul 2006 06:47:33 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 18727 invoked by uid 500); 13 Jul 2006 06:47:32 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 18718 invoked by uid 99); 13 Jul 2006 06:47:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 23:47:32 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [212.249.34.130] (HELO picanmix.dev.day.com) (212.249.34.130) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 23:47:30 -0700 Received: from deliverix.day.com (deliverix.day.com [10.0.0.7]) by picanmix.dev.day.com (DAY) with ESMTP id k6D6l7P09567 for ; Thu, 13 Jul 2006 08:47:08 +0200 (MEST) Received: from [10.0.0.76] ([10.0.0.76]) by deliverix.day.com (Lotus Domino Release 6.5.1) with ESMTP id 2006071308470657-1195 ; Thu, 13 Jul 2006 08:47:06 +0200 Message-ID: <44B5EC6B.4030800@day.com> Date: Thu, 13 Jul 2006 08:47:07 +0200 From: Angela Schreiber User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@jackrabbit.apache.org Subject: Re: lock not session scoped References: <1152719981.23710.2.camel@monkiki> In-Reply-To: <1152719981.23710.2.camel@monkiki> X-MIMETrack: Itemize by SMTP Server on dmail/Day(Release 6.5.1|January 21, 2004) at 07/13/2006 08:47:06, Serialize by Router on dmail/Day(Release 6.5.1|January 21, 2004) at 07/13/2006 08:47:07, Serialize complete at 07/13/2006 08:47:07 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N hi paco Paco Avila wrote: > If I create a lock with isSessionScoped=false, when I perform logout and > login I have a new session and can't unlock this node. Should I > serialize and reutilize the session? for the open-scoped locks you have to transfer the lock token to the Session that you want to become the lock holder. see Session.addLockToken(String) and Session.removeLockToken(String) angela