|
From: Ghislain A. <ghi...@gm...> - 2017-02-25 11:48:16
|
SOLVED! I just added in <myFile>.properties the line queryTimeout=60000. (because I need 60s) Seems to be on again. El sáb., 25 feb. 2017 a las 12:24, Ghislain ATEMEZING (< ghi...@gm...>) escribió: > Ouch.. now I have an http error : 503. I can't access the workbench > anymore. > Here is the command: > > $java -server -XX:+UseG1GC -Xmx6g -jar -Djetty.overrideWebXml=/path/to/weboverride.xml > -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 > -Dlog4j.configuration=file:<myFile>.properties ../*blazegraph*.jar > > Any help? > > Thx. > > El sáb., 25 feb. 2017 a las 12:12, Ghislain ATEMEZING (< > ghi...@gm...>) escribió: > > I think I saw it > https://github.com/blazegraph/database/blob/master/bigdata-war-html/src/main/webapp/WEB-INF/web.xml > . > I will use this command for > that -Djetty.overrideWebXml=/path/to/override.xml. > > > El sáb., 25 feb. 2017 a las 11:19, Ghislain ATEMEZING (< > ghi...@gm...>) escribió: > > Thanks Bryan! > Please what do you mean by setting in "web.xml"? I just have a > blazegraph.jar file to start BLZgraph. > I'll see if I can se the timeout directly from the Workbench. > I thought there could be a way to pass a parameter to .properties file for > that. > > Best, > Ghislain > > El vie., 24 feb. 2017 a las 16:26, Bryan Thompson (<br...@bl...>) > escribió: > > The difference is seconds vs milliseconds of resolution in the timeout. > The "timeout" parameter is defined by openrdf. The maxQueryTimeMillis is > defined by blazegraph. > > timeout Specifies a maximum query execution time, in whole seconds. The > value should be an integer. A setting of 0 or a negative number indicates > unlimited query time (the default). > maxQueryTimeMillis Specifies the maximum time that a query is allowed to > run, measured in milliseconds. May be also specified by using HTTP header > X-BIGDATA-MAX-QUERY-MILLIS. > You can also impose a timeout in web.xml. > > Thanks, > Bryan > > > On Fri, Feb 24, 2017 at 4:10 AM, Ghislain ATEMEZING < > ghi...@gm...> wrote: > > Hi, > I am struggling to find an easy way to set the time out limit for a given > namespace using a configuration file or similar. > I've only seen this https://wiki.blazegraph.com/wiki/index.php/REST_API and > I don't understand the difference between the timeout and > maxQueryTimeMillis. > > TIA. > Best, > Ghislain > -- > ------- > "Love all, trust a few, do wrong to none" (W. Shakespeare) > Web: http://atemezing.org > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Bigdata-developers mailing list > Big...@li... > https://lists.sourceforge.net/lists/listinfo/bigdata-developers > > > -- > ------- > "Love all, trust a few, do wrong to none" (W. Shakespeare) > Web: http://atemezing.org > > -- > ------- > "Love all, trust a few, do wrong to none" (W. Shakespeare) > Web: http://atemezing.org > > -- > ------- > "Love all, trust a few, do wrong to none" (W. Shakespeare) > Web: http://atemezing.org > -- ------- "Love all, trust a few, do wrong to none" (W. Shakespeare) Web: http://atemezing.org |