AnsweredAssumed Answered

replication job between two alfresco

Question asked by .jan on Feb 24, 2015
Latest reply on Feb 25, 2015 by juraj
Hi,

I am trying replications from one alfresco to another running on different devices.(community edition)

On both i set replication.enabled=true in alfresco-global.properties

Settings on device A:

in Repository>Data Dictionary>Transfers>Transfer Target Groups>Default Group i make new folder named "Mirror" and change type to File Transfer Target and set:

Endpoint Host:
192.168.12.51
Endpoint Port:
8080
Endpoint Path:
/alfresco/service/api/transfer
Endpoint Protocol:
http
Username:
admin
Password:
admin
checkbox: Enabled
Set root folder:
ABC

Then i set new Replication Job:

Source Items:
ABC
Transfer to:
"Mirror"
Other Options:
Enabled

Settings on device B:

in \tomcat\shared\classes\alfresco\web-extension\share-config-custom.xml


<share-url repositoryId="c57819f1-2c66-4113-98fe-f4276c488cc7">http://192.168.12.50:8080/share/</share-url>

After i run replication Job on device A:


<?xml version="1.0" encoding="UTF-8"?>
<report:transferReport xmlns:report="http://www.alfresco.org/model/transferReport/2.0">
<report:target name="Transfer_" endpointHost="192.168.12.51" endpointPort="135"></report:target>
<report:definition isReadOnly="false" isSync="true" numberOfNodes="13"></report:definition>
<report:exception type="org.alfresco.service.cmr.transfer.TransferException" message="01240017 Failed to execute HTTP request begin to target: TransferTarget: Transfer_,host:192.168.12.51,port:135 status: java.net.ConnectException: Connection timed out: connect">
</report:exception> <report:events> <report:eventStartState date="2015-02-24T13:50:23.585+01:00" state="START">
Enter State: START</report:eventStartState>
<report:eventError date="2015-02-24T13:51:47.823+01:00">
01240017 Failed to execute HTTP request begin to target: TransferTarget: Transfer_,host:192.168.12.51,port:135 status: java.net.ConnectException: Connection timed out: connect
</report:eventError> </report:events> </report:transferReport>


But if i try send to FTR (File trnasfer receiver (jar file running)) running on device B (same settings only port change to 9090) job run without error.

Outcomes