AEM pdf Raterization for pdf subassets | Community
Skip to main content
New Participant
Sep 27, 2018 10:19 PM UTC

AEM pdf Raterization for pdf subassets

Hello there,

I'm currently running AEM 6.3 and trying to Implement PDF rasterization as instructed here : https://helpx.adobe.com/experience-manager/6-4/assets/using/aem-pdf-rasterizer.html

I'm currently blocked by command which is throwing an expection as below  :

'ERROR* [JobHandler: /etc/workflow/instances/server0/2018-09 27_1/createsubassets_89:/content/dam/corporate/creative/us/CP999/20017361_Creative.pdf/subassets/page2.pdf/jcr:content/renditions/original] com.day.cq.dam.pdfrasterizer.process.PdfRasterizerHandlingProcess execute: failed to execute command [[/opt/aem/crx-quickstart/launchpad/felix/bundle539/data/binaries/PDFRasterizer, -d, -p, *, -s, 1280]] for asset [/content/dam/amex/creatives/us/Folder/Creative.pdf/subassets/page2.pdf]'

After debugging the above looks like the command where its being executed is different from the path that AEM is installed on my machine.

Machine AEM Path :

/Users/SandeepKV/static-author/one-cms/crx-quickstart/logs

Command Execution Path :

/opt/aem/crx-quickstart/launchpad/felix/bundle539/data/binaries/PDFRasterizer, -d, -p, *, -s, 1280


Is there a way to change the path from where the above workflow command can be triggered, if not what the best solution in this regards

Please Advice.

Best
Sandeep KV

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

Employee
Oct 4, 2018 5:39 AM UTC

Hi Sandeep,

Can you confirm if the following path exists and can be executed through terminal?

"/opt/aem/crx-quickstart/launchpad/felix/bundle539/data/binaries/PDFRasterizer, -d, -p, *, -s, 1280 "

If yes, please check how many AEM processes running at your instance. And also confirm your environment (Linux or Mac)?

Thanks,

Ashutosh

Translate
New Participant
Oct 4, 2018 7:33 PM UTC

Hi Ashutosh,

The above path does exist, however doesn't execute through terminal as below :

Also the package is visible here in my AEM web-console :

Also, I'm running only one instance (Static-author) on MAC OS.

Thanks
Sandeep KV

Translate
Employee
Oct 5, 2018 5:16 AM UTC

Hi Sandeep,

Also it is worth to check the MAC os version, the PDF rasterizer is not supported for Mac OS. See below

Technical Requirements

Thanks,

Ashutosh

Translate
smacdonald2008
Level 10
Sep 27, 2018 10:33 PM UTC

We asked the Asset team to help here.

Translate