File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes log4j: ERROR Failed to flush writer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "log4j: ERROR Failed to flush writer" Watch "log4j: ERROR Failed to flush writer" New topic
Author

log4j: ERROR Failed to flush writer

priby mathew
Greenhorn

Joined: Jan 28, 2008
Posts: 25
Hi all,

At times when trying to write to log messages I get the following error:

java.io.IOException: No space left on deviceve F7-Exit F8-Checker
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:284)
at sun.nio.cs.StreamEncoder$ConverterSE.implFlushBuffer(StreamEncoder.java:282)
at sun.nio.cs.StreamEncoder$ConverterSE.implFlush(StreamEncoder.java:288)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:199)
...
...

Can anyone please tell me the reason why this is happening
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

java.io.IOException: No space left on deviceve F7-Exit F8-Checker


Are you running out of hard drive space?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
priby mathew
Greenhorn

Joined: Jan 28, 2008
Posts: 25
Hi Souther,

Thanks for your help. My hard disk space was low. Now when I sorted out the problem of low hard disk space, the ERROR: Failed to flush writer doesnot appear

Thanks
Priby
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: log4j: ERROR Failed to flush writer