AnsweredAssumed Answered

Export tool does not work

Question asked by drndivoje on Jun 22, 2010
Latest reply on Jan 26, 2011 by dc_noze
I execute simple command for export
 export -user admin -pwd admin -s workspace://SpacesStore -verbose Intranet.acp
And export operation can not be finish. I got exception.
The following error has occurred:05220000 Access Denied.  You do not have the appropriate permissions to perform this operation.
org.alfresco.repo.security.permissions.AccessDeniedException: 05220000 Access Denied.  You do not have the appropriate permissions to perform this operation.
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:47)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:135)
   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 $Proxy6.getPath(Unknown Source)
   at org.alfresco.repo.exporter.ViewXMLExporter.createPath(ViewXMLExporter.java:811)
   at org.alfresco.repo.exporter.ViewXMLExporter.value(ViewXMLExporter.java:560)
   at org.alfresco.repo.exporter.URLExporter.value(URLExporter.java:212)
   at org.alfresco.repo.exporter.ChainedExporter.value(ChainedExporter.java:268)
   at org.alfresco.repo.exporter.ExporterComponent$DefaultCrawler.walkProperty(ExporterComponent.java:612)
   at org.alfresco.repo.exporter.ExporterComponent$DefaultCrawler.walkNode(ExporterComponent.java:486)
   at org.alfresco.repo.exporter.ExporterComponent$DefaultCrawler.walkNode(ExporterComponent.java:547)
   at org.alfresco.repo.exporter.ExporterComponent$DefaultCrawler.walkNode(ExporterComponent.java:547)
   at org.alfresco.repo.exporter.ExporterComponent$DefaultCrawler.walkNode(ExporterComponent.java:547)
   at org.alfresco.repo.exporter.ExporterComponent$DefaultCrawler.walkNode(ExporterComponent.java:547)
   at org.alfresco.repo.exporter.ExporterComponent$DefaultCrawler.walkNode(ExporterComponent.java:547)
   at org.alfresco.repo.exporter.ExporterComponent$DefaultCrawler.walkNode(ExporterComponent.java:547)
   at org.alfresco.repo.exporter.ExporterComponent$DefaultCrawler.export(ExporterComponent.java:291)
   at org.alfresco.repo.exporter.ExporterComponent.exportView(ExporterComponent.java:206)
   at org.alfresco.repo.exporter.ExporterComponent.exportView(ExporterComponent.java:191)
   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:597)
   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.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:135)
   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 $Proxy83.exportView(Unknown Source)
   at org.alfresco.tools.Export.execute(Export.java:241)
   at org.alfresco.tools.Tool.start(Tool.java:226)
   at org.alfresco.tools.Export.main(Export.java:60)
Caused by: net.sf.acegisecurity.AccessDeniedException: Access is denied.
   at net.sf.acegisecurity.vote.AffirmativeBased.decide(AffirmativeBased.java:86)
   at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:394)
   at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:77)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:43)
   … 38 more
What permission I need to set to administrator to execute export command?
Is this bug?
Please need help!

Outcomes