如何使用JPEG2000解决PDF Generator错误?

描述 description

环境

  • JEE上的Adobe Experience Manager (AEM) 6.5 Forms
  • Acrobat 2020 Classic
  • Microsoft Windows Server 2019

问题/症状

PDF Generator无法使用Acrobat 2020 Classic在Windows服务器上处理JPEG2000格式资源(JPF、JPX、JP2、J2K、J2C、JPC)。

主页“服务”PDF Generator“创建PDF

Error Code:1011
Error Message: ALC-PDG-001-011-The BMC reported failure in converting the input document to PDF.

本文介绍如何解决此问题。

示例日志:
server.log

01:23:45,678 ERROR com.adobe.aes.web.create.CreatePDFAct (default task-15) ALC-PDG-001-000-Invocation error.: ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.

    at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.java:152) adobe-dscf-client.jar:6.5.0.0.20220523.bee76832

    at.

...

Caused by: ALC-PDG-1011-000: com.adobe.livecycle.generatepdf.client.ConversionException: ALC-PDG-001-011-The BMC reported failure in converting the input document to PDF.

    at com.adobe.pdfg.BMCCaller.checkResult(BMCCaller.java:405)

    at com.adobe.pdfg.Native2PdfCaller.callNativeBMC(Native2PdfCaller.java:1229)

    at com.adobe.pdfg.Native2PdfCaller.createPDF(Native2PdfCaller.java:420)

    at com.adobe.pdfg.GeneratePDFImpl.createPDFInternal(GeneratePDFImpl.java:527)

    at com.adobe.pdfg.GeneratePDFImpl.createPDFCommon(GeneratePDFImpl.java:366)

    at com.adobe.pdfg.GeneratePDFImpl.createPDF(GeneratePDFImpl.java:307)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) rt.jar:1.8.0_181

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) rt.jar:1.8.0_181

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) rt.jar:1.8.0_181

    at java.lang.reflect.Method.invoke(Method.java:498) rt.jar:1.8.0_181

    at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.java:118) adobe-dscf-client.jar:6.5.0.0.20220523.bee76832

    ... 207 more

解决方案 resolution

  1. 为 Acrobat 设置注册表项。

  2. 在运行 AEM Forms 的 Windows 服务器上打开注册表编辑器

  3. 选择以下路径:

    HKEY_CURRENT_USER\SOFTWARE\Adobe\Adobe Acrobat\DC\ImageConversionPlugin

  4. 创建一个新密钥(如果 buseSandbox 存在,仅更改数据)

    code language-none
    Name: buseSandbox
                Type: REG_DWORD (32bit) Value
                Data: 0
    
  5. 从PDF Generator重新运行“创建PDF”并检查PDF生成是否成功。

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f