On Thu, Dec 1, 2011 at 3:28 PM, Alvaro Videla <[email protected]> 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]: <quote>initial capacity of the hash map used to store the data</quote> 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/persistence/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/InMemBundlePersistenceManager.java?view=markup&pathrev=1214844 > > Regards, > > Alvaro > > -- > > Liip AG // Feldstrasse 133 // CH-8004 Zürich // GPG0x1D3625C7
