You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Suganthi Manoharan <su...@gmail.com> on 2010/05/31 08:58:43 UTC

Jackrabbit Clustering in File System

I am trying to configure Jackrabbit(deployed in Tomcat) in a clustered
mode (Between Node A and Node B) in file system .I followed the
instructions in http://wiki.apache.org/jackrabbit/Clustering . Both
the repositories start successfully with no lock issue.
However if I upload a file in Node A its not visible in Node B.I have
the following logs in Node B. It looks like both the clustered
nodes are not in sync. I have attached both the repository.xml files.

I have the following logs in Node B.

2010-05-28 09:53:01,223 [ClusterNode-portal] INFO
org.apache.jackrabbit.core.cluster.ClusterNode Processing revision:
1838
2010-05-28 09:53:01,551 [ClusterNode-portal] INFO
org.apache.jackrabbit.core.SearchManager Node no longer available
55f98916-1565-426d-9f82-2c7a754d83d9, skipped.
2010-05-28 09:53:01,613 [ClusterNode-portal] INFO
org.apache.jackrabbit.core.journal.AbstractJournal Synchronized to
revision: 1838
2010-05-28 09:53:01,645 [ClusterNode-portal] INFO
org.apache.jackrabbit.core.cluster.ClusterNode Processing revision:
2996

Re: Jackrabbit Clustering in File System

Posted by Alexander Klimetschek <ak...@day.com>.
Hi,

you can't use clustering with a file system persistence manager. Read
the wiki page carefully:

"The file system based persistence managers in Jackrabbit are not
transactional and don't support concurrent access;"

Regards,
Alex

On Mon, May 31, 2010 at 08:58, Suganthi Manoharan
<su...@gmail.com> wrote:
> I am trying to configure Jackrabbit(deployed in Tomcat) in a clustered
> mode (Between Node A and Node B) in file system .I followed the
> instructions in http://wiki.apache.org/jackrabbit/Clustering . Both
> the repositories start successfully with no lock issue.
> However if I upload a file in Node A its not visible in Node B.I have
> the following logs in Node B. It looks like both the clustered
> nodes are not in sync. I have attached both the repository.xml files.
>
> I have the following logs in Node B.
>
> 2010-05-28 09:53:01,223 [ClusterNode-portal] INFO
> org.apache.jackrabbit.core.cluster.ClusterNode Processing revision:
> 1838
> 2010-05-28 09:53:01,551 [ClusterNode-portal] INFO
> org.apache.jackrabbit.core.SearchManager Node no longer available
> 55f98916-1565-426d-9f82-2c7a754d83d9, skipped.
> 2010-05-28 09:53:01,613 [ClusterNode-portal] INFO
> org.apache.jackrabbit.core.journal.AbstractJournal Synchronized to
> revision: 1838
> 2010-05-28 09:53:01,645 [ClusterNode-portal] INFO
> org.apache.jackrabbit.core.cluster.ClusterNode Processing revision:
> 2996
>



-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Re: Jackrabbit Clustering in File System

Posted by Suganthi Manoharan <su...@gmail.com>.
Hi All,
Thanks for the reply. I am now using "BundleDbPersistenceManager"
along with File Data Store. This works fine in a clustered
environment.


On Mon, May 31, 2010 at 12:41 PM, Thomas Müller <th...@day.com> wrote:
> Hi,
>
> It looks like you are using BundleFsPersistenceManager. This
> persistence manager is not supported.
>
> Also, the persistence needs to be shared for all cluster nodes. See
> also: http://wiki.apache.org/jackrabbit/Clustering#Persistence_Manager_Configuration
>
> Regards,
> Thomas
>
>
> On Mon, May 31, 2010 at 8:58 AM, Suganthi Manoharan
> <su...@gmail.com> wrote:
>> I am trying to configure Jackrabbit(deployed in Tomcat) in a clustered
>> mode (Between Node A and Node B) in file system .I followed the
>> instructions in http://wiki.apache.org/jackrabbit/Clustering . Both
>> the repositories start successfully with no lock issue.
>> However if I upload a file in Node A its not visible in Node B.I have
>> the following logs in Node B. It looks like both the clustered
>> nodes are not in sync. I have attached both the repository.xml files.
>>
>> I have the following logs in Node B.
>>
>> 2010-05-28 09:53:01,223 [ClusterNode-portal] INFO
>> org.apache.jackrabbit.core.cluster.ClusterNode Processing revision:
>> 1838
>> 2010-05-28 09:53:01,551 [ClusterNode-portal] INFO
>> org.apache.jackrabbit.core.SearchManager Node no longer available
>> 55f98916-1565-426d-9f82-2c7a754d83d9, skipped.
>> 2010-05-28 09:53:01,613 [ClusterNode-portal] INFO
>> org.apache.jackrabbit.core.journal.AbstractJournal Synchronized to
>> revision: 1838
>> 2010-05-28 09:53:01,645 [ClusterNode-portal] INFO
>> org.apache.jackrabbit.core.cluster.ClusterNode Processing revision:
>> 2996
>>
>

Re: Jackrabbit Clustering in File System

Posted by Thomas Müller <th...@day.com>.
Hi,

It looks like you are using BundleFsPersistenceManager. This
persistence manager is not supported.

Also, the persistence needs to be shared for all cluster nodes. See
also: http://wiki.apache.org/jackrabbit/Clustering#Persistence_Manager_Configuration

Regards,
Thomas


On Mon, May 31, 2010 at 8:58 AM, Suganthi Manoharan
<su...@gmail.com> wrote:
> I am trying to configure Jackrabbit(deployed in Tomcat) in a clustered
> mode (Between Node A and Node B) in file system .I followed the
> instructions in http://wiki.apache.org/jackrabbit/Clustering . Both
> the repositories start successfully with no lock issue.
> However if I upload a file in Node A its not visible in Node B.I have
> the following logs in Node B. It looks like both the clustered
> nodes are not in sync. I have attached both the repository.xml files.
>
> I have the following logs in Node B.
>
> 2010-05-28 09:53:01,223 [ClusterNode-portal] INFO
> org.apache.jackrabbit.core.cluster.ClusterNode Processing revision:
> 1838
> 2010-05-28 09:53:01,551 [ClusterNode-portal] INFO
> org.apache.jackrabbit.core.SearchManager Node no longer available
> 55f98916-1565-426d-9f82-2c7a754d83d9, skipped.
> 2010-05-28 09:53:01,613 [ClusterNode-portal] INFO
> org.apache.jackrabbit.core.journal.AbstractJournal Synchronized to
> revision: 1838
> 2010-05-28 09:53:01,645 [ClusterNode-portal] INFO
> org.apache.jackrabbit.core.cluster.ClusterNode Processing revision:
> 2996
>