Hi,
On Thu, Oct 28, 2010 at 3:04 PM, Thomas Müller <[email protected]>wrote:
> Hi,
>
> >> Each cluster node needs its own (private) workspace level and version
> >> FileSystem (only those within the workspace and versioning
> configuration;
> >> the ones in the repository.xml and workspace.xml file).
>
> > Does it mean that the stuff under <Versioning> must not reside in the DB?
>
> No, it means each cluster node needs its own FileSystem. That can be a
> DbFileSystem, but it needs to be its own (not a shared one).
>
Good to know. Then I'll go for a simple Derby-Implementation as I see no
advantage in using the shared DB for that one.
> <FileSystem class="org.apache.jackrabbit.core.fs.db.DbFileSystem">
> > <param name="driver" value="org.postgresql.Driver" />
> > <param name="url" value="${jackrabbit.repository.url}" />
> > <param name="user" value="${jackrabbit.repository.user}" />
> > <param name="password"
> value="${jackrabbit.repository.password}"
>
> This is a shared one. Its own (private) means use a different database
> (or schema) for each cluster node, for example:
>
> <FileSystem class="org.apache.jackrabbit.core.fs.db.DbFileSystem">
> <param name="driver" value="org.postgresql.Driver" />
> <param name="url"
> value="${jackrabbit.repository.url}${clusterNodeId}" />
> <param name="user" value="${jackrabbit.repository.user}" />
> <param name="password" value="${jackrabbit.repository.password}"
>
> Node the added "${clusterNodeId}".
>
Is it sufficient to use the default Versioning declaration, as seen in the
default configuration (
http://jackrabbit.apache.org/jackrabbit-configuration.data/repository.xml)?:
<Versioning rootPath="${rep.home}/version">
<FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
<param name="path" value="${rep.home}/version" />
</FileSystem>
<PersistenceManager
class="org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager">
<param name="url"
value="jdbc:derby:${rep.home}/version/db;create=true"/>
<param name="schemaObjectPrefix" value="version_"/>
</PersistenceManager>
</Versioning>
Regards,
Etile