Forums Register Login

Cancelling Download gives a huge stack trace

+Pie Number of slices to send: Send
Hi, I have a download servlet that sends compressed data to the user. When the user clicks on the download button and then clicks on the Cancel instead of saving the file or opening it, there is a huge stack trace logged into my stdout file.
[02.09.30 11:34:25:005 MST] feebf9 SRTServletRes X Servlet.Exception:.Error.while.finishing.response
java.io.IOException: Error during native write operation! Status Code: -1
Next stack trace begins with -
[02.09.30 11:34:25:013 MST] feebf9 WebGroup X Servlet ERROR: {0}
"Error while finishing the connection"
javax.servlet.ServletException: Servlet Exception: Error while finishing response
Is there any way to get rid of this stack trace? Am i missing something in setting my response parameters?
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 675 times.
Similar Threads
very strange nullpointer exception in soap call
Hibernate Session Factories from org.springframework.orm.hibernate3.LocalSessionFactoryBean
Problem while downloading file from server
Cancelling a file download - "java.lang.IllegalStateException: getOutputStream() ..."
java.lang.IllegalStateException: getOutputStream() error
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 05:02:02.