Hola
Tengo dos repositorios de Alfresco v 3.4.0 (d 3370) una para DEV y PRE.
Paso 1. Dentro Alfresco PRE en companyhome/registros/ tenemos muchas folder o spaces (alrededor de 100000)
/Registros/R2014-0199999
/Registros/R2015-00001211
/Registros/R2016-01121211
Se reorganizarón todas la folders usando una Regla de Contenido (Rule Content) para mover a la carpeta de su año respectivo.
/Registros/2014/R2014-0000001. R2014-99999999
/Registros/2014/R2015-0000001. R2015-99999999
/Registros/2014/R2016-0000001. R2016-99999999
Paso 2. Trabajo de Replicación (Transfer Service) para transferir de Alfresco PRE a Alfresco DEV
Creo un trabajo de replicación para transferir "/Registros/2015". El proceso se ejecuta correctamente pero no transfiere nada. Y antes si transferia las carpetas directamente /Registros/R2014-0199999 lo hace correctamente.
¿Me podeis indicar algún indicio de que puede estar pasando?
Muchas gracias
Creo que la mejor información para este servicio está disponible en Transfer Service
A priori es difícil saber qué está pasando, ¿has probado a activar la traza de DEBUG para el Transfer Service (org.alfresco.repo.transfer)? Quizá eso pueda aportar más información de diagnóstico.
Hola Angel
Decidi borrar la carpeta de destino la carpeta de destino.
Ahora me sale, el siguiente error "03050156 Unable to transfer, orphans exist"
1. ¿Cómo detecto si tengo nodos huerfanos?
2. ¿Cómo puedo eliminarlos?
Muchas gracias
No conozco una manera sencilla de hacerlo, puedes probar con esto: http://docs.alfresco.com/5.0/concepts/clean-content.html
He configurado en modo DEBUG los logs, pero Alfresco no dice nada de que nodo es el que esta huerfano.
13:22:52,125 DEBUG [org.alfresco.repo.transfer.TransferServiceImpl2] content sending finished
13:22:52,156 DEBUG [org.alfresco.repo.transfer.TransferServiceImpl2] about to start committing transferId:workspace://SpacesStore/10b98675-34b9-462a-84b8-5c1bf4d4d278
13:22:52,265 DEBUG [org.alfresco.repo.transfer.TransferServiceImpl2] committing transferId:workspace://SpacesStore/10b98675-34b9-462a-84b8-5c1bf4d4d278
13:22:52,328 DEBUG [org.alfresco.repo.transfer.TransferServiceImpl2] committing :88
13:22:54,390 DEBUG [org.alfresco.repo.transfer.TransferServiceImpl2] committing :120
13:22:56,437 DEBUG [org.alfresco.repo.transfer.TransferServiceImpl2] committing :160
13:22:58,499 DEBUG [org.alfresco.repo.transfer.TransferServiceImpl2] committing :260
13:23:00,546 DEBUG [org.alfresco.repo.transfer.TransferServiceImpl2] TransferException - unable to transfer
org.alfresco.repo.transfer.TransferProcessingException: 03060224 Unable to transfer, orphans exist
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at org.alfresco.util.json.ExceptionJsonSerializer.deserialize(ExceptionJsonSerializer.java:92)
at org.alfresco.util.json.ExceptionJsonSerializer.deserialize(ExceptionJsonSerializer.java:34)
at org.alfresco.repo.transfer.HttpClientTransmitterImpl.rehydrateError(HttpClientTransmitterImpl.java:687)
at org.alfresco.repo.transfer.HttpClientTransmitterImpl.getStatus(HttpClientTransmitterImpl.java:561)
at org.alfresco.repo.transfer.TransferServiceImpl2.transferImpl(TransferServiceImpl2.java:654)
at org.alfresco.repo.transfer.TransferServiceImpl2.transfer(TransferServiceImpl2.java:530)
at org.alfresco.repo.transfer.TransferServiceImpl2.transfer(TransferServiceImpl2.java:505)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:34)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:44)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.audit.AuditMethodInterceptor.proceed(AuditMethodInterceptor.java:178)
at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:137)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy105.transfer(Unknown Source)
at org.alfresco.repo.replication.ReplicationActionExecutor.executeImpl(ReplicationActionExecutor.java:283)
at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:133)
at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:749)
at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:675)
at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1$1.execute(AsynchronousActionExecutionQueueImpl.java:443)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:381)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:253)
at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.doWork(AsynchronousActionExecutionQueueImpl.java:452)
at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:508)
at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:455)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
13:23:00,546 DEBUG [org.alfresco.repo.transfer.TransferServiceImpl2] now pull back the destination transfer report
El problema se origina en esta clase: https://github.com/Alfresco/community-edition-old/blob/master/projects/repository/source/java/org/al...
Pero no tengo claro por qué no están apareciendo los logs, aparentemente es también del paquete org.alfresco.repo.transfer
Discussions about Alfresco Content Services and Alfresco Process Services in Spanish
Related:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.