cancel
Showing results for 
Search instead for 
Did you mean: 

Export complete repository failed

unknown-user
Champ on-the-rise
Champ on-the-rise
Hello,
I installed and use with success a community application (windows environnement version 1.4). I also test export (and import in a new instance) of complete repository with success (2 documents in the base).
After a week of use (5000 documents loaded), I try again to export the complete repository but the system crashs with the following error :



14:33:12,843 ERROR [repo.action.ActionServiceImpl] An error was encountered whilst executing the action 'repository-export'.
org.alfresco.service.cmr.repository.ContentIOException: Failed to copy content from file:
   writer: ContentAccessor[ contentUrl=store://2006/9/18/14/33/d9801e8a-4711-11db-a37e-33bc71bde43f.bin, mimetype=text/xml, size=0, encoding=UTF-8]
   file: F:\Program Files\alfresco-1.4Preview\tomcat\temp\Alfresco\repoExpSystemInfo51418.xml
   at org.alfresco.repo.content.AbstractContentWriter.putContent(AbstractContentWriter.java:434)
   at org.alfresco.repo.exporter.RepositoryExporterComponent.addExportFile(RepositoryExporterComponent.java:211)
   at org.alfresco.repo.exporter.RepositoryExporterComponent.export(RepositoryExporterComponent.java:162)
   at org.alfresco.repo.action.executer.RepositoryExporterActionExecuter.executeImpl(RepositoryExporterActionExecuter.java:61)
   at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:112)
   at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:524)
   at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:456)
   at org.alfresco.repo.action.ActionServiceImpl.executeAction(ActionServiceImpl.java:383)
   at org.alfresco.repo.action.ActionServiceImpl.executeAction(ActionServiceImpl.java:371)
   at org.alfresco.repo.action.ActionServiceImpl.executeAction(ActionServiceImpl.java:532)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
   at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:116)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:32)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:41)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.alfresco.repo.audit.AuditComponentImpl.auditImpl(AuditComponentImpl.java:193)
   at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:142)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:61)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
   at $Proxy19.executeAction(Unknown Source)
   at org.alfresco.web.bean.ExportBean.export(ExportBean.java:113)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129)
   at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
   at javax.faces.component.UICommand.broadcast(UICommand.java:106)
   at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
   at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
   at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316)
   at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
   at javax.faces.webapp.FacesServlet.service(FacesServlet.java:105)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:73)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
   at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.FileNotFoundException: F:\Program Files\alfresco-1.4Preview\tomcat\temp\Alfresco\repoExpSystemInfo51418.xml (Le fichier sp?cifi? est introuvable)
   at java.io.FileInputStream.open(Native Method)
   at java.io.FileInputStream.<init>(FileInputStream.java:106)
   at org.alfresco.repo.content.AbstractContentWriter.putContent(AbstractContentWriter.java:428)
   … 60 more

Thank you for help
Kind regards,
Marc.
2 REPLIES 2

jmliege
Champ in-the-making
Champ in-the-making
Hi,

it seems that the export is trying to copy the content of an empty document (size=0) and it crashes.

Check out the content of the document with the uuid : (node_uuid property) "d9801e8a-4711-11db-a37e-33bc71bde43f"

You have then many choice to correct this.
Set some data, or delete it (do not forget to purge your deleted items…you may experience the same problem for the archive export file…)

An empty document shouldn't be a problem, but at least, if you can bypass this annoying error…


JMarc

steve
Champ in-the-making
Champ in-the-making
Hello,

This issue has been raised in Jira: http://issues.alfresco.com/browse/AR-1071

Steve