|
From: Bryan T. <br...@bl...> - 2016-05-26 20:21:06
|
See https://wiki.blazegraph.com/wiki/index.php/NanoSparqlServer Customizing the web.xml You can override the default web.xml values in the executable jar using the jetty.overrideWebXml property. The file you specify should override the values that you'd like to replace. The web.xml values that default with the blazegraph.jar are in web.xml <https://github.com/blazegraph/database/blob/master/bigdata-war-html/src/main/webapp/WEB-INF/web.xml> . -Djetty.overrideWebXml=/path/to/override.xml A full example is below. java -server -Xmx4g -Djetty.overrideWebXml=/path/to/override.xml -Dbigdata.propertyFile=/etc/blazegraph/RWS Thanks, Bryan On Thu, May 26, 2016 at 2:03 PM, Douglas Fils <dr...@gm...> wrote: > I am using the .jar version though, not a .war file in an app server. > Am I still able to somehow override or reference a new web.xml file? > > > > > On Thu, May 26, 2016 at 12:56 PM Bryan Thompson <br...@bl...> > wrote: > >> You can control this in web.xml. >> >> Thanks, >> Bryan >> >> On Thu, May 26, 2016 at 1:45 PM, Douglas Fils <dr...@gm...> wrote: >> >>> Hello, >>> I am sure this is a simple question but I can't seem to launch a >>> previously created blazegraph instance with the namespaces in "readonly" >>> mode. >>> >>> Is there a simple way to add a -D option or something to >>> >>> java -server -Xmx4g -jar blazegraph.jar >>> >>> such that the existing namespaces are readonly on the sparql endpoint so >>> that I can expose the server to the net without a fear of someone doing a >>> update/delete etc on the triples? >>> >>> Thanks >>> Doug >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Mobile security can be enabling, not merely restricting. Employees who >>> bring their own devices (BYOD) to work are irked by the imposition of MDM >>> restrictions. Mobile Device Manager Plus allows you to control only the >>> apps on BYO-devices by containerizing them, leaving personal data >>> untouched! >>> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j >>> _______________________________________________ >>> Bigdata-developers mailing list >>> Big...@li... >>> https://lists.sourceforge.net/lists/listinfo/bigdata-developers >>> >>> >> |