Return-Path: X-Original-To: apmail-jackrabbit-users-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5E4F9BD9F for ; Wed, 4 Jan 2012 10:24:09 +0000 (UTC) Received: (qmail 95957 invoked by uid 500); 4 Jan 2012 10:24:09 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 95542 invoked by uid 500); 4 Jan 2012 10:24:03 -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 95529 invoked by uid 99); 4 Jan 2012 10:24:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2012 10:24:01 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of stefan.guggisberg@gmail.com designates 209.85.210.170 as permitted sender) Received: from [209.85.210.170] (HELO mail-iy0-f170.google.com) (209.85.210.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2012 10:23:56 +0000 Received: by iafj26 with SMTP id j26so63634070iaf.1 for ; Wed, 04 Jan 2012 02:23:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=O1/qaD2X4w/enLsPC7Arl0RqIpRNtxqDW81qWH6xbuQ=; b=AzVL9wVfffyBhFcY5TJJK6bMwNuTLOnCJXYj4CR8I+RtzPL7YA7/YZe/0KrxtmCRWm rhbb8dOqlTGH94WJkLPid3Fhm2I93p5U4rP1d3kQ9UUTi9V+YG0l9dqvwo4Xf9p4ZlIn ZYEdGYBGn7fY0XIMvmOlKnJm/SGH0HenDYI5A= MIME-Version: 1.0 Received: by 10.42.148.1 with SMTP id p1mr19595140icv.27.1325672616045; Wed, 04 Jan 2012 02:23:36 -0800 (PST) Received: by 10.42.19.136 with HTTP; Wed, 4 Jan 2012 02:23:36 -0800 (PST) In-Reply-To: References: Date: Wed, 4 Jan 2012 11:23:36 +0100 Message-ID: Subject: Re: Question about in memory repositories From: Stefan Guggisberg To: users@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Thu, Dec 1, 2011 at 3:28 PM, Alvaro Videla wrote= : > Hi, > > When I try to use the > class org.apache.jackrabbit.core.persistence.mem.InMemPersistenceManager > for my test workspace I get the following error in the logs: > > BeanConfig.java:185 > org.apache.jackrabbit.core.persistence.mem.InMemPersistenceManager there's obviously a configuration problem. please provide the complete log entry. > > What's the recommended way to use jackrabbit for testing purposes? I'm > trying to avoid doing file I/O for the tests. > > Also in which unit is the *initialCapacity *parameter expressed > in the InMemPersistenceManager class? see [0]: initial capacity of the hash map used to store the data BTW: InMemPersistenceManager has been deprecated [1]. as of version 2.3.6 there's a direct replacement (InMemBundlePersistenceManager, see [2]) which should be used instead. cheers stefan [0] http://jackrabbit.apache.org/api/2.2/org/apache/jackrabbit/core/persist= ence/mem/InMemPersistenceManager.html [1] https://issues.apache.org/jira/browse/JCR-2802 [2] http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/= java/org/apache/jackrabbit/core/persistence/mem/InMemBundlePersistenceManag= er.java?view=3Dmarkup&pathrev=3D1214844 > > Regards, > > Alvaro > > -- > > Liip AG // Feldstrasse 133 // CH-8004 Z=FCrich // GPG0x1D3625C7