Here is the code where I am using PDFReader. public void processInputPDF(String pdfToRead) { PdfReader reader = null; try { reader = new PdfReader(pdfToRead); totalPages = getTotalPages(reader); writeCount = readThroughPdf(reader, totalPages); } catch (IOException e) { e.printStackTrace(); } finally { reader.close(); } }
The server is Windows Server 2008 Standard R2 x64 SP1 -----Original Message----- From: Kevin Day [mailto:ke...@trumpetinc.com] Sent: Friday, August 01, 2014 1:15 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Rebuild failed: Map failed; Original message: Map failed This means that iText attempted to memory map the file, and it failed. Can you please post your code that you used to construct the PDFReader? What operating system is the server? -- View this message in context: http://itext-general.2136553.n4.nabble.com/Rebuild-failed-Map-failed-Original-message-Map-failed-tp4660182p4660183.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ 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 ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk _______________________________________________ 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