Expand my Community achievements bar.

SOLVED

XDP to Interactive PDF

Avatar

Level 2

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.

GuruManish_0-1693206777570.png

 

 

 

Thanks,

Guru Manish

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@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.

View solution in original post

7 Replies

Avatar

Employee Advisor

@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...

https://experienceleague.adobe.com/docs/experience-manager-learn/forms/adaptive-forms/installing-aem... 

Avatar

Level 2

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?

Avatar

Employee Advisor

@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... 

Avatar

Level 2

Hi Pulkit,

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

 

GuruManish_0-1693231726013.png

 

Avatar

Correct answer by
Employee Advisor

@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.