Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 35637 invoked from network); 4 Oct 2010 09:17:24 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Oct 2010 09:17:24 -0000 Received: (qmail 13958 invoked by uid 500); 4 Oct 2010 09:17:23 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 13717 invoked by uid 500); 4 Oct 2010 09:17:21 -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 13708 invoked by uid 99); 4 Oct 2010 09:17:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Oct 2010 09:17:20 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mkhatrijava@gmail.com designates 74.125.82.50 as permitted sender) Received: from [74.125.82.50] (HELO mail-ww0-f50.google.com) (74.125.82.50) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Oct 2010 09:17:14 +0000 Received: by wwb17 with SMTP id 17so6009317wwb.19 for ; Mon, 04 Oct 2010 02:16:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=X7xNKREp4fIG261DPYKpGkVcZN3HD8npJU07GpwV6Hw=; b=uRhMX7wRdmFkkw6JsBQSrOX201MMYjKeh2ioTgOcdKUVuZFUJ1DSgJ9FrPrQo/lQgC ONn1WyvNyW0YvMdIDv3zC71djI9iXwPJX8CKKzQSZRB96DYeYL0X1B4qB0V3Tz6nbiz0 CHV9+GeoiLTmxkpgRwSxVM94xM+VQ2Q1Wdu9g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=MN2K0Pl+Wl2bpyUTRHJL6rdEBZTXe4Rcjh7Ks0hI3Agq5km/QaEO+XCvZWUITOOkbK wOBcVoGdElenXrxbNvVykq9LoyREoVGp2C5sGbGZ04M57OB8iilviYc3itTPEtlGRLCn 852evQXhWgNbu9L4G7LmQRS/3B8Z4cLMNT/ZU= MIME-Version: 1.0 Received: by 10.227.24.141 with SMTP id v13mr7233417wbb.210.1286183812372; Mon, 04 Oct 2010 02:16:52 -0700 (PDT) Received: by 10.227.153.10 with HTTP; Mon, 4 Oct 2010 02:16:52 -0700 (PDT) In-Reply-To: <4CA5F25C.2000902@gmail.com> References: <4CA5F25C.2000902@gmail.com> Date: Mon, 4 Oct 2010 11:16:52 +0200 Message-ID: Subject: Re: Multiple Workspaces: Howto? From: Meenakshi Khatri To: users@jackrabbit.apache.org, justin@justinedelson.com Content-Type: multipart/alternative; boundary=0022158c1a3940999d0491c70198 --0022158c1a3940999d0491c70198 Content-Type: text/plain; charset=ISO-8859-1 Hi Justin, Thanks for your reply. I actually wanted to create the workspace manually and not programmatically. After spending some time searching on the internet, I figured out the manual work. http://jackrabbit.apache.org/frequently-asked-questions.html Under the question: "How do I create new workspaces in Jackrabbit? " So I copied the existing settings, just changed the and it worked! Regards, Meenakshi On Fri, Oct 1, 2010 at 4:38 PM, Justin Edelson wrote: > Did you call Workspace.createWorkspace("test2") ? > > > > On 10/1/10 9:58 AM, Meenakshi Khatri wrote: > > Hi everyone, > > > > I am trying to use jackrabbit's feature of using multiple workspaces. Of > > what I have understood so far, Creating a new workspace should be > including > > a new entry in the repository.xml and creating additional workspace.xml > > inside workspaces folder. [So I also got workspaces / test2 / > workspace.xml > > file ] > > > > I got one existing default workspace running which connects to Postgres > and > > persist Data on postgres. > > > > In my new project, I want to keep it simple by accessing FileSystem and > so, > > I am adding one more workspace entry in repository.xml as follows: > > > > > >> > >> > >> > > >> class="org.apache.jackrabbit.core.fs.local.LocalFileSystem"> > >> > >> > > > > > > > >> >> > class="org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager"> > >> > >> > >> > >> > > >> class="org.apache.jackrabbit.core.query.lucene.SearchIndex"> > >> > >> > >> > >> > >> > > > > > > Can someone tell me how can I make my jackrabbit more flexible by > accepting > > multiple workspaces: One to persists data to Postgres and another as > simple > > fileSystem? > > > > Thanks in advance, > > - Meenakshi > > > > --0022158c1a3940999d0491c70198--