[IE download file -- ClientAbortException: java. io. IOException error reported in the background ],

Source: Internet
Author: User
Tags connection reset

[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.

    

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.