createPDF2 timeout (PDF to PDF)

Avatar

Avatar
Level 3
_Michael_Feicht
Level 3

Likes

0 likes

Total Posts

35 posts

Correct reply

0 solutions
View profile

Avatar
Level 3
_Michael_Feicht
Level 3

Likes

0 likes

Total Posts

35 posts

Correct reply

0 solutions
View profile
_Michael_Feicht
Level 3

14-08-2008

Hi everybody,



I'm trying to assemble a list of documents into a single PDF. Therefore I'm using the the invokeDDX operation of the Assembler service and the createPDF2 operation to convert the documents to PDF. Unfortunately the list also contains PDF documents and the createPDF2 operation runs into a timeout.



Since the PDF documents have different versions I want to convert them to PDF 1.5. As far as I know the CreatePDF2 is the only operation where I can choose the target version using the "Adobe PDF settings" parameter.



I'm using Adobe LiveCycle ES update 1 with Acrobat Distiller 9 and Acrobat 9 Pro Extended.



The log file contains just the Message "ALC-PDG-010-010-The conversion has timed out" with the stack trace.



Thanks in advance



Michael

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

14-08-2008

You can set a transaction timeout in the properties of the process you are calling. To get at the properties, look at the Process view in the workbench. Locate your process and right click on it. Choose process properties (the last entry). A separate dialog will appear. Click on the Advanced tab and mid screen there is a Timeout section. It is set to default (which is 270 secs I believe). You can activate your own value below that one.

Avatar

15-08-2008

I believe you can use the getDocContentType XPath function to figure out which documents in the list are already PDFs. If sending a PDF to the createPDF2 operation is causing problems, you can test each document in the list with getDocContentType, and if it's not a PDF, add it to a new list that you can feed to CreatePDF2.



Make sense?

Avatar

Avatar
Level 3
_Michael_Feicht
Level 3

Likes

0 likes

Total Posts

35 posts

Correct reply

0 solutions
View profile

Avatar
Level 3
_Michael_Feicht
Level 3

Likes

0 likes

Total Posts

35 posts

Correct reply

0 solutions
View profile
_Michael_Feicht
Level 3

17-08-2008

Hi Paul, hi Scott!



Thanks for your input.



@Paul: The timeout is set to 270 seconds and I can not believe that converting a one page PDF file from eg. PDF 1.5 to PDF 1.4 takes so much time. All the other file types finish in a few seconds.



@Scott: Since the documents are email attachments the content type of the PDF is application/octet-stream but I can use the extension .pdf to determine. So how can I convert an existing PDF into an other PDF version? The createPDF operation of the former 8.0 version was able to do so.



kind regards

Michael