Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

JavaScript error:Timeout

Avatar

Former Community Member

Hello,

I am calculating the value for the barcode (3 of 9) using JavaScript to generate a non-interactive PDF. On the Adobe Sever (ES LC 8.2), after running for 5 hours, I am experiencing script timeout error while calculating the barcode on the first page of every document that is getting processed. If I restart the Adobe server every thing is fine until the server hits the threashold of 5 hours.

This only happens for the first page of every document, so if there are 10 pages then barcode gets calculated correctly from the second page. Very unusual behavior.

Below is the exception,

[5/25/10 20:30:25:976 EDT] 00000036 XMLFormServic W com.adobe.service.ProcessResource$ManagerImpl log ALC-XTG-102-001: [340010] Error: Timeout
[5/25/10 20:30:25:987 EDT] 00000036 XMLFormServic W com.adobe.service.ProcessResource$ManagerImpl log ALC-XTG-102-001: [340010] Script failed (language is javascript; context is xfa[0].form[0].rcx[0].#pageSet[0].pageMain1[4].Code3of9BarCode1[0])

Appreciate your help on this.

Thanks,

Laxman.

0 Replies