From users-return-13340-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Mon Nov 16 13:07:33 2009 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 94455 invoked from network); 16 Nov 2009 13:07:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Nov 2009 13:07:33 -0000 Received: (qmail 97393 invoked by uid 500); 16 Nov 2009 13:07:33 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 97374 invoked by uid 500); 16 Nov 2009 13:07:33 -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 97363 invoked by uid 99); 16 Nov 2009 13:07:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 13:07:33 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aklimets@day.com designates 207.126.148.89 as permitted sender) Received: from [207.126.148.89] (HELO eu3sys201aog103.obsmtp.com) (207.126.148.89) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 16 Nov 2009 13:07:31 +0000 Received: from source ([209.85.222.199]) by eu3sys201aob103.postini.com ([207.126.154.11]) with SMTP ID DSNKSwFOffgsVcRAAjKDgv2Phw/lWe/ghBkC@postini.com; Mon, 16 Nov 2009 13:07:10 UTC Received: by pzk37 with SMTP id 37so3472736pzk.10 for ; Mon, 16 Nov 2009 05:07:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.208.16 with SMTP id f16mr453395rvg.96.1258376828060; Mon, 16 Nov 2009 05:07:08 -0800 (PST) In-Reply-To: <8752ef10911160256h171e905aq87270cca807457d4@mail.gmail.com> References: <8752ef10911160256h171e905aq87270cca807457d4@mail.gmail.com> Date: Mon, 16 Nov 2009 14:07:08 +0100 Message-ID: Subject: Re: FreeBSD indexing and lock file issues From: Alexander Klimetschek To: users@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 On Mon, Nov 16, 2009 at 11:56, Sergey Podatelev wrote: > Another problem is with the .lock file. > The repository is configured as a webapp bundle, and it's impossible > to redeploy the app because of the ".lock file is present" exception, > so each time the app needs to be redeployed, we have to stop the > webserver, remove the .lock file and then start the server again. In this case you must make sure the shutdown() method is called. http://wiki.apache.org/jackrabbit/ExamplesPage#Shutting_Down_the_Repository http://jackrabbit.apache.org/api-1/org/apache/jackrabbit/api/JackrabbitRepository.html#shutdown() Regards, Alex -- Alexander Klimetschek alexander.klimetschek@day.com