bump, anyone?
----- Original Message ----
From: Julian <cerebro70 yahoo.com>
To: Slide Users Mailing List <slide-user jakarta.apache.org>
Sent: Friday, May 26, 2006 1:00:16 PM
Subject: Is ClusterCacheRefresher Production Quality?
Doesn't seem to be...
Hi,
I have set up the ClusterCacheRefresher on two separate
servers in a n-tiered cluster, but the notifcation events
are not always sent out from both servers. I have rebooted
both servers at different times and at the same time, but
they still fail to synchronize or eventually the
notifications fail. I may need to test further to verify if
the startup times has anything to do with it, but I have
tried several scenarios multiple times. Are there known
issues with this component? Here are the two snippets for
the cluster support which work on-and-off. Could it be how
and where I am storing the data?
Server 1:
<listener
classname="org.apache.slide.cluster.ClusterCacheRefres
her">
<configuration>
<node
local-host="10.10.100.41"
local-port="4444"
repository-host="10.10.100.40"
repository-port="8080"
repository-protocol="http"
username="root"
password="root"
base-uri="/Home"
/>
</configuration>
</listener>
-------------------------------------
Server 2:
<listener
classname="org.apache.slide.cluster.ClusterCacheRefres
her">
<configuration>
<node
local-host="10.10.100.40"
local-port="4445"
repository-host="10.10.100.41"
repository-port="8080"
repository-protocol="http"
username="root"
password="root"
base-uri="/Home"
/>
</configuration>
</listener>
------------------------------
Home is a custom path where I store the files (akin to the
default /files directory). Both are setup with the db
storing the metadata and a shared NFS resource for the files
(iow both store to the same directory on a NFS share). Here
is the begining of the Domain.xml:
<namespace name="slide">
<definition>
<store name="tx">
<parameter
name="tlock-timeout">120</parameter>
<nodestore
classname="org.apache.slide.store.i
mpl.rdbms.J2EEStore">
<parameter
name="adapter">org.apache.slide.s
tore.impl.rdbms.PostgresRDBMSAdapter</parameter>
<parameter
name="datasource">jdbc/docman</pa
rameter>
<parameter
name="compress">false</parameter>
</nodestore>
<securitystore>
<reference
store="nodestore"/>
</securitystore>
<lockstore>
<reference
store="nodestore"/>
</lockstore>
<revisiondescriptorsstore>
<reference
store="nodestore"/>
</revisiondescriptorsstore>
<revisiondescriptorstore>
<reference
store="nodestore"/>
</revisiondescriptorstore>
<contentstore
classname="org.apache.slide.store.txfile.TxFileCon
tentStore">
<parameter
name="rootpath">/nfsshare/DocManagement/FileC
onte
nt/store</parameter>
<parameter
name="workpath">/nfsshare/DocManagement/FileC
onte
nt/work</parameter>
<parameter
name="defer-saving">true</parameter>
<parameter
name="timeout">120</parameter>
</contentstore>
<!-- uncomment if you want to use the
sample Indexer -->
<!-- be sure to have Lucene in your
classpath -->
<!--
<contentindexer
classname="org.apache.slide.index.SampleTxtConta
insIndexer">
<parameter
name="indexpath">./index</parameter>
</contentindexer>
-->
</store>
<scope match="/"
store="tx"/>
</definition> .......
Thanks,
Julian
|