jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomasz Dabrowski" <Tomasz.Dabrow...@cognifide.com>
Subject RE: Index incorrect after mulitple cloning
Date Mon, 28 Nov 2005 09:57:17 GMT
> you're sure that you rebuild jr? 
yeap, I checked-out svn today in the morning.

> you're not perhaps referencing an outdated jackrabbit-1.0-SNAPSHOT.jar
from your local maven repository?
i defined required libs in classpath for my application, so i'm sure
that i'm using the latest jars.

> what os are you running the test on?
Windows XP Prof.

> what jre version are you using?
1.4.2_08

> what configuration are you using (send your repository.xml)?
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="system" />
    <Workspace name="${wsp.name}">

        <FileSystem class="com.day.jackrabbit.fs.cq.CQFileSystem">
            <param name="path" value="${wsp.home}/wspStore.dat"/>
            <param name="autoRepair" value="false"/>
            <param name="blockSize" value="128"/>
            <param name="autoSync" value="false"/>
        </FileSystem> 

        <PersistenceManager
class="org.apache.jackrabbit.core.state.obj.ObjectPersistenceManager" />
        <SearchIndex
class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
            <param name="path" value="${wsp.home}/index"/>
        </SearchIndex>
    </Workspace>
    <Versioning rootPath="${rep.home}/version">

        <FileSystem class="com.day.jackrabbit.fs.cq.CQFileSystem">
            <param name="path" value="${rep.home}/version/version.dat"/>
            <param name="autoRepair" value="false"/>
            <param name="blockSize" value="64"/>
            <param name="autoSync" value="false"/>
        </FileSystem>

        <PersistenceManager
class="org.apache.jackrabbit.core.state.obj.ObjectPersistenceManager" />
    </Versioning>
</Repository>

ps. i found some way of solution. i'm using node.getIndex() and then
building path. 

> thanks,
> tomek
>

Mime
View raw message