10-31-2006 01:34 PM
…
<bean id="contentService" class="org.alfresco.repo.content.RoutingContentService" init-method="init">
<property name="transactionService">
<ref bean="transactionComponent" />
</property>
<property name="dictionaryService">
<ref bean="dictionaryService" />
</property>
<property name="nodeService">
<ref bean="nodeService" />
</property>
<property name="transformerRegistry">
<ref bean="contentTransformerRegistry" />
</property>
<property name="store">
<ref bean="replicatingContentStore" />
</property>
<property name="policyComponent">
<ref bean="policyComponent" />
</property>
</bean>
…
replicating-content-services-context.xml<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!–
This file is not included in the application context by default.
If you include this file, please ensure that you review the sample
beans contained here.
–>
<bean id="backupContentStore"
class="org.alfresco.repo.content.filestore.FileContentStore">
<constructor-arg>
<value>alf_bkup_store/backups/alfresco</value>
</constructor-arg>
</bean>
<bean id="replicatingContentStore"
class="org.alfresco.repo.content.replication.ReplicatingContentStore" >
<!– the preferred store for reads and writes –>
<property name="primaryStore">
<ref bean="fileContentStore" />
</property>
<!– example of possible secondary store configuration –>
<property name="secondaryStores">
<list>
<ref bean="backupContentStore" />
</list>
</property>
<!– enable content missing from the primary store to be pulled in from the secondary stores –>
<property name="inbound">
<value>true</value>
</property>
<!– enable replication from the primary to the secondary stores –>
<property name="outbound">
<value>true</value>
</property>
<!– this is required if outbound replication is active, otherwise not –>
<property name="transactionService">
<ref bean="transactionComponent" />
</property>
<!– set this to force outbound replication to be asynchronous –>
<property name="outboundThreadPoolExecutor">
<ref bean="threadPoolExecutor" />
</property>
</bean>
</beans>
Secondary Alfresco configuration is the same as the Primary.The node's content is missing:
node: workspace://SpacesStore/d34a41ce-690a-11db-bc00-f55e839525e8
reader: ContentAccessor[ contentUrl=store://2006/10/31/13/9/02780c00-690b-11db-bc00-f55e839525e8.bin, mimetype=text/plain, size=0, encoding=UTF-8]
Please contact your system administrator.
10-31-2006 02:52 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.