From users-return-11124-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Wed Apr 08 09:10:38 2009 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 79292 invoked from network); 8 Apr 2009 09:10:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Apr 2009 09:10:38 -0000 Received: (qmail 19594 invoked by uid 500); 8 Apr 2009 09:10:37 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 19570 invoked by uid 500); 8 Apr 2009 09:10:37 -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 19559 invoked by uid 99); 8 Apr 2009 09:10:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Apr 2009 09:10:37 +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, 08 Apr 2009 09:10:26 +0000 Received: by fg-out-1718.google.com with SMTP id 19so465867fgg.20 for ; Wed, 08 Apr 2009 02:10:05 -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=6TURkndrRX+Yxz7tCOJFj3sGz943ZN2Ax+OZ0vNNVwQ=; b=nGlIUvJhD0VSrYG2zvg8ned8OHJSCI9uXnZijcMDMDBeSPXAOd5HQwqWgfqmL0JMNG nRkUai/jrEkQZ6vzGMRgzOGnMj3/bX3VFtrBEESOv05os/Uu+vc22B6wRGorFIkgtqbR HmdM7EV3hC7tZRer958fv2j4P0EQ8Z4L6PCbE= 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=p5bEKqZn5SRYXfZHcJcArWMAThphfzefR6u8KVqJpdXi/7LomhMJyGUwd2ePAV/3A+ NQ+JFOO1UvVFnEO44v2OilX9CkH+nk+DCyMbilkHi5WlWEExbtyAHOTI96EabcqR/u9T XSoIiOOQ2Uzif34+Wk+Jv8XGALg5yu3RBH2ow= MIME-Version: 1.0 Received: by 10.86.78.13 with SMTP id a13mr786881fgb.42.1239181805734; Wed, 08 Apr 2009 02:10:05 -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, 8 Apr 2009 09:10:05 +0000 Message-ID: <56e02d470904080210u146e3e60kf7d9da2744f164dd@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 all, Sorry for reposting the same question again and being a pain, can someone with more understanding of jackrabbit help me with these questions please We managed to work around issue JCR-1558 by re-registering the custom namespaces on the cluster node start up. Just to be entirely clear on this, the repository.xml file has 3 FileSystems defined: - for repository - for workspaces - for versioning Does each cluster node need its own FileSystem for *all* of these, or only the repository and versioning? Finally, all the clustering examples we've come across use the LocalFileSystem. Is there a particular reason for this? We'd like to use the DBFileSystem - is this likely to cause us any problems? Thanks for everything. 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 >>>>>> >>>>> >>>> >>> >> >