• Post Reply Bookmark Topic Watch Topic
  • New Topic

FileNotFoundException Randomly happening

 
Venkat burri
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!