Latency in generating PDFs using FormsService along with Reader Extension | Community
Skip to main content
New Participant
February 26, 2021
Solved

Latency in generating PDFs using FormsService along with Reader Extension

  • February 26, 2021
  • 5 replies
  • 9064 views

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.
Best answer by Kosta_Prokopiu1

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

5 replies

New Participant
July 22, 2021

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

Kosta_Prokopiu1
Employee
July 22, 2021
New Participant
July 22, 2021

Got the answer

Kosta_Prokopiu1
Kosta_Prokopiu1Accepted solution
Employee
February 26, 2021

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

New Participant
May 27, 2021
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
New Participant
February 26, 2021
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.
Kosta_Prokopiu1
Employee
February 26, 2021
can your AEM Forms server access the Internet?