Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Assembler - Failed to copy from file exception

Avatar

Former Community Member
Hi,<br /><br />I am getting the following error when trying to carry out a PDF merge operation using Adobe LiveCycle Assembler<br /><br />Assembler 7 operation exception: <br />com.adobe.service.pdfm.client.OperationException: com.adobe.idp.DocumentError: Failed to copy from file "L:\temp\AdobeDocumentStorage\global\removeOn2007Y04M17D14h26m38s.1176834398000\7181417187061280174" to file "L:\temp\AdobeDocumentStorage\global\removeOn2007Y04M17D14h26m38s.1176834398000\6971551728348082697" <br /> at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108) <br /> at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:290) <br /> at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:247) <br /> at com.adobe.service.pdfm.Assembler7_2a0g3c_EOImpl_814_WLStub.invoke(Unknown Source) <br /> at adobelcconnector.AdobeLcConnectorMain.<init>(AdobeLcConnectorMain.java:92) <br /> at adobelcconnector.AdobeLcConnectorMain.main(AdobeLcConnectorMain.java:158) <br />Caused by: com.adobe.service.pdfm.client.OperationException: com.adobe.idp.DocumentError: Failed to copy from file "L:\temp\AdobeDocumentStorage\global\removeOn2007Y04M17D14h26m38s.1176834398000\7181417187061280174" to file "L:\temp\AdobeDocumentStorage\global\removeOn2007Y04M17D14h26m38s.1176834398000\6971551728348082697" <br /> at com.adobe.idp.DocumentFileUtil.copy(DocumentFileBackend.java:418) <br /> at com.adobe.idp.DocumentFileBackend.copy(DocumentFileBackend.java:175) <br /> at com.adobe.idp.Document.passivate(Document.java:611) <br /> at com.adobe.idp.Document.passivate(Document.java:580) <br /> at com.adobe.idp.Document.length(Document.java:770) <br /> at com.adobe.service.pdfm.AssemblerEJB.convertIDP2DDXMDocument(Unknown Source) <br /> at com.adobe.service.pdfm.AssemblerEJB.mapInputs(Unknown Source) <br /> at com.adobe.service.pdfm.AssemblerEJB.invoke(Unknown Source) <br /> at com.adobe.service.pdfm.Assembler7_2a0g3c_EOImpl.invoke(Assembler7_2a0g3c_EOImpl.java:149) <br /> at com.adobe.service.pdfm.Assembler7_2a0g3c_EOImpl_WLSkel.invoke(Unknown Source) <br /> at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477) <br /> at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108) <br /> at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420) <br /> at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363) <br /> at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147) <br /> at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415) <br /> at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30) <br /> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) <br /> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178) <br /><br />Currently I have just written a java main class which is calling the Assembler APIs. I have deployed Assembler on Weblogic 8.1 SP4 and I have my client program running on the same machine..<br />I installed Assembler on L: drive, deployed it on Weblogic domain (which is in S: drive)<br />And I had set the global storage folder as L:\temp (through Configuration Manager) while deploying.<br />I checked the support forums and tried a suggested solution viz.<br />setting the parameter<br /><br />-Dcom.adobe.idp.Document.globalDocumentStorageRootDir = "L:\temp"<br />But it did not work for me..<br />I also checked the MaxInlineSize property and it is set to 65536<br />and the document with which I am testing currently is about 102KB<br /><br />Can anyone please help?<br />I am pretty new to Adobe LiveCycle<br /><br />Thanks,<br />Ashwini
6 Replies

Avatar

Former Community Member
hi



ich have the same problem!

Can anyone please help?

Avatar

Former Community Member
I have this same issue when calling Assembler 7.



Has there been any resolution to this?



com.adobe.service.pdfm.client.OperationException: com.adobe.idp.DocumentError: Failed to copy from file "C:\WINDOWS\TEMP\AdobeDocumentStorage\global\removeOn2007Y06M05D16h39m24s.1181079564000\5696261429445065169" to file "C:\WINDOWS\TEMP\AdobeDocumentStorage\global\removeOn2007Y06M05D16h39m24s.1181079564000\7429898602813054409"

at com.adobe.idp.DocumentFileUtil.copy(DocumentFileBackend.java:418)

Avatar

Former Community Member
A "Failed to copy from file" error is caused by one of 3 things:

1. A configuration issue in the server or client (or both)

2. A lack of a shared directory between the server and client

3. A job that took longer to execute than the document timeout setting in the adminui



I suggest 3 steps to diagnose this:

1. Review the other thread in this forum that discussed similar symptoms and solution: http://www.adobeforums.com/cgi-bin/webx/.3bc0ff0f/13



2. Deploy the Assembler sample web application (in C:\Adobe\LiveCycle\Assembler\samples\build\prebuilt) and use it for a simple 2-document assembly to verify that your installation is working



3. Determine the differences between the sample and your actual client program.



Hopefully those 3 steps will illuminate the problem. If not, then post the details on what you are doing that is different from the sample and someone on this forum may have an idea for you.

Avatar

Former Community Member
Thanks Don. So we are going to attempt to fix via the shared directory.



As a side note, this only occurs with files that are larger than the max inline size. If I do two small pdf files, I bypass this error since it doesn't cache the files on the drive but uses them in memmory.

Avatar

Former Community Member
Yes, the shared directory is needed for docs larger than the max inline size with Assembler 7. If you haven't already, you might want to check out the Assembler that comes with LiveCycle ES. The Document object in LiveCycle ES has a peer-to-peer mode that avoids the need for a shared directory.

Avatar

Former Community Member
Thanks a million Don. I got this to work finally with the shared directory settings. I'm able to merge large documents now.