[IE download file -- ClientAbortException: java. io. IOException error reported in the background ],
I. Scenarios
You can download an Excel file to download data in a report.
Test in chrome and IE respectively. It is normal in chrome, and an error is reported in IE background.
Ii. error message
Org. apache. catalina. connector. ClientAbortException: java. io. IOException
At org. apache. catalina. connector. OutputBuffer. realWriteBytes (OutputBuffer. java: 407)
At org. apache. tomcat. util. buf. ByteChunk. append (ByteChunk. java: 371)
At org. apache. catalina. connector. OutputBuffer. writeBytes (OutputBuffer. java: 432)
At org. apache. catalina. connector. OutputBuffer. write (OutputBuffer. java: 420)
At org. apache. catalina. connector. CoyoteOutputStream. write (CoyoteOutputStream. java: 91)
At jxl. write. biff. CompoundFile. writeExcelData (CompoundFile. java: 249)
At jxl. write. biff. CompoundFile. write (CompoundFile. java: 233)
At jxl. write. biff. File. close (File. java: 95)
At jxl. write. biff. WritableWorkbookImpl. close (WritableWorkbookImpl. java: 352)
Caused by: java. io. IOException
At org. apache. coyote. http11.InternalAprOutputBuffer. flushBuffer (InternalAprOutputBuffer. java: 205)
At org. apache. coyote. http11.InternalAprOutputBuffer. access $100 (InternalAprOutputBuffer. java: 37)
At org. apache. coyote. http11.InternalAprOutputBuffer $ SocketOutputBuffer. doWrite (InternalAprOutputBuffer. java: 235)
At org. apache. coyote. http11.filters. ChunkedOutputFilter. doWrite (ChunkedOutputFilter. java: 119)
Iii. Solutions
<1> Error Analysis
1. search online, ClientAbortException:Java.net. socketException: Connection reset by peer: socket write error is caused by a "ClientAbortException ", it is an exception in I/O processing and should be captured by the application server.
2. There is no way to control the exceptions caused by the client, and the background will record this exception.
3. I did not close the browser operation when I entered it, but it can be determined that the client request is interrupted due to the IO exception Caused by force shutdown after the IE browser is connected;
<2> root cause
During the operation, we found that the download action of IE at this time was not performed by the browser's own downloader, but by the thunder plug-in .,
Therefore, I wonder if the thunder component blocks the request from the IE download server, resulting in an error in the background.
Therefore, I want to restore the default download tool of IE. The process is as follows,
(1) For Internet Options, open "manage download items":
(2) found in tools and extensions. Thunder downloads the support and enables it, And then disables it:
(3) Restart IE and perform the download operation. The result is normal. solution:
Check that there is no error message in the background. Solve the problem.