Timeout & Processing delay for converting Doc to PDF using Appian plugin (Convert Doc to PDF) using Aspose Words for Java

The Aspose.Word for Java license was procured to generate the PDF from a word document using an Appian App market plugin “Convert Docs To PDF 2.0.12(Aspose)”.

The plugin was generating the PDF properly so far in production without any processing delay or timeout. Since yesterday this Appian Aspose plugin is taking much longer to generate the output and sometime its timing out in Production environment.

The below is the exception received in Appian server logs when the plugin(Conver Doc to PDF-Aspose) was stuck processing for a long time and timed-out. After a rollover restart of Appian server this plugin is taking more than 15-20 minutes to generate the PDF. Would you please assist to let us what could cause timeout or processing delay and a possible solution.

Please note, the same plugin is working fine in non-prod environment now and was working fine in Prod until last week.

025-02-01 16:45:07,190 [Thread-28] WARN  com.appiancorp.process.workpoller.WorkPollerIntervalLogger - Work Item 123 has been executing for 45 minutes and 54 seconds. Process Id: 155670011. Process Model Id: 2198. Thread: Appian Work Item - 4569693 - WorkID 123 - execution05 - process 155670011 - model 2198 : UnattendedJavaActivityRequest. Stack trace:
        com.aspose.words.FontSettings.zzVL(Unknown Source)
        com.aspose.words.zzYun.zzYUi(Unknown Source)
        com.aspose.words.zzYun.zzYjW(Unknown Source)
        com.aspose.words.zzXD2.zzWGk(Unknown Source)
        com.aspose.words.zzZi5$zzVSm.zzYjW(Unknown Source)
        com.aspose.words.internal.zzVVk.moveNext(Unknown Source)
        com.aspose.words.zzZi5.zz4V(Unknown Source)
        com.aspose.words.zzZi5.zzVSm(Unknown Source)
        com.aspose.words.zzZ9m.zzXdv(Unknown Source)
        com.aspose.words.zzZ9m.zzQF(Unknown Source)
        com.aspose.words.zzZi5.zzZKX(Unknown Source)
        com.aspose.words.zzZi5.<init>(Unknown Source)
        com.aspose.words.zzY2p.zzWsW(Unknown Source)
        com.aspose.words.zzDc.zzXaQ(Unknown Source)
        com.aspose.words.zzDc.moveNext(Unknown Source)
        com.aspose.words.zzZ1n.zzXs4(Unknown Source)
        com.aspose.words.Document.updatePageLayout(Unknown Source)
        com.aspose.words.zzZPs.zzWt4(Unknown Source)
        com.aspose.words.zzZoi.zzWBo(Unknown Source)
        com.aspose.words.zzZp9.zzWLL(Unknown Source)
        com.aspose.words.zzZp9.zzWsW(Unknown Source)
        com.aspose.words.zzZp9.zzVSm(Unknown Source)
        com.aspose.words.zzZp9.zzWwW(Unknown Source)
        com.aspose.words.Document.zzW9W(Unknown Source)
        com.aspose.words.Document.zzWsW(Unknown Source)
        com.aspose.words.Document.zzVSm(Unknown Source)
        com.aspose.words.Document.zzVSm(Unknown Source)
        com.aspose.words.Document.save(Unknown Source)
        com.appiancorp.ps.plugins.aspose.utils.ConvertToPDFWithAspose.convert(ConvertToPDFWithAspose.java:28)

@muralitharanrt Does the problem occurs with all documents or with some particular one? If the problem occurs with the particular document, please attach it here for testing. We will check it and provide you more information.
If i understand properly, Appian App is some kind of wrapper for Aspose.Words. So I would suggest to contact their technical support as well to make sure there are no problems on their side.

Thank you @alexey.noskov for your qiuck response . The processing is taking more than 10 minutes to generate the PDF for all documents. For the same documents we were able to generate less than 30 secs earlier and all were working fine before. Since we are using the Aspose words for Java library, we wanted to know are there any logs or trace capture at your end which you can assist to share if applicable for troubleshooting. Please also advise if we need to have any specific server settings to allow this Docx to PDF processing at optimal level. Appreciate any insights on this matter. Thank you

@muralitharanrt Aspose.Words for java is a standalone class library. So we cannot see any logs on our side.

Thank you @alexey.noskov . Make sense. I will check with Appian team and will update if we need any further assistance or recommendation from your end. Thanks

1 Like