Latency in generating PDFs using FormsService along with Reader Extension | Community
Skip to main content
New Participant
Feb 26, 2021 8:50 AM UTC
Solved

Latency in generating PDFs using FormsService along with Reader Extension

Hi Team

We are on AEM 6.5.7 and using formsservice alogn with reader extension service to generate PDF, PDFs are getting generated from XDP placed in shared drive within 3 sec but as soon as Reader extension code is added PDF generation time shoots to more than 15 min.

I am referring to code provided in https://experienceleague.adobe.com/docs/experience-manager-learn/forms/document-services/apply-reader-extension-rights-to-pdf.html?lang=en#document-services

As soon as code reaches this below line it is stuck in there

doc = service.secureDocument(doc, null, null, reOptions, unlockOptions);

AEM 6.5.7

Forms package 6.0.234

aemfd-client-sdk.6.0.160

environment: Linux

Any pointers, anyone facing the similar issue?

 

Thanks in advance

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Kosta_Prokopiu1
Kosta_Prokopiu1Accepted solution
Employee
Feb 26, 2021 5:09 PM UTC

@manugupta02Reader Extensions need a certificate (ares) which you have as far as i can tell. In the past I have seen such behaviour when the server applying the REs cannot connect to the Internet to download initial CRLs (Certificate Revocation Lists). Your Windows server might have had a chance to do an initial load or was configured to ignore them. I have not seen this since Adobe LiveCycle and I am not sure how the current AEM Forms OSGi has this implemented. Maybe someone else can advise what to do in that case.

7 replies

New Participant
Jul 22, 2021 7:52 AM UTC

increasing the entropy level to above 3500 for linux boxes and we got the resultant pdf in less than 5 secs

Translate
Kosta_Prokopiu1
Employee
Jul 22, 2021 9:47 AM UTC
New Participant
Jul 22, 2021 7:51 AM UTC

Got the answer

Translate
Kosta_Prokopiu1
Kosta_Prokopiu1Accepted solution
Employee
Feb 26, 2021 5:09 PM UTC

@manugupta02Reader Extensions need a certificate (ares) which you have as far as i can tell. In the past I have seen such behaviour when the server applying the REs cannot connect to the Internet to download initial CRLs (Certificate Revocation Lists). Your Windows server might have had a chance to do an initial load or was configured to ignore them. I have not seen this since Adobe LiveCycle and I am not sure how the current AEM Forms OSGi has this implemented. Maybe someone else can advise what to do in that case.

Translate
New Participant
May 27, 2021 10:21 AM UTC
Probably, it could be solution to another problem but in our case, we got it resolved by increasing the entropy level to above 3500 for linux boxes and we got the resultant pdf in less than 5 secs
Translate
New Participant
Feb 26, 2021 1:33 PM UTC
No, its internal to org network. Also want to add- When same code jar execute from Windows Servers there is no issue but it is linux server which is causing trouble.
Translate
Kosta_Prokopiu1
Employee
Feb 26, 2021 1:27 PM UTC
can your AEM Forms server access the Internet?
Translate