jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pontus Amberg <pontus.amb...@comhem.se>
Subject Re: Question about in memory repositories
Date Thu, 01 Dec 2011 20:16:49 GMT
I had Jackrabbit running in-memory for tests but instead of 
InMemPersistenceManager I used DerbyPersistenceManager where Derby is 
running in-memory.

I based my config on the one described in this thread 
where I at least replaced the PersistenceManager with the 
DerbyPersistenceManager. How to run Derby in-memory is described here 
http://wiki.apache.org/db-derby/InMemoryBackEndPrimer .


On 2011-12-01T15:28:49 CET, 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
> 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?
> Regards,
> Alvaro

View raw message