jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From linuja <lin...@gmail.com>
Subject newbie:javax.jcr.RepositoryException: SearchIndex requires 'path' parameter in configuration!
Date Thu, 15 Sep 2005 01:51:22 GMT
Hi.
I got the excpeiton when i follow the First
Steps<http://incubator.apache.org/jackrabbit/firststeps.html>
.

Exception in thread "main" javax.jcr.RepositoryException: SearchIndex 
requires 'path' parameter in configuration!: SearchIndex requires 'path' 
parameter in configuration!: SearchIndex requires 'path' parameter in 
configuration!

And here is my repository.xml:

<?xml version="1.0" encoding="ISO-8859-1"?>
<Repository>
<FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
<param name="path" value="${rep.home}/repository"/>
</FileSystem>
<Security appName="Jackrabbit">
<AccessManager class="
org.apache.jackrabbit.core.security.SimpleAccessManager"/>
</Security>
<Workspaces rootPath="${rep.home}/workspaces" defaultWorkspace="default" />
<Workspace name="${wsp.name <http://wsp.name>}">
<FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
<param name="path" value="${wsp.home}"/>
</FileSystem>
<PersistenceManager class="
org.apache.jackrabbit.core.state.xml.XMLPersistenceManager" />
<SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
<param name="path" value="${wsp.home}/index"/>
</SearchIndex>
</Workspace>
<Versioning rootPath="${rep.home}/versions">
<FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
<param name="path" value="${rep.home}/versions"/>
</FileSystem>
<PersistenceManager class="
org.apache.jackrabbit.core.state.xml.XMLPersistenceManager" />
</Versioning>
</Repository>

Thanks.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message