I Have a LogViewer
JSP file which reads log4j log files on AIX box. Some times when trying to access a log file, it throws an FileNotFoundException. Actually file was there. Only possible thing is that Log4J classes may be writing to those files at the same time. and this is happening randomly.
I have tried writing an application read and write into a file simultaneously. It was working fine. I could not reason out what could be the problem with the JSP.