I mean my class file. So that you can check if I am doing something which 
causing this issue. As you said RandomAccessFileOrArray.close internally c 
invoking MappedRandomAccessFile close. You might see the issue if you have 
continuous running program (on unix). Question ,in the MappedRandomAccessFile 
you do the new FileInputStream if this is being destroyed when you do 
rf.close ? 

 public MappedRandomAccessFile(String filename, String mode)
    throws FileNotFoundException, IOException {
        
        if (mode.equals("rw"))
            init(
                    new java.io.RandomAccessFile(filename, mode).getChannel(),
                    FileChannel.MapMode.READ_WRITE);
        else
            init(
                    new FileInputStream(filename).getChannel(),
                    FileChannel.MapMode.READ_ONLY);
        
    }



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to