I am doing some experiments with the Blazegraph Nano SPARQL Server. I started the server with the following command:
$ java -server -Xmx4g -jar bigdata-bundled.jar
However, I need to set a timeout for queries. There is a context parameter named queryTimeout for that, but I do not know how it has to be used. Can I add a command option to set this parameter? If this parameter can only be set in a web.xml
file, where can I find a minimal web.xml
file that I can use to set the queryTimeout
parameter?
It is possible to compile Blazegraph again after updating the
web.xml
file. The steps are:Clone the git repository.
Checkout the release.
Edit
bigdata-war/src/WEB-INF/web.xml
to set thequeryTimeout
property as:Recompile Blazegraph.