Hi. I'm trying to replicate one Alfresco Community 4.0d installation from one site to another, but I'm having problems configuring it (and finding documentation).Both sites have only the default content, except the source node which contains a test site too (it should be replicated on the other).I did the following:- Added "replication.enabled=true" in alfresco-global.properties (both alfresco instances)- Defined a "primaryStore" pointing to /app/alfresco-4.0.d/alf_data/contentstore in replicating-content-services-context.xml (source node only)- Added share url in the source alfresco with those contents in share-config-custom.xml: (source node only) …
<config evaluator="string-compare" condition="Replication">
…
<share-url repositoryId="remote_alfresco_ID_obtained_from_CMIS_info">http://remote_target_alfresco/share/</share-url>
…
- Created new folder under Repository / Data Dictionary / Transfers / Transfer Targets / Default group, pointing to the target alfresco (source node only)- Created a new replicating job In Admin Tools / Replication Jobs, targeting the previous folder (source node only)When I click on 'Run Job', I got this exception on the target node:2012-04-23 09:59:39,844 ERROR [repo.transaction.AlfrescoTransactionSupport] [defaultAsyncAction1] After completion (rolled-back) listener exception:
listener: org.alfresco.repo.transfer.TransferCommitTransactionListener@12731ffa
java.lang.NullPointerException
at org.alfresco.repo.content.replication.ReplicatingContentStore$ReplicatingWriteListener$ReplicateOnCloseRunnable.run(ReplicatingContentStore.java:437)
at org.alfresco.repo.content.replication.ReplicatingContentStore$ReplicatingWriteListener.contentStreamClosedImpl(ReplicatingContentStore.java:420)
…
…
2012-04-23 09:59:39,849 ERROR [content.cleanup.EagerContentStoreCleaner] [defaultAsyncAction1] Content deletion failed:
URL: store://2012/4/23/9/59/32128378-02b2-40e6-889b-0c66f91b4bf9.bin
Source: org.alfresco.repo.content.replication.ReplicatingContentStore@399e2cb3
java.lang.NullPointerException
at org.alfresco.repo.content.replication.ReplicatingContentStore.delete(ReplicatingContentStore.java:344)
at org.alfresco.repo.content.cleanup.EagerContentStoreCleaner.deleteFromStore(EagerContentStoreCleaner.java:306)
…
…
2012-04-23 09:59:40,051 ERROR [repo.action.AsynchronousActionExecutionQueueImpl] [defaultAsyncAction1] Failed to execute asynchronous action: Action[ id=ee84bb62-6d7a-4715-b87a-757f77dc0b9d, node=null ]
org.alfresco.repo.transfer.TransferFatalException: 03230004 An error has occurred while trying to commit transfer {0}
at org.alfresco.repo.transfer.AbstractManifestProcessorBase.handleException(AbstractManifestProcessorBase.java:224)
…
Caused by: java.lang.NullPointerException
at org.alfresco.repo.content.replication.ReplicatingContentStore$ReplicatingWriteListener$ReplicateOnCloseRunnable.run(ReplicatingContentStore.java:437)
I couldn't find any doc. or example about configuring it from the start.Could anybody help?Thanks.