log4j:ERROR Failed to flush writer, java.io.IOException: 句柄无效。 10
atjava.io.FileOutputStream.writeBytes(NativeMethod)atjava.io.FileOutputStream.write(F...
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:260)
at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)
at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272)
at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:276)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212)
at org.apache.log4j.helpers.QuietWriter.flush(QuietWriter.java:57)
at org.apache.log4j.WriterAppender.writeFooter(WriterAppender.java:352)
at org.apache.log4j.WriterAppender.close(WriterAppender.java:203)
at org.apache.log4j.AppenderSkeleton.finalize(AppenderSkeleton.java:124)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
(总在:2011-5-25 20:26:08 org.apache.catalina.core.StandardContext reload
信息: Reloading this Context has started时发生,即总在tomcat自动重启时发生,因为用myeclipse开发时有时是在tomcat还在运行时去改个别类,或者说某个java文件,保存,然后“Reloading this Context has started”,自动进行重载,这时以上错误就出现咯!“log4j:ERROR Failed to flush writer,java.io.IOException: 句柄无效。”) 展开
at java.io.FileOutputStream.write(FileOutputStream.java:260)
at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)
at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272)
at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:276)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212)
at org.apache.log4j.helpers.QuietWriter.flush(QuietWriter.java:57)
at org.apache.log4j.WriterAppender.writeFooter(WriterAppender.java:352)
at org.apache.log4j.WriterAppender.close(WriterAppender.java:203)
at org.apache.log4j.AppenderSkeleton.finalize(AppenderSkeleton.java:124)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
(总在:2011-5-25 20:26:08 org.apache.catalina.core.StandardContext reload
信息: Reloading this Context has started时发生,即总在tomcat自动重启时发生,因为用myeclipse开发时有时是在tomcat还在运行时去改个别类,或者说某个java文件,保存,然后“Reloading this Context has started”,自动进行重载,这时以上错误就出现咯!“log4j:ERROR Failed to flush writer,java.io.IOException: 句柄无效。”) 展开
1个回答
展开全部
http://blog.csdn.net/FuXiaoZhuan/archive/2010/10/10/5931689.aspx
不知道对你有帮助不。多个人多份力量
不知道对你有帮助不。多个人多份力量
参考资料: http://blog.csdn.net/FuXiaoZhuan/archive/2010/10/10/5931689.aspx
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询