AnsweredAssumed Answered

Complete Repository Export - Failed to zip export stream

Question asked by psawicki on Sep 24, 2008
Hi everyone,
I am a sysadmin trying to export complete ropository from Alfresco1.4 using jkd 1.5.0_06 and DB2.
The idea is to restore that export via bootstrap to alfresco 2.1 using jkd 1.5.0_06 and  MySQL database.
After that we want to get rid of DB2 from our network altogether.
The problem I have is that whenever I try to export the entire repository (that also happens whe I try to export some spaces from Cpompany Home but that does not happen to all of them) the export process fails with the error: "Failed to zip export stream"
Does anyone have any idea how I could troubleshoot my problem or how to even approach the problem?
Should I try different version of jdk? Could it possibly break the production system(changing jdk version I mean)?

Here is the stacktrace:
org.alfresco.service.cmr.view.ExporterException: Failed to zip export stream
        at org.alfresco.repo.exporter.ACPExportPackageHandler.exportContent(ACPExportPackageHandler.java:196)
        at org.alfresco.repo.exporter.URLExporter.content(URLExporter.java:226)
        at org.alfresco.repo.exporter.ChainedExporter.content(ChainedExporter.java:284)
        at org.alfresco.repo.exporter.ExporterComponent$DefaultCrawler.walkProperty(ExporterComponent.java:560)
        at org.alfresco.repo.exporter.ExporterComponent$DefaultCrawler.walkNode(ExporterComponent.java:437)
        at org.alfresco.repo.exporter.ExporterComponent$DefaultCrawler.walkNode(ExporterComponent.java:469)
        at org.alfresco.repo.exporter.ExporterComponent$DefaultCrawler.walkNode(ExporterComponent.java:469)
        at org.alfresco.repo.exporter.ExporterComponent$DefaultCrawler.walkNode(ExporterComponent.java:469)
        at org.alfresco.repo.exporter.ExporterComponent$DefaultCrawler.walkNode(ExporterComponent.java:469)
        at org.alfresco.repo.exporter.ExporterComponent$DefaultCrawler.walkNode(ExporterComponent.java:469)
        at org.alfresco.repo.exporter.ExporterComponent$DefaultCrawler.walkNode(ExporterComponent.java:469)
        at org.alfresco.repo.exporter.ExporterComponent$DefaultCrawler.export(ExporterComponent.java:278)
        at org.alfresco.repo.exporter.ExporterComponent.exportView(ExporterComponent.java:205)
        at org.alfresco.repo.exporter.ExporterComponent.exportView(ExporterComponent.java:190)
        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.audit.AuditComponentImpl.auditImpl(AuditComponentImpl.java:219)
        at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:165)
        at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)
        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 $Proxy53.exportView(Unknown Source)
        at org.alfresco.repo.exporter.RepositoryExporterComponent$TempFileExporter.exportStore(RepositoryExporterComponent.java:352)
        at org.alfresco.repo.exporter.RepositoryExporterComponent$TempFileExporter.exportStore(RepositoryExporterComponent.java:331)
        at org.alfresco.repo.exporter.RepositoryExporterComponent.exportStores(RepositoryExporterComponent.java:297)
        at org.alfresco.repo.exporter.RepositoryExporterComponent.export(RepositoryExporterComponent.java:153)
        at org.alfresco.repo.action.executer.RepositoryExporterActionExecuter.executeImpl(RepositoryExporterActionExecuter.java:69)
        at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:120)
        at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:537)
        at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:472)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.doWork(AsynchronousActionExecutionQueueImpl.java:304)
        at org.alfresco.repo.transaction.TransactionUtil.executeInTransaction(TransactionUtil.java:176)
        at org.alfresco.repo.transaction.TransactionUtil.executeInNonPropagatingUserTransaction(TransactionUtil.java:116)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:294)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.IOException: Input/output error
        at sun.nio.ch.FileDispatcher.read0(Native Method)
        at sun.nio.ch.FileDispatcher.read(FileDispatcher.java:26)
        at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233)
        at sun.nio.ch.IOUtil.read(IOUtil.java:206)
        at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:145)
        at org.alfresco.repo.content.AbstractContentAccessor$CallbackFileChannel.read(AbstractContentAccessor.java:445)
        at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:48)
        at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:92)
        at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:86)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:254)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
        at org.alfresco.repo.exporter.ACPExportPackageHandler.copyStream(ACPExportPackageHandler.java:262)
        at org.alfresco.repo.exporter.ACPExportPackageHandler.exportContent(ACPExportPackageHandler.java:192)
        … 45 more

Outcomes