Greetings,
We receive a boatload of documents from different sources, and have to package them together. Adobe Assembler service seemed the obvious choice, but we've run into one problem in particular.
Many of the documents we receive have Read Only security that is password protected. When I try to run those through Assembler, it fails and I receive the error message further below in the logs.
Notice, it says Package operation failed due to permissions for PDF document "0"
We don't have access to these passwords and never will, so what can I do?? Do I have to use a third-party tool to package documents that have read-only permissions? Because previously we were able to package these just fine with a third party PDF Creator. We don't plan to modify anything in the document... just need to package a bunch of them together. Any suggestions??
Any suggestions or advice is much appreciated,
Thanks!!
GS
2009-12-11 11:15:29,308 ERROR [com.adobe.livecycle.assembler.AssemblerServiceImpl] ALC-ASM-S00-002: Failed to execute the DDX - error messages provided.
com.adobe.livecycle.assembler.client.ProcessingException: ALC-ASM-S00-002: Failed to execute the DDX - error messages provided.
at com.adobe.livecycle.assembler.AssemblerServiceImpl.makeResult(Assembl erServiceI mpl.java:828)
at com.adobe.livecycle.assembler.AssemblerServiceImpl.execute(AssemblerS erviceImpl .java:467)
at com.adobe.livecycle.assembler.AssemblerServiceImpl.invoke(AssemblerSe rviceImpl. java:408)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.ja va:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(Defaul tPOJOInvok erImpl.java:118)
at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(In vocationIn terceptor.java:140)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.procee d(RequestI nterceptorChainImpl.java:60)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.do InTransact ion(TransactionInterceptor.java:74)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapt erBean.exe cute(EjbTransactionCMTAdapterBean.java:342)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapt erBean.doS upports(EjbTransactionCMTAdapterBean.java:212)
at sun.reflect.GeneratedMethodAccessor298.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.ja va:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(S tatelessSe ssionContainer.java:214)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo ke(CachedC onnectionInterceptor.java:149)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(Stat elessSessi onInstanceInterceptor.java:154)
at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(Service EndpointIn terceptor.java:54)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidation Intercepto r.java:48)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte rceptor.ja va:106)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep torCMT.jav a:363)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1 66)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor. java:153)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto ryFinderIn terceptor.java:122)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:6 24)
at org.jboss.ejb.Container.invoke(Container.java:873)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalPro xyFactory. java:415)
at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSes sionProxy. java:88)
at $Proxy165.doSupports(Unknown Source)
at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute (EjbTransa ctionProvider.java:104)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.inte rcept(Tran sactionInterceptor.java:72)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.procee d(RequestI nterceptorChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.inte rcept(Invo cationStrategyInterceptor.java:55)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.procee d(RequestI nterceptorChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept( InvalidSta teInterceptor.java:37)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.procee d(RequestI nterceptorChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept (Authoriza tionInterceptor.java:102)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.procee d(RequestI nterceptorChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterc eptor.java :48)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.procee d(RequestI nterceptorChainImpl.java:60)
at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineI mpl.java:1 15)
at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:118)
at com.adobe.idp.dsc.provider.impl.soap.axis.AdobeAxisServiceProvider.in vokeMethod (AdobeAxisServiceProvider.java:222)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider .java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java: 323)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg y.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454 )
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:69 9)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBas e.java:327 )
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFil terChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain .java:173)
at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter(I nvocationF ilter.java:43)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFil terChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain .java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi lter.java: 81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFil terChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain .java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java: 213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java: 178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrinc ipalValve. java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit yAssociati onValve.java:159)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv e.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:10 7)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ssConnecti on(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo int.java:5 27)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor kerThread. java:112)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.adobe.internal.pdfm.assembly.AssemblyException: PDFM_S02013: The "appendDocument" operation failed on "1".
at com.adobe.internal.pdfm.assembly.DocAssembler.appendDocument(DocAssem bler.java: 769)
at com.adobe.internal.pdfm.assembly.DocAssembler.assemble(DocAssembler.j ava:185)
at com.adobe.internal.ddxm.task.pdf.AssemblePDF.execute(AssemblePDF.java :130)
at com.adobe.internal.ddxm.blueprint.BluePrint.execute(BluePrint.java:27 5)
at com.adobe.internal.ddxm.ddx.Node.execute(Node.java:373)
at com.adobe.internal.ddxm.Executive.execute(Executive.java:270)
at com.adobe.internal.ddxm.Executive.execute(Executive.java:221)
at com.adobe.livecycle.assembler.AssemblerServiceImpl.execute(AssemblerS erviceImpl .java:465)
... 78 more
Caused by: com.adobe.internal.pdfm.packagefiles.PackageFilesException: PDFM_S22004: Package operation failed due to permissions for PDF document "0"
at com.adobe.internal.pdfm.packages.PackageService.checkPackageFilesPerm issions(Pa ckageService.java:2777)
at com.adobe.internal.pdfm.packages.PackageService.aggregatePackageSchem aAndDispla yOrder(PackageService.java:1973)
at com.adobe.internal.pdfm.packages.PackageService.aggregatePackage(Pack ageService .java:1629)
at com.adobe.internal.pdfm.assembly.DocAssembler.appendDocument(DocAssem bler.java: 667)
... 85 more
Caused by: com.adobe.internal.pdfm.util.PDFMPermissionException: PDFM_S00014: DOC_MODIFY permission is required for this operation.
at com.adobe.internal.pdfm.util.PDFMPermissionsManager.assertPermitted(P DFMPermiss ionsManager.java:100)
at com.adobe.internal.pdfm.packages.PackageService.checkPackageFilesPerm issions(Pa ckageService.java:2775)
... 88 more