XDP to Interactive PDF | Community
Skip to main content
New Participant
August 28, 2023
Solved

XDP to Interactive PDF

  • August 28, 2023
  • 1 reply
  • 1374 views

Hi All,

 

I need to create a blank interactive PDF without XML data from XDP in forms OSGI. I tried using formsService API but got some errors inside log. Please suggest or share some best references.

 

Here is the code image and error log for reference.

 

 

 

Thanks,

Guru Manish

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

Hi Pulkit,

Please find below a screenshot for C++ redistributable. Also, I installed the same software from the link you are referring too.

 

 


@gurumanish 

Don't see any significant difference in the redistributables that I have on my set-up (working), but could you please install the old redistributables as well?

  • Microsoft Visual C++ 2008 redistributable
  • Microsoft Visual C++ 2010 redistributable

Also, ensure that the server is restarted after this update. 

If this doesn't work, please log a ticket with support so we can review this over a screen share.

1 reply

Pulkit_Jain_
Employee
August 28, 2023

@gurumanish 

There seems to be an issue with the XMLForm service connection[0] on the server.

Ensure you have installed the required 32-bit c++ redistributable on Windows machine OR 32-bit RPMs on Linux[1], required for AEM Forms installation.

Once done, as a simple test, you should be able to preview any XDP form as an HTML form on the portal.

 

[0] - 

28.08.2023 12:40:20.590 *ERROR* [[0:0:0:0:0:0:0:1] [1693206620271] POST /bin/xdptopdfconvert HTTP/1.1] com.adobe.forms.aem.impl.XFANativeServiceImpl Exception: java.lang.IllegalStateException: Connection to failed service. at com.adobe.service.ResourcePooler.allocateResource(ResourcePooler.java:104) at com.adobe.service.ConnectionFactoryManagerPeer.getConnectionResourceFromPool(ConnectionFactoryManagerPeer.java:76)

 [1] - https://experienceleague.adobe.com/docs/experience-manager-learn/forms/adaptive-forms/installing-aem-form-on-windows-tutorial-use.html?lang=en

https://experienceleague.adobe.com/docs/experience-manager-learn/forms/adaptive-forms/installing-aem-form-on-linux.html?lang=en 

New Participant
August 28, 2023

Hi Pulkit,

 

Thanks for the reply.

 

I have installed 32-bit C++ redistributable on my Windows machine. But still, I am getting the same error and log content. By the way how to preview an XDP form as an HTML form inside Chrome?

Pulkit_Jain_
Employee
August 28, 2023

@gurumanish 

Please share a screenshot of the C++ redistributable installed on this set-up.

Do you have 2015-2022 installed as well - https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022