You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Florian Holeczek (JIRA)" <ji...@apache.org> on 2011/09/11 01:23:09 UTC

[jira] [Closed] (JSPWIKI-146) Client cancels download, I/O exception at AttachmentServlet makes server throw a IllegalStateException

     [ https://issues.apache.org/jira/browse/JSPWIKI-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Holeczek closed JSPWIKI-146.
------------------------------------


> Client cancels download, I/O exception at AttachmentServlet makes server throw a IllegalStateException
> ------------------------------------------------------------------------------------------------------
>
>                 Key: JSPWIKI-146
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-146
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Core & storage
>    Affects Versions: 2.6.0
>         Environment: Jetty 6.1.5
> Sun JDK  1.6u3
> Solaris x86
> JSPWiki 2.4.102
>            Reporter: Claudio Miranda
>            Assignee: Janne Jalkanen
>            Priority: Minor
>             Fix For: 2.6.1
>
>
> At com.ecyrd.jspwiki.attachment.AttachmentServlet, when client drops download, there is a IllegalStateException at server log files, cause by res.sendError( HttpServletResponse.SC_INTERNAL_SERVER_ERROR, msg );
> I understand that as some IOException happened, there is no possible way to determine what caused the IOE, and as this is a simple download, I ask if is necessary to throw a internal server error to the web server, instead to simple logging it
> 2.4.102: line 342
> 2.6.0: line 368
> I report this against 2.6.0, but use 2.4.102, because I see the same code is at both versions.
> See a more detailed discussion at mailing list.
> reference: http://www.nabble.com/Cancel-attachment-download-throws-a-exception-td13948784.html#a13948784

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira