On 23/04/2013 0:39, tacal...@insb.uscourts.gov wrote:
Over the weekend, I swapped out the itextpdf-5.3.5.jar with itextpdf-5.4.1.jar. The application ran fine for a little while before generating an error in catalina.out as shown below. I restarted Tomcat, and it worked for a little bit and failed with the same error. After putting back itextpdf-5.3.5.jar, all is working again. At this point, I think we will stay with 5.3.5, but I wanted to make someone aware of the problem.

Since 5.4.0, PdfReader is no longer closing files implicitly as this causes problems in some use cases. Therefore, people switching to iText 5.4.x should call reader.close(); whenever they've finished using a reader instance.
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
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

Reply via email to