jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phill Ashworth" <ph...@inversebit.com>
Subject Re: MemoryFileSystem configuration for testing
Date Thu, 11 Jul 2013 10:50:30 GMT
That was it thanks, I've deleted the other copy and all working now.
-Phill

On 11 Jul 2013, at 12:36, Marek Slama wrote:

> In such case make sure you have no other copy on disk. Jackrabbit makes
> another copy for every workspace.
> (You can use full text search.)
>
> M.
>
> "Thanks Marek, that's what I initially assumed the message meant but
> empty tags give me the same error.
>
> <Repository>
> <FileSystem
> class="org.apache.jackrabbit.core.fs.mem.MemoryFileSystem"/>
>
> <Security appName="Jackrabbit">
> <SecurityManager
> class="org.apache.jackrabbit.core.security.simple.SimpleSecurityManager"
> workspaceName="security">
> </SecurityManager>
>
> <AccessManager
> class="org.apache.jackrabbit.core.security.simple.SimpleAccessManager">
> <!-- <param name="config" value="${rep.home}/access.xml"/>
> -->
> </AccessManager>
>
> <LoginModule
> class="org.apache.jackrabbit.core.security.simple.SimpleLoginModule">
> <param name="anonymousId" value="anonymous"/>
> <param name="adminId" value="admin"/>
> </LoginModule>
> </Security>
>
> <Workspaces rootPath="${rep.home}/workspaces"
> defaultWorkspace="default"/>
>
> <Workspace name="${wsp.name}">
> <FileSystem
> class="org.apache.jackrabbit.core.fs.mem.MemoryFileSystem"/>
> <PersistenceManager
> class="org.apache.jackrabbit.core.persistence.mem.
> InMemBundlePersistenceManager">
> <param name="persistent" value="false"/>
> </PersistenceManager>
> </Workspace>
>
> <Versioning rootPath="${rep.home}/version">
> <FileSystem
> class="org.apache.jackrabbit.core.fs.mem.MemoryFileSystem"/>
> <PersistenceManager
> class="org.apache.jackrabbit.core.persistence.mem.
> InMemBundlePersistenceManager">
> <param name="persistent" value="false"/>
> </PersistenceManager>
> </Versioning>
> </Repository>
>
>
> (2013-07-11 12:08:47,457 [Test worker]) INFO o.a.j.core.RepositoryImpl
> - initializing workspace 'default'...
> (2013-07-11 12:08:47,466 [Test worker]) ERROR o.a.j.core.RepositoryImpl
> - Failed to initialize workspace 'default'
> org.apache.jackrabbit.core.config.ConfigurationException: Configured
> class org.apache.jackrabbit.core.fs.mem.MemoryFileSystem does not
> contain a property named path
> at
> org.apache.jackrabbit.core.config.BeanConfig.newInstance(BeanConfig.java:
> 208)
> ~[jackrabbit-core-2.6.2.jar:2.6.2]
> at
> org.apache.jackrabbit.core.config.RepositoryConfigurationParser$6.
> getFileSystem(RepositoryConfigurationParser.java:1164)
> ~[jackrabbit-core-2.6.2.jar:2.6.2]
> at
> org.apache.jackrabbit.core.config.WorkspaceConfig.getFileSystem
> (WorkspaceConfig.java:220)
> ~[jackrabbit-core-2.6.2.jar:2.6.2]
> at
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doInitialize
> (RepositoryImpl.java:2017)
> ~[jackrabbit-core-2.6.2.jar:2.6.2]
> at
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize
> (RepositoryImpl.java:2002)
> ~[jackrabbit-core-2.6.2.jar:2.6.2]
> at
> org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces
> (RepositoryImpl.java:517)
> [jackrabbit-core-2.6.2.jar:2.6.2]
> at
> org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:324)
> [jackrabbit-core-2.6.2.jar:2.6.2]
> at
> org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:589)
> [jackrabbit-core-2.6.2.jar:2.6.2]
> at
> org.apache.jackrabbit.core.TransientRepository$2.getRepository
> (TransientRepository.java:232)
> ~[jackrabbit-core-2.6.2.jar:2.6.2]
> at
> org.apache.jackrabbit.core.TransientRepository.startRepository
> (TransientRepository.java:280)
> ~[jackrabbit-core-2.6.2.jar:2.6.2]
> at
> org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.
> java:376)
> ~[jackrabbit-core-2.6.2.jar:2.6.2]
> at
> org.apache.jackrabbit.commons.AbstractRepository.login(AbstractRepository.
> java:111)
> ~[jackrabbit-jcr-commons-2.6.2.jar:na]
>
>

Mime
View raw message