Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 87483 invoked from network); 30 Jun 2008 11:12:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Jun 2008 11:12:13 -0000 Received: (qmail 6799 invoked by uid 500); 30 Jun 2008 11:12:14 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 6768 invoked by uid 500); 30 Jun 2008 11:12:14 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 6753 invoked by uid 99); 30 Jun 2008 11:12:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jun 2008 04:12:14 -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 aklimets@day.com designates 62.192.10.254 as permitted sender) Received: from [62.192.10.254] (HELO goobak01.day.com) (62.192.10.254) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jun 2008 11:11:22 +0000 Received: by goobak01.day.com (Postfix, from userid 1212) id E6C7450882; Mon, 30 Jun 2008 13:10:25 +0200 (CEST) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.234]) by goobak01.day.com (Postfix) with ESMTP id 6488E5081F for ; Mon, 30 Jun 2008 13:10:25 +0200 (CEST) Received: by rv-out-0506.google.com with SMTP id k40so1617048rvb.1 for ; Mon, 30 Jun 2008 04:10:20 -0700 (PDT) Received: by 10.142.212.19 with SMTP id k19mr1823393wfg.142.1214824220788; Mon, 30 Jun 2008 04:10:20 -0700 (PDT) Received: by 10.142.148.15 with HTTP; Mon, 30 Jun 2008 04:10:20 -0700 (PDT) Message-ID: Date: Mon, 30 Jun 2008 07:10:20 -0400 From: "Alexander Klimetschek" To: dev@jackrabbit.apache.org Subject: Re: Repository locked by one server in clustered mode In-Reply-To: <18192912.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <18170869.post@talk.nabble.com> <91f3b2650806281247w7bb6d922r27edc6e1ef4be4e8@mail.gmail.com> <18177897.post@talk.nabble.com> <18192912.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Jun 30, 2008 at 6:44 AM, Balak Dev wrote: > We are actually using JBoss DROOLS, which internally uses Jack rabbit. > > We have both of our managed servers [nodes] running on a single machine in a > single domain. > > I have few more questions here: > > a) The repository cannot be shared. So does it mean that i need to have a > seperate repository folder get created for each of the managed servers > [nodes]. If yes, then where is that i need to mention about it. Yes. You need a database persistence manager that is transactional, which actually shares the data (see bottom of http://wiki.apache.org/jackrabbit/Clustering). The FileSystem's can be normal LocalFileSystem, because each node will store the separately. You need a different repository home for each cluster node, including a repository.xml that is typically the same except for the cluster id. Usage of ${rep.home} and ${wsp.home} will give the FileSystems different locations for each node and the PM configuration pointing to a database will point to the database as the shared location for the data. > > b) Or is it that i can have a single repository folder, but have different > cluster configurations. > > eg:- > .......................... > > > > .......................... > and so on... > Regards, Alex -- Alexander Klimetschek alexander.klimetschek@day.com