[ https://issues.apache.org/jira/browse/JENA-240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13267559#comment-13267559 ]
Hudson commented on JENA-240: ----------------------------- Integrated in Jena_ARQ #571 (See [https://builds.apache.org/job/Jena_ARQ/571/]) Applied Claude Warren's patch for JENA-240 with some minor formatting tidy up, new tests pass as expected (Revision 1333529) Result = SUCCESS rvesse : Files : * /incubator/jena/Jena2/ARQ/trunk/src/main/java/com/hp/hpl/jena/sparql/engine/http/Service.java * /incubator/jena/Jena2/ARQ/trunk/src/test/java/com/hp/hpl/jena/sparql/engine/TS_Engine.java * /incubator/jena/Jena2/ARQ/trunk/src/test/java/com/hp/hpl/jena/sparql/engine/http * /incubator/jena/Jena2/ARQ/trunk/src/test/java/com/hp/hpl/jena/sparql/engine/http/TestService.java > If the remote SPARQL Service endpoint does not respond the query hangs, > Adding timeout to the Service should fix the problem > ---------------------------------------------------------------------------------------------------------------------------- > > Key: JENA-240 > URL: https://issues.apache.org/jira/browse/JENA-240 > Project: Apache Jena > Issue Type: Improvement > Components: ARQ > Affects Versions: ARQ 2.9.0, ARQ 2.9.1 > Reporter: Claude Warren > Assignee: Rob Vesse > Fix For: ARQ 2.9.1 > > Attachments: TestService.java, patch.txt, patch.txt > > Original Estimate: 24h > Remaining Estimate: 24h > > When creating the HttpQuery object the > com.hp.hpl.jena.sparql.engine.http.Service class does not set any timeout > values. HttpQuery will hang if the remote endpoint does not respond. > I think the solution is to allow the context to specify the timeout values > (and perhaps other setter values on HttpQuery). The context should have > default values and provide a mechanism to override the defaults based on the > URL. Similar to the way query parameters are configured after JENA-195. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira