Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 37167 invoked from network); 9 Jun 2008 13:32:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jun 2008 13:32:49 -0000 Received: (qmail 82090 invoked by uid 500); 9 Jun 2008 13:32:50 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 82069 invoked by uid 500); 9 Jun 2008 13:32:50 -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 82058 invoked by uid 99); 9 Jun 2008 13:32:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jun 2008 06:32:50 -0700 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 stefan.guggisberg@gmail.com designates 209.85.146.179 as permitted sender) Received: from [209.85.146.179] (HELO wa-out-1112.google.com) (209.85.146.179) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jun 2008 13:32:00 +0000 Received: by wa-out-1112.google.com with SMTP id m33so1891456wag.9 for ; Mon, 09 Jun 2008 06:32:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=suPmZKclV+fE00VILBnCzbwQYbr/UcWmSIGTh/IWZn8=; b=r/Ea5QeyqaVSgpBdsly/gmlrI1snivxOP5e6bCIw7XYUsiFC5yrcU9qpsWUsFJuLy3 I9uFXQvpvOn9XeP8nYfuR9zLEwsh+/EmwbG4GcX5aIIb514GukJYoepRINtRMDH5H6dh epD1PX3PxjhVVpKykNM+okcslS5bJIq1p8E9A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=N5oubqBEkfqZ+TSkNNxe3ka5tuznVeqhwcEc5s3W+33eZfYzh20zZNWlPAuwXD61gl SghQ0VWoBvat5Ta1l6bozYqZPSn+Pt0N9MDoOKnIkStHSIPo8qDZ7IqIodWKQ2hn7tR5 7RQhUH/9aTKIa4WCXLwqxQh8HN+N5NQZ1yQUs= Received: by 10.114.79.18 with SMTP id c18mr3254688wab.86.1213018337018; Mon, 09 Jun 2008 06:32:17 -0700 (PDT) Received: by 10.114.190.14 with HTTP; Mon, 9 Jun 2008 06:32:16 -0700 (PDT) Message-ID: <90a8d1c00806090632r3a81bfbfh48a5c8305d9f0a9c@mail.gmail.com> Date: Mon, 9 Jun 2008 15:32:16 +0200 From: "Stefan Guggisberg" Sender: stefan.guggisberg@gmail.com To: users@jackrabbit.apache.org Subject: Re: jackrabbit 1.4.4 - Problems with concurrent access In-Reply-To: <002701c8ca32$3fb63360$4801a8c0@pessac.v4x.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <17725075.post@talk.nabble.com> <002701c8ca32$3fb63360$4801a8c0@pessac.v4x.com> X-Google-Sender-Auth: b9b03604caf57101 X-Virus-Checked: Checked by ClamAV on apache.org hi frederic On Mon, Jun 9, 2008 at 3:10 PM, Frederic BOY wrote: > Hi, > > I'm trying to set up a unique JCR repository for up to 3 workstations on a > LAN. It is installed on one of the 3 computers and is made accessible using > windows sharing options. that's not supported. you can't have multiple repository instances using a shared file system. the repository lock file is used to prevent this kind of setup, that's why you're getting those errors. what you're looking for is a model 3 deployment (a stand-alone repository server accessed by multiple clients). see here for more information: http://jackrabbit.apache.org/repository-server-howto.html cheers stefan > > All 3 computers are running their own JBoss instance, trying to access > concurrently to the unique JCR repository. > > I have upgraded to jackrabbit 1.4.4 for better management of concurrent > access and I have edited my repository.xml to add these lines: > > > > > > class="org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceMana > ger" > > > class="org.apache.jackrabbit.core.query.lucene.SearchIndex"> > > > > > > class="org.apache.jackrabbit.core.fs.local.LocalFileSystem"> > > > class="org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceMana > ger" > > > > > Everything should be ok, but still I keep getting those > "RepositoryException:Unable to create or lock file..." > > (Though all users have read/write access rights on the repository folder and > sub-folders) > > > Any idea about what's missing or what I've done wrong ?? > Thanks a lot in advance! > > > Frederic Boy > >