My understanding of connection reset by peer is that if the user either navigates from the page, or hits the stop button, or some other way explicitly stops listening to the server. Well I'm getting the connection reset by peer error, even though I am not doing anything in the browser other than waiting for the file to generate.
While trying to print a report, I am getting an error page (500) and when checking the logs I see it saying, 10/10/05 10:07:04 com.evermind.server.http.HttpIOException: Connection reset by peer 10/10/05 10:07:04 at com.evermind.server.http.EvermindServletOutputStream.write(EvermindServletOutputStream.java:210) 10/10/05 10:07:04 at java.io.BufferedOutputStream.write(BufferedOutputStream.java:105) 10/10/05 10:07:04 at com.lowagie.text.pdf.OutputStreamCounter.write(Unknown Source) 10/10/05 10:07:04 at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:112) 10/10/05 10:07:04 at com.lowagie.text.rtf.document.output.RtfMemoryCache.writeTo(Unknown Source) 10/10/05 10:07:04 at com.lowagie.text.rtf.document.RtfDocument.writeDocument(Unknown Source) 10/10/05 10:07:04 at com.lowagie.text.rtf.RtfWriter2.close(Unknown Source) 10/10/05 10:07:04 at com.lowagie.text.Document.close(Unknown Source) The problem is happening when I try to close the document in my code. I thought it could be because the report is large, but larger reports are printing without issue. Is there something else I am missing here? Could I possibly need to increase the server timeout size? -- View this message in context: http://itext-general.2136553.n4.nabble.com/Connection-error-While-closing-itext-document-tp2965020p2965020.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
