From users-return-5703-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Tue Dec 04 22:28:09 2007 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 95554 invoked from network); 4 Dec 2007 22:28:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Dec 2007 22:28:09 -0000 Received: (qmail 44861 invoked by uid 500); 4 Dec 2007 22:27:56 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 44846 invoked by uid 500); 4 Dec 2007 22:27: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 44837 invoked by uid 99); 4 Dec 2007 22:27:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Dec 2007 14:27:56 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of michael.wechner@wyona.com designates 195.226.6.75 as permitted sender) Received: from [195.226.6.75] (HELO mail.wyona.com) (195.226.6.75) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Dec 2007 22:27:33 +0000 Received: from [192.168.1.40] (128-137.0-85.cust.bluewin.ch [85.0.137.128]) by mail.wyona.com (Postfix) with ESMTP id 5897F325E22 for ; Tue, 4 Dec 2007 23:18:19 +0100 (CET) Message-ID: <4755D3D2.2040702@wyona.com> Date: Tue, 04 Dec 2007 23:25:22 +0100 From: Michael Wechner User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417 X-Accept-Language: en, es, de, en-us, fr-ch MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Getting rid of .lock file when shutting down repository resp. closing session Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi I am using Jackrabbit 1.3.3 on Linux with Sun Java 1.4 and everything seems to be fine except the minor thing that when shutting down the repository resp. closing the session and exiting the JVM the .lock file is not being removed. It doesn't really seem to matter, because when restarting it tells me a warning WARN org.apache.jackrabbit.core.util.RepositoryLock.acquire():111 - Existing lock file /home/michi/jackrabbit/.lock detected. Repository was not shut down properly. but otherwise it's restarting fine. Is that normal behaviour or beside closing the session is there anything one needs to call to remove the .lock file during shutdown? There is an e-mail thread about some similar problem http://mail-archives.apache.org/mod_mbox/jackrabbit-users/200701.mbox/%3C5f211bd50701040737l1724d26o9109864b2acf8c6@mail.gmail.com%3E but it's not really clear to me what the "solution" is. Thanks Michael -- Michael Wechner Wyona - Open Source Content Management - Apache Lenya http://www.wyona.com http://lenya.apache.org michael.wechner@wyona.com michi@apache.org +41 44 272 91 61