Getting java.lang.OutOfMemoryError error, when running servlets that produce PDFs using JClass Server Report. It causes WebSphere to crash. This is a stack trace sample
.........
MEM_ERROR in deflate_init2
:at java.util.zip.Deflater.init(Native Method)
:at java.util.zip.Deflater.(Deflater.java(Inlined Compiled Code))
:at java.util.zip.Deflater.(Deflater.java(Inlined Compiled Code))
:at java.util.zip.DeflaterOutputStream.(DeflaterOutputStream.java(Inlined
:at com.klg.jclass.sreport.adobe.pdf.JCPDFPrinter.writeCompressedStreamBody(Unkn
:at com.klg.jclass.sreport.adobe.pdf.JCPDFPrinter.endStream(Unknown Source)
:at com.klg.jclass.sreport.adobe.pdf.JCPDFPrinter.endPage(Unknown Source)
:at com.klg.jclass.sreport.JCDocument.checkOutputPage(Unknown Source)
:at com.klg.jclass.sreport.JCFlow.endPage(Unknown Source)
:at com.klg.jclass.sreport.JCFlow.startPage(Unknown Source)
:at com.klg.jclass.sreport.JCFlow.newFlowedPage(Unknown Source)
:at com.klg.jclass.sreport.JCFlow.newPage(Unknown Source)
WORKAROUND:
1. Patch JCServerReport_5.5.5_08: This Patch addresses Solution 34836 and can be downloaded via following link:
https://support.quest.com/SUPPORT/index?question_product=JClass&xmlattribute%3ASOLUTIONS%2FPRODUCTS=PR268438638&page=downloads&category=3&version=268449628
2. Install this patch as per README file included in the patch file JCServerReport_5.5.5_08.zip.
STATUS:
Issue got fixed in this patch.
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center