Assembler Service failing to find source PDF document

246 views
Skip to first unread message

Jyothi

unread,
Jul 2, 2014, 11:44:06 AM7/2/14
to live...@googlegroups.com
Hello,

I have a short-term  LiveCycle process that uses Assembler Service to merge 2 PDF documents using a DDX file. The DDX file looks like this.

 

<?xml version="1.0" encoding="UTF-8"?>

<DDX xmlns="http://ns.adobe.com/DDX/1.0/">

  <PDF result="out.pdf">

    <PDF source="URI = /Applications/test/1.0/Test1.pdf"/>

    <PDF source="URI = /Applications/test/1.0/Test2.pdf"/>

  </PDF>

 

</DDX>

 

The source for the PDF documents is in LiveCycle server. I have verified that they do exist.  

I am invoking the process using Java API. The process is failing with this exception found in the joblog.

 

<?xml version="1.0" encoding="UTF-8"?>

<log><msg cpu="0.01" n="com.adobe.internal.ddxm.Executive" l="INFO" t="0.0090">com.adobe.internal.ddxm.Executive.execute DDXM_N00000: Started processing result named out.pdf</msg><msg cpu="0.01" n="com.adobe.internal.ddxm.Executive" l="SEVERE" t="0.022">com.adobe.internal.ddxm.Executive.execute DDXM_S00001: Failed to assemble result named out.pdfcom.adobe.internal.ddxm.DDXMException: com.adobe.internal.pdfm.CollateralNotFoundException: DDXM_S14017: A <PDF> source document is required, but no documents were found for {PDF source="URI = /Applications/test/1.0/Test1.pdf" baseDocument="true"}. at com.adobe.internal.ddxm.blueprint.pdf.PDFSourceSegment.addDocumentsForAssembly(PDFSourceSegment.java:147) at com.adobe.internal.ddxm.task.pdf.AssemblePDF.execute(AssemblePDF.java:96)

 

Apparently, it is not finding the source documents.  I tried several values for 'source' attribute including filename from local drive… nothing works. What should go in the ‘source’ attribute for PDF tags in the DDX  file ? Where does the Assembler service look for these PDF documents ?

 

Any ideas would be appreciated.

Thanks,
Jyothi

Jyothi

unread,
Jul 2, 2014, 3:51:21 PM7/2/14
to live...@googlegroups.com
I just figured out that one of the input types for the process was not declared right. The process takes two inputs, DDX file and a map containing actual 'Documents' to be assembled with 'String' type keys.
I corrected it. Now I see a different problem.

The process is throwing a runtime exception as below.

java.lang.ClassNotFoundException: Class name com.adobe.livecycle.assembler.IDPDocumentInputStream from package com.adobe.livecycle.assembler not found.

This class 'IDPDocumentInputStream ' is not found in the library that I have in my build path -

adobe-assembler-client.jar

Is 'IDPDocumentInputStream a class required to be on the server ? Is this a part of Assembler service ? If so, what library/jar contains this ? Assembler service seems to be up and running on the server.

Thanks for any suggestions.

Jyothi

Prabhat Tiwari

unread,
Jul 2, 2014, 4:00:01 PM7/2/14
to live...@googlegroups.com

Try file://{followed by full path}

--
You received this message because you are subscribed to the Google Groups "Adobe LiveCycle Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to livecycle+...@googlegroups.com.
To post to this group, send email to live...@googlegroups.com.
Visit this group at http://groups.google.com/group/livecycle.
For more options, visit https://groups.google.com/d/optout.

Jyothi

unread,
Jul 3, 2014, 10:57:27 AM7/3/14
to live...@googlegroups.com

Thanks Prabhat for your response.
Not being able to find the class 'IDPDocumentInputStream' went away after I got the server restarted.

Jyothi

On Wednesday, July 2, 2014 10:44:06 AM UTC-5, Jyothi wrote:
Reply all
Reply to author
Forward
0 new messages