You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by linuja <li...@gmail.com> on 2005/09/15 03:51:22 UTC
newbie:javax.jcr.RepositoryException: SearchIndex requires 'path' parameter in configuration!
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.
Re: newbie:javax.jcr.RepositoryException: SearchIndex requires 'path'
parameter in configuration!
Posted by Marcel Reutegger <ma...@gmx.net>.
Please also check that your workspace.xml files use the new path
parameter in SearchIndex.
regards
marcel
linuja wrote:
> 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!