cancel
Showing results for 
Search instead for 
Did you mean: 

Import of .ACP file

florent53
Champ in-the-making
Champ in-the-making
Hello everybody,

I want to import some files with a CSV file. And i have tow question about Importation with .ACP file .



first question
:

- I try to use ACPGeneratr (http://forge.alfresco.com/projects/acpgeneratr/).

But I don't know how using it … I can't do the exemple sucessfully…
Somebody has do the exemple or another import with ACPGeneratr sucessfully?
If yes, can you explain me (or having a tutoriel.. not the readme of ACPGeneratr )?


second question :


I can't import a .ACP file after this manipulation:

- I make an .ACP, with export of alfresco (web-client). (NB: if i import this file, the import is ok)
- I change extension .acp into .zip and i unzip it.
- Then i zip this folder and change extension .zip into .acp

But when i import this last  .acp file,  alfresco import the .acp file and not inside files (it's a real probleme). And there is a bug in the Alfresco  Log :

18:20:13,293 ERROR [org.alfresco.repo.action.ActionServiceImpl] An error was encountered whilst executing the action 'import'.
org.alfresco.service.cmr.view.ImporterException: Failed to find xml meta-data file within .acp package
   at org.alfresco.repo.importer.ACPImportPackageHandler.getDataStream(ACPImportPackageHandler.java:114)
   at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComponent.java:220)
   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:210)
   at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:156)
   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 $Proxy53.importView(Unknown Source)
   at org.alfresco.repo.action.executer.ImporterActionExecuter.executeImpl(ImporterActionExecuter.java:121)
   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.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.doWork(AsynchronousActionExecutionQueueImpl.java:296)
   at org.alfresco.repo.transaction.TransactionUtil.executeInTransaction(TransactionUtil.java:168)
   at org.alfresco.repo.transaction.TransactionUtil.executeInNonPropagatingUserTransaction(TransactionUtil.java:108)
   at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:286)
   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)


Have you an idea ?

Thanks,

—————————
florent
1 REPLY 1

kevinr
Star Contributor
Star Contributor
I have replied to your identical post elsewhere - please only post your question once.

Thanks,

Kevin