List Info

Thread: Is ClusterCacheRefresher Production Quality? Doesn't seem to be...




Is ClusterCacheRefresher Production Quality? Doesn't seem to be...
user name
2006-05-26 17:00:16
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

Is ClusterCacheRefresher Production Quality? Doesn't seem to be...
user name
2006-05-30 14:21:28
bump, anyone?


----- Original Message ----
From: Julian <cerebro70yahoo.com>
To: Slide Users Mailing List <slide-userjakarta.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




Is ClusterCacheRefresher Production Quality? Doesn't seem to be...
user name
2006-06-14 23:08:25
one last bump...

----- Original Message ----
To: Slide Users Mailing List <slide-userjakarta.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>
                
            </store>
            <scope match="/"
store="tx"/>
        </definition> .......


Thanks,
Julian





[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )