Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 13607 invoked from network); 6 Jul 2010 08:36:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Jul 2010 08:36:47 -0000 Received: (qmail 87113 invoked by uid 500); 6 Jul 2010 08:36:47 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 86615 invoked by uid 500); 6 Jul 2010 08:36:44 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 86606 invoked by uid 99); 6 Jul 2010 08:36:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jul 2010 08:36:44 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jukka.zitting@gmail.com designates 209.85.214.170 as permitted sender) Received: from [209.85.214.170] (HELO mail-iw0-f170.google.com) (209.85.214.170) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jul 2010 08:36:37 +0000 Received: by iwn36 with SMTP id 36so8142233iwn.1 for ; Tue, 06 Jul 2010 01:36:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=ks6knCiLbNrUL2dbgDJzJ1hbuC+2UGeGOJSS0GsHioo=; b=LRsGrxfPcQE1f0avnftrfCWc9PgclUp6KQ1KqaWuZrZfzctYHyws6tL0Ct4r12H2WP 4HJoki9X55uEBPkN4KQa5z2ngOu8jLfRszsRx3kRnJdiPauNG+A085KkTJh4v5UwMYgN gPLbUFxJHWTHiXiKLu7Jd851kAMjJJV4xbIYk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=RGqlJefpiaZdZNDmijUyPhhx51SW/02DQyfWl2u6nFG2fsBPUgI4gLl0b1RAxRqA7e XkrFzjHGwxrTeqBnB5RxMtl4Yv8ZEQjHvLW1NbGJlQ0WLZt2AWAWt5Ybr/OIn7CsjCyi qX7WY7mBCXBphd3RC2/HhziEeqW1nu9PV0cYo= Received: by 10.231.169.145 with SMTP id z17mr4931638iby.13.1278405376167; Tue, 06 Jul 2010 01:36:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.155.11 with HTTP; Tue, 6 Jul 2010 01:35:56 -0700 (PDT) In-Reply-To: References: From: Jukka Zitting Date: Tue, 6 Jul 2010 11:35:56 +0300 Message-ID: Subject: Re: Problem locking a node To: users@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, On Tue, Jul 6, 2010 at 12:50 AM, JOSE FELIX HERNANDEZ BARRIO wrote: > i'm trying to lock a node for 30 minutes > > lockManager.lock(node.getPath(), false, false, 1800, username); > session.save(); > session.logout(); > > there's no exception > but the node doesn't get locked. How do you determine whether the node is locked or not? I.e. what line of your code is giving results that you didn't expect seeing? BR, Jukka Zitting