日期:2014-05-17  浏览次数:20852 次

紧急紧急!下载PDF时遇到的问题,UP有分了!
下载PDF时抛错,操作是,在下载进行中时,刷新了页面。后台就抛出了这个错。。。请各位大侠帮忙看看!
小弟在此赶鸡不尽!!!
抛错信息:
12/11/09 16:04:49 java.lang.Exception: 生成response出错!
12/11/09 16:04:49  at com.Pdf.fileToResponseStream(Pdf.java:231)
12/11/09 16:04:49  at com.Pdf.pdf(Pdf.java:106)
12/11/09 16:04:49  at com.NewServlet.downloadMethod(NewServlet.java:2013)
12/11/09 16:04:49  at com.NewServlet.process(NewServlet.java:174)
12/11/09 16:04:49  at com.RootServlet.doPost(RootServlet.java:82)
12/11/09 16:04:49  at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
12/11/09 16:04:49  at com.RootServlet.service(RootServlet.java:47)
12/11/09 16:04:49  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
12/11/09 16:04:49  at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
12/11/09 16:04:49  at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
12/11/09 16:04:49  at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
12/11/09 16:04:49  at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
12/11/09 16:04:49  at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
12/11/09 16:04:49 12/11/09 16:04:49 delete 89388_0322642.pdf1 success!
12/11/09 16:04:49 delete 89388_8122641.pdf2 success!
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
12/11/09 16:04:49  at java.lang.Thread.run(Thread.java:534)
12/11/09 16:04:49 Caused by: com.evermind.server.http.HttpIOException: Connection reset by peer: socket write error
12/11/09 16:04:49  at com.evermind.server.http.EvermindServletOutputStream.write(EvermindServletOutputStream.java:250)
12/11/09 16:04:49  at com.evermind.server.http.EvermindServletOutputStream.write(EvermindServletOutputStream.java:151)
12/11/09 16:04:49  at java.io.BufferedOutputStream.write(BufferedOutputStream.java:106)
12/11/09 16:04:49  at java.io.FilterOutputStream.write(FilterOutputStream.java:80)
12/11/09 16:04:49  at com.Pdf.fileToResponseStream(Pdf.java:222)
12/11/09 16:04:49  ... 14 more
INFO com.NewServlet - at LogCommImpl.java:26 
  Exception caught: java.lang.Exception: 生成response出错!  

ERROR com.NewServlet - at LogCommImpl.java:45 
  IOException when trying to include the error page path /Error.jsp  

com.evermind.server.http.HttpIOException: Connection reset by peer: socket write error
at com.evermind.server.http.EvermindServletOutputStream.write(EvermindServletOutputStream.java:250)
at com.evermind.server.http.EvermindJSPWriter.writeOut(EvermindJSPWriter.java:456)
at com.evermind.server.http.EvermindJSPWriter.jspflush(EvermindJSPWriter.java:373)
at com.evermind.server.http.EvermindJSPWriter.close(EvermindJSPWriter.java:345)
at oracle.jsp.runtime.OracleJspRuntime.extraHandlePCFinally(OracleJspRuntime.java:1460)
at _error._jspService(_error.java:97)