"IE download file--Background report ClientAbortException:java.io.IOException error"

Source: Internet
Author: User
Tags connection reset

A. Scene

Provides the ability to download Excel files on the page to download data from the report.

Test in Chrome,ie, respectively. Normal in chrome, in IE in the background error.

Two. Error messages

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)

Three. Solution

< a > Error analysis

1. Search from the Internet, Clientabortexception: java.net.SocketException:Connection Reset by Peer:socket write error is due to the fact that when the HTTP connection is being processed, when the user closes IE, a " Clientabortexception ", which is an exception that occurs in I/O processing, the application server should be captured.

2. The client caused, there is no way to control, and the background will record this exception.

3. I did not turn off the browser at the time of input, but can be determined that after the Internet Explorer connection, forced shutdown caused by the IO exception, resulting in client request interruption;

< two > Problem root

Operation found, ie this time the download action is not the browser's own downloader, but the Thunder plug-in to perform the download action. ,

Therefore, I would like to be the thunder of the components blocked the IE Downloader request, causing background error.

So, I try to restore the default function of the IE downloader. Process is as follows,

(1) Internet option, open "Manage Downloads":

(2) found in tools and extensions, Thunderbolt download support, and is enabled, then disable it:

    

(3) After restarting IE: download operation, the results of all normal, problem solving:

 

View background no error message. Problem solving.

    

"IE download file--Background report ClientAbortException:java.io.IOException error"

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.