Return-Path: X-Original-To: apmail-incubator-jena-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-jena-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CCF6A7332 for ; Sun, 13 Nov 2011 13:54:13 +0000 (UTC) Received: (qmail 13096 invoked by uid 500); 13 Nov 2011 13:54:13 -0000 Delivered-To: apmail-incubator-jena-dev-archive@incubator.apache.org Received: (qmail 12838 invoked by uid 500); 13 Nov 2011 13:54:13 -0000 Mailing-List: contact jena-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jena-dev@incubator.apache.org Delivered-To: mailing list jena-dev@incubator.apache.org Received: (qmail 12823 invoked by uid 99); 13 Nov 2011 13:54:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Nov 2011 13:54:12 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Nov 2011 13:54:11 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B688558A54 for ; Sun, 13 Nov 2011 13:53:51 +0000 (UTC) Date: Sun, 13 Nov 2011 13:53:51 +0000 (UTC) From: "Andy Seaborne (Closed) (JIRA)" To: jena-dev@incubator.apache.org Message-ID: <791576221.25157.1321192431749.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <190770826.15849.1320879831607.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (JENA-158) QueryCancelledException not being caught in Fuseki MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JENA-158?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Andy Seaborne closed JENA-158. ------------------------------ =20 > QueryCancelledException not being caught in Fuseki > -------------------------------------------------- > > Key: JENA-158 > URL: https://issues.apache.org/jira/browse/JENA-158 > Project: Jena > Issue Type: Improvement > Components: Fuseki > Reporter: Alexander Dutton > Assignee: Andy Seaborne > Priority: Minor > Fix For: Fuseki 0.2.1 > > Attachments: jena-158.diff > > Original Estimate: 1h > Remaining Estimate: 1h > > [This is a reformulation of http://mail-archives.apache.org/mod_mbox/incu= bator-jena-dev/201111.mbox/%3C4EBAA0A3.8%40oucs.ox.ac.uk%3E and following m= essages] > When a query times out the client currently receives the following, which= doesn't explain much: > > Error 500: Server Error > This is the result of a QueryCancelledException being caught at line 107 = of SPARQL_ServletBase, which has the comment "This should not happen" > It'd be good if this were explicitly caught and a more user-friendly erro= r message provided. > I don't know what HTTP status code should be provided; the SPARQL spec sa= ys 500, but that upsets me (and Hugh Glaser)=C2=B9. Andy points out that it= should be a 5xx status code=C2=B2. I've started a thread on ietf-http-wg a= sking for something along the lines of a "Request Too Onerous" status code.= =C2=B3 > =C2=B9 http://lists.w3.org/Archives/Public/public-lod/2011Apr/0259.html > =C2=B2 http://lists.w3.org/Archives/Public/public-lod/2011Apr/0268.html > =C2=B3 http://lists.w3.org/Archives/Public/ietf-http-wg/2011OctDec/0188.h= tml -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira