AnsweredAssumed Answered

Replication works only on small file

Question asked by alextave on Jul 17, 2015
Latest reply on Jul 28, 2015 by alextave
Hi everybody, I am studying Alfresco 5 Community Edition and I have problems on replication job.
This is the situation, I have two machines and I want to replicate a folder from source machine to the target one:
-Machine source
    Alfresco works on port 8080

-Machine target
    Alfresco works on port 8180

The replication works fine only with a folder containing a small file of 250KB, if I try to replicate a bigger folder (more than 42MB) the replication fails with this error printed in source machines's log:

<strong>org.alfresco.service.cmr.replication.ReplicationServiceException: 06170030 Errore durante l'esecuzione del trasferimento - 06170028 Impossibile eseguire la richiesta HTTP sendContent per la destinazione:

TransferTarget: Repliche,host:,port:8180 stato: Connection reset by peer: socket write error </strong>

Following there are the configurations I used: on source machine:
replication.enabled=true on target machine:

On source machine I created a folder Repliche in Repository>Data Dictionary>Transfers>Transfer Target Groups>Default Group using this properties:
Host endpoint:
Port endpoint: 8180
Path endpoint: /alfresco/service/api/transfer
Protocol endpoint: http
Username: admin
Password: XXXXXX

On target machine I edited share-config-custom.xml file in this way:

<config evaluator="string-compare" condition="Replication">
    <share-url repositoryId="SOURCE_REPO_ID">http://localhost:8180/share/</share-url>

I think I have told you all the things, so how can i solve this problem?
Any advice is appreciated