From users-return-11081-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Wed Apr 01 15:30:51 2009 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 8558 invoked from network); 1 Apr 2009 15:30:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Apr 2009 15:30:51 -0000 Received: (qmail 2609 invoked by uid 500); 1 Apr 2009 15:30:50 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 2557 invoked by uid 500); 1 Apr 2009 15:30: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 2546 invoked by uid 99); 1 Apr 2009 15:30:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 15:30:50 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dipu.wkt@googlemail.com designates 72.14.220.155 as permitted sender) Received: from [72.14.220.155] (HELO fg-out-1718.google.com) (72.14.220.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 15:30:40 +0000 Received: by fg-out-1718.google.com with SMTP id 19so205464fgg.20 for ; Wed, 01 Apr 2009 08:30:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=XotE2/6KEyu0jm+Jt6TfNhsMplZdgpZCQyglKGpyJTg=; b=Cdx/p++P47LGOcvzScpa4xdHcLfu/ZobYcGtEBZGMKd9t2wenX3LTSj5gEV2NSJAKE OkjxQFP4Fd5N87m36SayW3MHlGWaVuuSnvRQuaTkVFq19e0qgDSlRKSD3Lrhf1vB+ITS 7hoHLrfEH3vyyuwRFnfM3cYNQLxoIkbFrd7SY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=F9sGfjpbbNEAboLa+JC4fGvmyOduSrkPT5mbWg7gLXbGgVRIejiT9RlPYKyzKQVuK+ 9YrvgmgM5v+5oJNQl41/rPjUXOCrpCmv5xmg0uJIEV//s03+bHvr1ffv4X8+jGvq/IRx mNgTLiYpvcSuLVyox1WK13jmfXDMqByTK+WjU= MIME-Version: 1.0 Received: by 10.86.61.13 with SMTP id j13mr4637334fga.65.1238599820536; Wed, 01 Apr 2009 08:30:20 -0700 (PDT) In-Reply-To: <91f3b2650904010701x6f661502q329574df9d585481@mail.gmail.com> References: <56e02d470903130539g49b8068le0102f344e486178@mail.gmail.com> <56e02d470903180941i43120bb3sbae4139f8970635b@mail.gmail.com> <91f3b2650903190403j32eb66f5t57184d06b1d49442@mail.gmail.com> <56e02d470903190446t2cbb15efpfdc6c55907dabfb0@mail.gmail.com> <91f3b2650903190551m7f413599g20782d9e080ba322@mail.gmail.com> <56e02d470904010653g284f208aha6439233968cf922@mail.gmail.com> <91f3b2650904010701x6f661502q329574df9d585481@mail.gmail.com> Date: Wed, 1 Apr 2009 15:30:20 +0000 Message-ID: <56e02d470904010830q48068af8w374981eeb151d22@mail.gmail.com> Subject: Re: Exception while creating workspace created on another cluster node From: Dipu To: users@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Thomas, Thank you for the rapid reply. We cannot reproduce the problem starting a node with an empty repository. The problem only appears when: - Cluster Node 1 is started against an empty repository and creates a workspace, registering custom namespaces and nodetypes (Cluster Node 1 starts up without issue) - Cluster Node 2 is started up without a copy of the custom namespace and nodetype definitions in its own FileSystem (Cluster Node 2 fails to start up) It looks like issue JCR-1558 matches the problem I'm having exactly. Is there any work planned on that particular issue? I ask because the custom namespaces and nodetypes are something we can't realistically get away from, as we are using Brix, which makes use of these. Thanks & Regards Dipu On Wed, Apr 1, 2009 at 2:01 PM, Thomas M=FCller wr= ote: > Hi, > > It looks like a different problem. Can you reproduce this problem > starting with an empty repository? > > Regards, > Thomas > > > On Wed, Apr 1, 2009 at 3:53 PM, Dipu wrote: >> Hi all, >> >> It looks like the problem i am getting now is what mentioned here >> https://issues.apache.org/jira/browse/JCR-1558 >> >> Is it an issue or is it again some thing configured wrongly in my reposi= tory.xml >> >> Thanks & Regards >> Dipu >> >> On Thu, Mar 19, 2009 at 12:51 PM, Thomas M=FCller wrote: >>> Hi, >>> >>> Most likely the problem is that both cluster nodes point to the same >>> file system. I have updated the documentation at >>> http://wiki.apache.org/jackrabbit/Clustering >>> >>> "Clustering in Jackrabbit works as follows: content is shared between >>> all cluster nodes. That means all Jackrabbit cluster nodes need access >>> to the SAME persistent storage (persistence manager and data store). >>> However, each cluster node needs its own (private) FileSystem and >>> search index. " >>> >>> Regards, >>> Thomas >>> >>> >>> >>> 2009/3/19 Dipu : >>>> Hi Thomas, >>>> >>>> Thanks for the reply. >>>> >>>> This is the error message that gets logged, there is no stacktrace >>>> >>>> 2009-03-19 11:19:19:046 ERROR >>>> org.apache.jackrabbit.core.cluster.ClusterNode >>>> [ClusterNode-dev_node_hestia] - Unable to create workspace: failed to >>>> create workspace configuration at path >>>> /configRootPath/brix_ws_59e521c6_676b_4782_9ba9_ef3651e1fb54/workspace= .xml: >>>> file system entry already exists: >>>> /configRootPath/brix_ws_59e521c6_676b_4782_9ba9_ef3651e1fb54 >>>> >>>> createFolder =A0method in DatabaseFileSystem class is throwing the >>>> new FileSystemException("file system entry already exists: " + >>>> folderPath); which gets propagated and ClusterNode.process method logs >>>> it. >>>> >>>> this is how the real URL looks >>>> >>>> >>>> >>>> we connect to the DB fine and i don't think there is any problem there= . >>>> >>>> Regards >>>> Dipu >>>> >>>> >>>> 2009/3/19 Thomas M=FCller : >>>>> Hi, >>>>> >>>>> Could you post the exception message and stack trace please? >>>>> >>>>> >>>>> >>>>> Could you also include the real URL? >>>>> >>>>> Regards, >>>>> Thomas >>>>> >>>>> >>>>> On Wed, Mar 18, 2009 at 5:41 PM, Dipu wrote= : >>>>>> Hi, >>>>>> >>>>>> This is how my repository.xml looks, can someone check if there is >>>>>> anything wrong >>>>>> with my configuration that's resulting in the failure please. >>>>>> >>>>>> >>>>>> >>>>>> >>>>> Jackrabbit 1.5//EN" >>>>>> >>>>>> "http://jackrabbit.apache.org/dtd/repository-1.5.dtd"> >>>>>> >>>>>> >>>>>> =A0 =A0 >>>>>> =A0 =A0 >>>>>> =A0 =A0 >>>>>> >>>>>> =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 >>>>>> >>>>>> =A0 =A0 >>>>>> =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0>>>>> class=3D"org.apache.jackrabbit.core.security.SimpleAccessManager"> >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 >>>>>> >>>>>> =A0 =A0 =A0 =A0>>>>> class=3D"org.apache.jackrabbit.core.security.SimpleLoginModule"> >>>>>> =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 >>>>>> >>>>>> =A0 =A0 >>>>>> >>>>>> =A0 >>>>> defaultWorkspace=3D"default" configRootPath=3D"/configRootPath"/> >>>>>> >>>>>> =A0 =A0 >>>>>> =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> >>>>>> =A0 =A0 =A0 =A0 >>>>>> >>>>>> =A0 =A0 =A0 =A0 >>>>>> >>>>>> =A0 =A0 =A0 =A0 >>>>> class=3D"org.apache.jackrabbit.core.persistence.bundle.PostgreSQLPer= sistenceManager"> >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 >>>>>> >>>>>> =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0>>>>> class=3D"org.apache.jackrabbit.core.query.lucene.SearchIndex"> >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0>>>>> value=3D"org.apache.jackrabbit.extractor.MsWordTextExtractor,org.apa= che.jackrabbit.extractor.MsExcelTextExtractor,org.apache.jackrabbit.extract= or.MsPowerPointTextExtractor,org.apache.jackrabbit.extractor.PdfTextExtract= or,org.apache.jackrabbit.extractor.OpenOfficeTextExtractor,org.apache.jackr= abbit.extractor.RTFTextExtractor,brix.jcr.jackrabbit.HtmlTextExtractor,org.= apache.jackrabbit.extractor.XMLTextExtractor"/> >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 >>>>>> >>>>>> =A0 =A0 =A0 =A0>>>>> class=3D"org.apache.jackrabbit.core.state.FineGrainedISMLocking"> >>>>>> >>>>>> =A0 =A0 >>>>>> >>>>>> =A0 =A0 >>>>>> =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 >>>>>> >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> >>>>>> =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 >>>>> class=3D"org.apache.jackrabbit.core.persistence.bundle.PostgreSQLPer= sistenceManager"> >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 >>>>>> >>>>>> =A0 =A0 =A0 =A0>>>>> class=3D"org.apache.jackrabbit.core.state.FineGrainedISMLocking"> >>>>>> >>>>>> =A0 =A0 >>>>>> >>>>>> =A0 =A0 >>>>>> =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0>>>>> value=3D"org.apache.jackrabbit.extractor.MsWordTextExtractor,org.apa= che.jackrabbit.extractor.MsExcelTextExtractor,org.apache.jackrabbit.extract= or.MsPowerPointTextExtractor,org.apache.jackrabbit.extractor.PdfTextExtract= or,org.apache.jackrabbit.extractor.OpenOfficeTextExtractor,org.apache.jackr= abbit.extractor.RTFTextExtractor,brix.jcr.jackrabbit.HtmlTextExtractor,org.= apache.jackrabbit.extractor.XMLTextExtractor"/> >>>>>> =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 >>>>>> >>>>>> >>>>>> =A0 >>>>>> >>>>>> =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 >>>>>> >>>>>> >>>>>> =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>>>> =A0 =A0 =A0 =A0 >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Thanks >>>>>> Dipu >>>>>> >>>>> >>>> >>> >> >