From users-return-18558-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Mon Feb 6 16:16:57 2012 Return-Path: X-Original-To: apmail-jackrabbit-users-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 67A279A17 for ; Mon, 6 Feb 2012 16:16:57 +0000 (UTC) Received: (qmail 75845 invoked by uid 500); 6 Feb 2012 16:16:56 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 75808 invoked by uid 500); 6 Feb 2012 16:16:56 -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 75800 invoked by uid 99); 6 Feb 2012 16:16:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2012 16:16:55 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2012 16:16:49 +0000 Received: from joe.nabble.com ([192.168.236.139]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RuREy-00049X-4V for users@jackrabbit.apache.org; Mon, 06 Feb 2012 08:16:28 -0800 Date: Mon, 6 Feb 2012 08:16:28 -0800 (PST) From: Mark Herman To: users@jackrabbit.apache.org Message-ID: <1328544988129-4361768.post@n4.nabble.com> In-Reply-To: <98894.2437.2316-3158-163392196-1328544552@email.cz> References: <98885.1292.3023-22639-1865541224-1328540876@email.cz> <1328541287445-4361534.post@n4.nabble.com> <98890.1251.2339-27009-945015712-1328542217@email.cz> <98894.2437.2316-3158-163392196-1328544552@email.cz> Subject: Re: Re: Re: Any way how to remove node lock? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I tried using locks for my application, but ultimately had to take them out. Using admin seemed to solve my problems, but it was not an option to hard code admin credentials to create new sessions when needed to address them. Locks in Jackrabbit seem a bit too "serious" (perhaps not JR's fault but JCR). It would be nice if you could at least grant access to override locks without a lock token. For my application I eventually stopped using locking and implemented the functionality i needed in my layer above JR. Luckily for me, that is a single java api so it was pretty easy, maybe it's an option for you. -- View this message in context: http://jackrabbit.510166.n4.nabble.com/Any-way-how-to-remove-node-lock-tp4361516p4361768.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.