-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ðavîd,
On 5/20/2010 10:08 PM, Ðavîd Låndïs wrote:
> OK I'll investigate a little more at work tomorrow. I'm hoping the
> issue isn't that Tomcat is swallowing the exceptions somewhere.
Tomcat is very unlikely to swallow such exceptions.
> Incidental
On 21/05/2010 03:08, Ðavîd Låndïs wrote:
> On Thu, May 20, 2010 at 9:51 PM, Caldarale, Charles R
> wrote:
>>> From: Ðavîd Låndïs [mailto:dlan...@gmail.com]
>>> Subject: Re: user cancels download attachment
>>>
>>> I will try to debug deeper down into
Ðavîd Låndïs wrote:
...
Incidentally, does anyone know what exception is supposed to be thrown
when a user cancels the attachment download?
I am bit out of my depth here, but presumably when the user does that,
the browser closes its (reading) side of the socket. Whatever process is
at the ot
On Thu, May 20, 2010 at 9:51 PM, Caldarale, Charles R
wrote:
>> From: Ðavîd Låndïs [mailto:dlan...@gmail.com]
>> Subject: Re: user cancels download attachment
>>
>> I will try to debug deeper down into the platform.
>
> What connector are you using? Blocking, N
> From: Ðavîd Låndïs [mailto:dlan...@gmail.com]
> Subject: Re: user cancels download attachment
>
> I will try to debug deeper down into the platform.
What connector are you using? Blocking, NIO, or APR?
> I suppose it is possible there is something else
> buffering it, bu
avîd Låndïs [mailto:dlan...@gmail.com]
>> Subject: Re: user cancels download attachment
>>
>> I was hoping Tomcat would have some way of knowing that
>> it was cancelled and close it.
>
> Look at the API spec for PrintStream: "Methods in this class never throw
> From: Ðavîd Låndïs [mailto:dlan...@gmail.com]
> Subject: Re: user cancels download attachment
>
> I was hoping Tomcat would have some way of knowing that
> it was cancelled and close it.
Look at the API spec for PrintStream: "Methods in this class never throw I/O
except
Thanks again for the info, Chris. Please excuse the formatting, I am
attempting to respond inline to the points below.
On Thu, May 20, 2010 at 6:16 PM, Christopher Schultz
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Ðavîd,
>
> On 5/20/2010 5:30 PM, Ðavîd Låndïs wrote:
>> I think
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ðavîd,
On 5/20/2010 5:30 PM, Ðavîd Låndïs wrote:
> I think it is "streaming" although it does use a buffered writer like
> I mentioned before.
Sure, but if you use a buffered writer to simply dump a huge byte array,
that's not exactly streaming. What
I think it is "streaming" although it does use a buffered writer like
I mentioned before.
Basically, I: generate a line of data, write to the print writer and
then repeat (pseudo code):
printWriter.write("data");
The PrintWriter flushes itself along the way and I can see the Firefox
progress bar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ðavîd,
(Wow, that's a lot of accented characters! Congratulations on probably
having a lot of forms on the web misinterpret your name! There's more
below.)
On 5/20/2010 4:07 PM, Caldarale, Charles R wrote:
>> From: Ðavîd Låndïs [mailto:dlan...@gmail.
I would be interested on the answer when the server is front-ended with
httpd.
I currently have a web services application (using SOAP with attachments)
and I would also benefit from getting a IOException (like the "Broken pipe")
to terminate processing as soon as possible.
On Thu, May 20, 2010 a
It is standalone. Thanks.
On Thu, May 20, 2010 at 4:07 PM, Caldarale, Charles R
wrote:
>> From: Ðavîd Låndïs [mailto:dlan...@gmail.com]
>> Subject: user cancels download attachment
>>
>> Tomcat 6.0.20
>> Java 1.6.0_20-b02
>> Linux 2.6.32-22
>
> I can't answer your question (at least not yet), but
> From: Ðavîd Låndïs [mailto:dlan...@gmail.com]
> Subject: user cancels download attachment
>
> Tomcat 6.0.20
> Java 1.6.0_20-b02
> Linux 2.6.32-22
I can't answer your question (at least not yet), but one more piece of
information is needed: do you have anything front-ending Tomcat, such as http
14 matches
Mail list logo