|
From: Douglas F. <dr...@gm...> - 2016-05-26 17:45:58
|
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 |
|
From: Douglas F. <dr...@gm...> - 2016-05-26 18:04:16
|
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 >> >> > |
|
From: Bryan T. <br...@bl...> - 2016-05-26 18:23:47
|
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 > > |
|
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 >>> >>> >> |
|
From: Joakim S. <joa...@bl...> - 2016-08-30 17:48:18
|
Hi, In the last release, is it possible to load bz2-files using http://localhost:9999/blazegraph/dataloader It would save time to not have to uncompress before loading. |
|
From: Joakim S. <joa...@bl...> - 2017-08-11 20:44:45
|
Hi Blazegraph has been loading a DBpedia dump for a week, and then crashed. Below is the log. Is there a way to use the generate jul file, or do I have to start again? (2017-08-06 02:49:45,122) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 7 records (#nodes=1, #leaves=6) in 5800ms : addrRoot=-473064121936378609 (2017-08-06 02:52:34,062) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 4 records (#nodes=1, #leaves=3) in 6506ms : addrRoot=-165614776452380163 (2017-08-06 06:10:51,856) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 10 records (#nodes=1, #leaves=9) in 5432ms : addrRoot=-472548042961058590 (2017-08-06 06:21:40,198) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 5 records (#nodes=1, #leaves=4) in 7653ms : addrRoot=-181920881784650115 (2017-08-06 06:27:15,534) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 5 records (#nodes=1, #leaves=4) in 7017ms : addrRoot=-449670607601137751 (2017-08-06 07:13:22,205) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 9 records (#nodes=1, #leaves=8) in 18562ms : addrRoot=-480637274560657468 (2017-08-06 07:13:34,728) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 7 records (#nodes=1, #leaves=6) in 12496ms : addrRoot=-480641135736256967 (2017-08-06 07:22:15,295) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 6 records (#nodes=1, #leaves=5) in 6922ms : addrRoot=-477409546508171647 (2017-08-06 07:22:24,443) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 8 records (#nodes=1, #leaves=7) in 5596ms : addrRoot=-315397783760664442 (2017-08-06 07:24:10,770) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 3 records (#nodes=1, #leaves=2) in 5964ms : addrRoot=-445355273570220260 (2017-08-06 07:24:56,770) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 8 records (#nodes=1, #leaves=7) in 6129ms : addrRoot=-373735671707204031 (2017-08-06 07:26:20,230) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 6 records (#nodes=1, #leaves=5) in 6027ms : addrRoot=-41220798299502714 (2017-08-06 07:31:18,674) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 5 records (#nodes=1, #leaves=4) in 5586ms : addrRoot=-465462180146313494 (2017-08-06 07:34:57,286) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 6 records (#nodes=1, #leaves=5) in 5988ms : addrRoot=-240257837723286486 (2017-08-06 07:40:01,334) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 10 records (#nodes=1, #leaves=9) in 5295ms : addrRoot=-451954469345688115 (2017-08-06 08:15:26,651) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 9 records (#nodes=1, #leaves=8) in 5348ms : addrRoot=-421643205805602695 (2017-08-06 08:21:40,586) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 4 records (#nodes=1, #leaves=3) in 7097ms : addrRoot=-477382037242641071 (2017-08-06 08:22:15,022) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 3 records (#nodes=1, #leaves=2) in 5971ms : addrRoot=-248774787936025141 (2017-08-06 08:23:19,158) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 3 records (#nodes=1, #leaves=2) in 5638ms : addrRoot=-385602357108407291 (2017-08-06 08:24:39,846) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 4 records (#nodes=1, #leaves=3) in 5647ms : addrRoot=-477868029972051680 (2017-08-06 08:26:39,862) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 5 records (#nodes=1, #leaves=4) in 6711ms : addrRoot=-470382683659172823 (2017-08-06 08:27:23,576) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 5 records (#nodes=1, #leaves=4) in 5207ms : addrRoot=-465394624605714811 (2017-08-06 08:33:01,610) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 10 records (#nodes=1, #leaves=9) in 6012ms : addrRoot=-467366164918434365 (2017-08-06 08:57:17,809) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.spo.POS, 6 records (#nodes=1, #leaves=5) in 5406ms : addrRoot=-398968480017152282 (2017-08-06 09:21:24,729) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 9 records (#nodes=1, #leaves=8) in 5772ms : addrRoot=-467691165093722943 (2017-08-06 09:22:09,626) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 6 records (#nodes=1, #leaves=5) in 5405ms : addrRoot=-479202390411573670 (2017-08-06 09:24:33,418) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 9 records (#nodes=1, #leaves=8) in 5789ms : addrRoot=-468223109678234593 (2017-08-06 10:18:56,330) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 7 records (#nodes=1, #leaves=6) in 5756ms : addrRoot=-320730084442896695 (2017-08-06 10:22:04,562) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 6 records (#nodes=1, #leaves=5) in 5956ms : addrRoot=-469187484455009050 (2017-08-06 10:22:29,066) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 6 records (#nodes=1, #leaves=5) in 5620ms : addrRoot=-446988001092827865 (2017-08-06 10:23:26,606) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 1 records (#nodes=1, #leaves=0) in 5643ms : addrRoot=-484862513062607784 (2017-08-06 10:25:09,166) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 5 records (#nodes=1, #leaves=4) in 5032ms : addrRoot=-322367063983127396 (2017-08-06 10:29:47,434) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 8 records (#nodes=1, #leaves=7) in 5644ms : addrRoot=-157299625278044806 (2017-08-06 10:30:02,378) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 8 records (#nodes=1, #leaves=7) in 5324ms : addrRoot=-477423900288875372 (2017-08-06 10:30:43,478) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 3 records (#nodes=1, #leaves=2) in 5084ms : addrRoot=-471912984801704102 (2017-08-06 10:37:35,786) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 10 records (#nodes=1, #leaves=9) in 5425ms : addrRoot=-484499429412305698 (2017-08-06 10:38:32,454) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 7 records (#nodes=1, #leaves=6) in 5190ms : addrRoot=-483755579731344428 (2017-08-06 10:39:02,754) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 9 records (#nodes=1, #leaves=8) in 5068ms : addrRoot=-479980513931557508 (2017-08-06 11:16:07,362) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 4 records (#nodes=1, #leaves=3) in 5123ms : addrRoot=-470074867648035382 (2017-08-06 11:16:37,402) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 8 records (#nodes=1, #leaves=7) in 5707ms : addrRoot=-216317900468778880 (2017-08-06 11:18:25,094) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 9 records (#nodes=1, #leaves=8) in 6517ms : addrRoot=-240262201410059165 (2017-08-06 11:19:14,944) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 9 records (#nodes=1, #leaves=8) in 6839ms : addrRoot=-447453657152091941 (2017-08-06 11:24:05,530) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 8 records (#nodes=1, #leaves=7) in 7016ms : addrRoot=-468221490475563240 (2017-08-06 12:11:37,558) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 7 records (#nodes=1, #leaves=6) in 9428ms : addrRoot=-480367353045972208 (2017-08-06 12:12:04,796) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 9 records (#nodes=1, #leaves=8) in 6050ms : addrRoot=-223437951223200275 (2017-08-06 12:13:48,790) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 10 records (#nodes=1, #leaves=9) in 5192ms : addrRoot=-466270578890766330 (2017-08-06 12:16:29,302) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 7 records (#nodes=1, #leaves=6) in 6905ms : addrRoot=-468178824270445329 (2017-08-06 12:17:17,142) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 6 records (#nodes=1, #leaves=5) in 7349ms : addrRoot=-472158957578746043 (2017-08-06 12:21:34,666) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 4 records (#nodes=1, #leaves=3) in 6904ms : addrRoot=-466738979434134057 (2017-08-06 12:24:40,022) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 7 records (#nodes=1, #leaves=6) in 5417ms : addrRoot=-472675466050796023 (2017-08-06 12:27:05,694) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 6 records (#nodes=1, #leaves=5) in 5466ms : addrRoot=-465807233523906567 (2017-08-06 12:32:44,126) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 8 records (#nodes=1, #leaves=7) in 5045ms : addrRoot=-486962167954799636 (2017-08-06 13:11:10,102) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 10 records (#nodes=1, #leaves=9) in 6124ms : addrRoot=-344438372636293322 (2017-08-06 13:11:27,515) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 10 records (#nodes=1, #leaves=9) in 5625ms : addrRoot=-185966242761275980 (2017-08-06 13:12:05,313) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 6 records (#nodes=1, #leaves=5) in 6257ms : addrRoot=-480677449684745155 (2017-08-06 13:12:35,202) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 7 records (#nodes=1, #leaves=6) in 6111ms : addrRoot=-331965499845901291 (2017-08-06 13:13:46,102) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 4 records (#nodes=1, #leaves=3) in 8761ms : addrRoot=-476491097816693499 (2017-08-06 13:14:22,874) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 3 records (#nodes=1, #leaves=2) in 17890ms : addrRoot=-479070449016240249 (2017-08-06 13:14:57,811) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 6 records (#nodes=1, #leaves=5) in 9050ms : addrRoot=-191252982430431624 (2017-08-06 13:15:50,470) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 3 records (#nodes=1, #leaves=2) in 6009ms : addrRoot=-484807030675077502 (2017-08-06 13:19:23,587) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 7 records (#nodes=2, #leaves=5) in 26414ms : addrRoot=-474756046993226073 (2017-08-06 13:19:49,358) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 10 records (#nodes=1, #leaves=9) in 12992ms : addrRoot=-235502935264459432 (2017-08-06 13:20:05,254) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 5 records (#nodes=1, #leaves=4) in 15871ms : addrRoot=-235519230370380580 (2017-08-06 13:20:17,867) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 3 records (#nodes=1, #leaves=2) in 12187ms : addrRoot=-182973956226021161 (2017-08-06 13:21:35,823) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 2 records (#nodes=1, #leaves=1) in 9108ms : addrRoot=-487277908180597427 (2017-08-06 13:26:34,794) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 8 records (#nodes=1, #leaves=7) in 6966ms : addrRoot=-433455216273127884 (2017-08-06 13:27:29,178) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 9 records (#nodes=1, #leaves=8) in 6023ms : addrRoot=-320718488031197897 (2017-08-06 17:02:02,782) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 6 records (#nodes=1, #leaves=5) in 6198ms : addrRoot=-218534421421095591 (2017-08-07 02:31:49,378) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.spo.POS, 9 records (#nodes=1, #leaves=8) in 5517ms : addrRoot=-54575990516480614 (2017-08-07 16:39:18,028) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 7 records (#nodes=1, #leaves=6) in 5701ms : addrRoot=-492143904263502327 (2017-08-07 23:35:37,353) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.spo.SPO, 3 records (#nodes=2, #leaves=1) in 6511ms : addrRoot=-500841423491300433 (2017-08-08 00:01:23,782) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 7 records (#nodes=1, #leaves=6) in 7704ms : addrRoot=-292008637407165309 (2017-08-08 00:02:04,260) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 8 records (#nodes=1, #leaves=7) in 11365ms : addrRoot=-328203748444731276 (2017-08-08 00:04:02,602) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 3 records (#nodes=1, #leaves=2) in 5821ms : addrRoot=-497618063420553348 (2017-08-08 03:57:52,868) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 6 records (#nodes=1, #leaves=5) in 7667ms : addrRoot=-502335646908545043 (2017-08-08 06:34:33,672) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 5 records (#nodes=1, #leaves=4) in 5625ms : addrRoot=-191247433332685635 (2017-08-08 06:35:17,659) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 9 records (#nodes=1, #leaves=8) in 8255ms : addrRoot=-499226206550358828 (2017-08-08 06:36:35,142) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 8 records (#nodes=1, #leaves=7) in 5007ms : addrRoot=-476471761873926550 (2017-08-08 06:37:20,345) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 5 records (#nodes=1, #leaves=4) in 8198ms : addrRoot=-218559289281739081 (2017-08-08 06:39:41,697) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 6 records (#nodes=1, #leaves=5) in 7034ms : addrRoot=-467323331209591081 (2017-08-08 06:40:20,278) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 5 records (#nodes=1, #leaves=4) in 9535ms : addrRoot=-208206442413423270 (2017-08-08 06:40:37,873) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 9 records (#nodes=1, #leaves=8) in 8598ms : addrRoot=-495329627535833504 (2017-08-08 06:41:21,338) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 7 records (#nodes=1, #leaves=6) in 11696ms : addrRoot=-202360708455725826 (2017-08-08 06:41:58,140) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 7 records (#nodes=1, #leaves=6) in 13327ms : addrRoot=-472124301487635236 (2017-08-08 06:44:40,297) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 5 records (#nodes=1, #leaves=4) in 6272ms : addrRoot=-298386169920485905 (2017-08-08 06:44:55,167) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 9 records (#nodes=1, #leaves=8) in 8759ms : addrRoot=-101002521106971440 (2017-08-08 06:45:01,676) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 10 records (#nodes=1, #leaves=9) in 5636ms : addrRoot=-240103949045070367 (2017-08-08 06:45:08,166) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 7 records (#nodes=1, #leaves=6) in 5993ms : addrRoot=-240649564510484658 (2017-08-08 06:46:23,074) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 6 records (#nodes=1, #leaves=5) in 10409ms : addrRoot=-248767434952014504 (2017-08-08 06:46:35,089) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 10 records (#nodes=1, #leaves=9) in 6669ms : addrRoot=-240629494128310718 (2017-08-08 06:47:20,356) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 9 records (#nodes=1, #leaves=8) in 12621ms : addrRoot=-206724579912055290 (2017-08-08 06:51:51,578) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 8 records (#nodes=1, #leaves=7) in 6666ms : addrRoot=-477387483261171995 (2017-08-08 06:53:41,649) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 10 records (#nodes=1, #leaves=9) in 5096ms : addrRoot=-410044307320338863 (2017-08-08 06:54:40,021) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 4 records (#nodes=1, #leaves=3) in 6004ms : addrRoot=-266958798998993931 (2017-08-08 06:56:19,472) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 3 records (#nodes=1, #leaves=2) in 6071ms : addrRoot=-220652725061286064 (2017-08-08 06:59:01,519) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 9 records (#nodes=1, #leaves=8) in 8130ms : addrRoot=-223429799375271992 (2017-08-08 06:59:36,264) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 5 records (#nodes=1, #leaves=4) in 9099ms : addrRoot=-470072956387588525 (2017-08-08 07:00:51,034) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 4 records (#nodes=1, #leaves=3) in 6912ms : addrRoot=-488506968906922189 (2017-08-08 07:02:49,826) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 6 records (#nodes=1, #leaves=5) in 12203ms : addrRoot=-166140798276991134 (2017-08-08 07:03:19,127) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 7 records (#nodes=1, #leaves=6) in 12804ms : addrRoot=-468189213796334247 (2017-08-08 07:03:57,826) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 4 records (#nodes=1, #leaves=3) in 14045ms : addrRoot=-465479643483339063 (2017-08-08 07:05:20,394) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 10 records (#nodes=1, #leaves=9) in 5672ms : addrRoot=-468603995967977702 (2017-08-08 07:05:40,793) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 5 records (#nodes=1, #leaves=4) in 11554ms : addrRoot=-473089861675383376 (2017-08-08 07:05:46,492) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 7 records (#nodes=1, #leaves=6) in 5673ms : addrRoot=-488978517661318052 (2017-08-08 07:06:22,709) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 9 records (#nodes=1, #leaves=8) in 6632ms : addrRoot=-480815296660110029 (2017-08-08 07:08:53,584) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 2 records (#nodes=1, #leaves=1) in 5270ms : addrRoot=-472696180678064583 (2017-08-08 07:09:27,072) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 9 records (#nodes=1, #leaves=8) in 6722ms : addrRoot=-465474098680560303 (2017-08-08 07:09:37,923) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 10 records (#nodes=1, #leaves=9) in 10594ms : addrRoot=-480796038026754304 (2017-08-08 07:10:53,491) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 4 records (#nodes=1, #leaves=3) in 8516ms : addrRoot=-501599382139828426 (2017-08-08 07:11:13,564) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 4 records (#nodes=1, #leaves=3) in 8444ms : addrRoot=-475721611475942222 (2017-08-08 07:12:40,948) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 5 records (#nodes=1, #leaves=4) in 6848ms : addrRoot=-478331585792309952 (2017-08-08 07:21:54,576) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 7 records (#nodes=1, #leaves=6) in 5048ms : addrRoot=-503563204396317028 (2017-08-08 07:22:36,608) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 1 records (#nodes=1, #leaves=0) in 7802ms : addrRoot=-503150518168713924 (2017-08-08 07:22:54,876) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 1 records (#nodes=1, #leaves=0) in 7230ms : addrRoot=-165623155933574848 (2017-08-08 07:23:14,836) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 7 records (#nodes=1, #leaves=6) in 7239ms : addrRoot=-165641392364713895 (2017-08-08 07:23:22,131) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 3 records (#nodes=1, #leaves=2) in 5593ms : addrRoot=-491284799135152729 (2017-08-08 07:23:34,367) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 4 records (#nodes=1, #leaves=3) in 5008ms : addrRoot=-501217550957279732 (2017-08-08 07:23:45,635) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 3 records (#nodes=1, #leaves=2) in 5328ms : addrRoot=-479889860056841070 (2017-08-08 07:23:55,570) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 8 records (#nodes=1, #leaves=7) in 9090ms : addrRoot=-475686852305615324 (2017-08-08 07:24:05,968) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 1 records (#nodes=1, #leaves=0) in 9349ms : addrRoot=-502349880430164298 (2017-08-08 07:24:23,354) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 3 records (#nodes=1, #leaves=2) in 8993ms : addrRoot=-503596331479071261 (2017-08-08 07:24:40,060) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 3 records (#nodes=1, #leaves=2) in 10312ms : addrRoot=-489365245106583230 (2017-08-08 07:25:15,164) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 5 records (#nodes=1, #leaves=4) in 5138ms : addrRoot=-480342768653170271 (2017-08-08 07:25:24,844) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 3 records (#nodes=1, #leaves=2) in 6432ms : addrRoot=-480344503819957834 (2017-08-08 07:25:32,517) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 7 records (#nodes=1, #leaves=6) in 6025ms : addrRoot=-503618695373781375 (2017-08-08 08:25:56,468) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 10 records (#nodes=1, #leaves=9) in 5264ms : addrRoot=-417618799974414700 (2017-08-08 11:02:09,951) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.spo.POS, 10 records (#nodes=1, #leaves=9) in 12837ms : addrRoot=-493369413051874318 (2017-08-08 12:58:43,590) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 8 records (#nodes=1, #leaves=7) in 11997ms : addrRoot=-504167987331201920 (2017-08-08 14:20:19,026) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 3 records (#nodes=1, #leaves=2) in 5518ms : addrRoot=-478234098624625428 (2017-08-08 14:54:19,232) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 10 records (#nodes=1, #leaves=9) in 5304ms : addrRoot=-487646961835441083 (2017-08-08 14:55:40,093) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 9 records (#nodes=1, #leaves=8) in 6248ms : addrRoot=-210078816226244855 (2017-08-08 14:55:57,958) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 5 records (#nodes=1, #leaves=4) in 17230ms : addrRoot=-429840485897468659 (2017-08-08 16:48:11,614) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 7 records (#nodes=1, #leaves=6) in 8048ms : addrRoot=-509172285656005179 (2017-08-08 17:55:22,324) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 4 records (#nodes=1, #leaves=3) in 5646ms : addrRoot=-502340912538450722 (2017-08-08 19:33:59,003) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 4 records (#nodes=1, #leaves=3) in 8025ms : addrRoot=-129249056428915346 (2017-08-08 19:34:47,225) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 7 records (#nodes=1, #leaves=6) in 6955ms : addrRoot=-490535799788403626 (2017-08-08 19:35:16,505) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 4 records (#nodes=2, #leaves=2) in 5946ms : addrRoot=-510555312369956162 (2017-08-08 19:35:51,408) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 8 records (#nodes=1, #leaves=7) in 12315ms : addrRoot=-471234989854292511 (2017-08-08 19:36:31,049) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 10 records (#nodes=1, #leaves=9) in 5778ms : addrRoot=-486552153196853469 (2017-08-08 19:36:58,348) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 4 records (#nodes=1, #leaves=3) in 5543ms : addrRoot=-507272784829740737 (2017-08-08 19:39:59,884) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 6 records (#nodes=1, #leaves=5) in 7975ms : addrRoot=-470713469155407762 (2017-08-08 19:43:13,313) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.spo.SPO, 3 records (#nodes=1, #leaves=2) in 5412ms : addrRoot=-511037972204747120 (2017-08-08 19:43:53,539) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.spo.SPO, 9 records (#nodes=1, #leaves=8) in 5174ms : addrRoot=-508843686298121297 (2017-08-08 21:21:40,167) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 2 records (#nodes=1, #leaves=1) in 7373ms : addrRoot=-242886495147391757 (2017-08-08 21:22:09,710) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 1 records (#nodes=1, #leaves=0) in 5726ms : addrRoot=-509244213473311624 (2017-08-08 21:22:19,553) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 6 records (#nodes=1, #leaves=5) in 9374ms : addrRoot=-485587559376747209 (2017-08-08 21:26:04,940) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 8 records (#nodes=1, #leaves=7) in 8474ms : addrRoot=-487327935959660647 (2017-08-08 21:26:42,081) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 2 records (#nodes=1, #leaves=1) in 8469ms : addrRoot=-511903975050573775 (2017-08-09 00:20:19,026) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 9 records (#nodes=1, #leaves=8) in 6793ms : addrRoot=-507612791620761874 (2017-08-09 00:21:49,268) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 5 records (#nodes=1, #leaves=4) in 10039ms : addrRoot=-11180938037820454 (2017-08-09 00:42:48,195) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 6 records (#nodes=1, #leaves=5) in 6269ms : addrRoot=-500745284943346262 (2017-08-09 05:52:14,796) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.spo.OSP, 10 records (#nodes=1, #leaves=9) in 5398ms : addrRoot=-463486460830415496 (2017-08-09 10:14:52,182) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 8 records (#nodes=1, #leaves=7) in 10013ms : addrRoot=-466443833576520237 (2017-08-09 10:16:19,888) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 9 records (#nodes=1, #leaves=8) in 9752ms : addrRoot=-481932645287066282 (2017-08-09 15:12:57,553) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.spo.SPO, 1 records (#nodes=1, #leaves=0) in 5045ms : addrRoot=-220702417832900584 (2017-08-09 15:12:57,553) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.spo.OSP, 7 records (#nodes=1, #leaves=6) in 5046ms : addrRoot=-498536731155364764 (2017-08-11 02:51:48,003) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 6 records (#nodes=1, #leaves=5) in 7640ms : addrRoot=-507578839904287712 (2017-08-11 02:52:11,481) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 9 records (#nodes=1, #leaves=8) in 23024ms : addrRoot=-197892490768940061 (2017-08-11 05:15:33,037) WARN : AbstractBTree.java:3758: wrote: name=dbpediaFull.lex.search, 8 records (#nodes=1, #leaves=7) in 12701ms : addrRoot=-331983392679656360 (2017-08-11 07:29:12,249) ERROR: BigdataRDFServlet.java:214: cause=java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: java.io.UTFDataFormatException: encoded string too long: 73257 bytes, query=DATALOADER-SERVLET: dbpediaFull java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: java.io.UTFDataFormatException: encoded string too long: 73257 bytes at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at com.bigdata.rdf.sail.webapp.BigdataServlet.submitApiTask(BigdataServlet.java:281) at com.bigdata.rdf.sail.webapp.DataLoaderServlet.doBulkLoad(DataLoaderServlet.java:310) at com.bigdata.rdf.sail.webapp.DataLoaderServlet.doPost(DataLoaderServlet.java:108) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:769) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1125) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1059) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handle(Server.java:497) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:248) at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:610) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:539) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.io.UTFDataFormatException: encoded string too long: 73257 bytes at com.bigdata.rdf.lexicon.LexiconRelation.addBlobs(LexiconRelation.java:1968) at com.bigdata.rdf.lexicon.LexiconRelation.addTerms(LexiconRelation.java:1877) at com.bigdata.rdf.rio.StatementBuffer$Batch.addTerms(StatementBuffer.java:1951) at com.bigdata.rdf.rio.StatementBuffer$Batch.writeNow(StatementBuffer.java:1881) at com.bigdata.rdf.rio.StatementBuffer$Batch.access$1000(StatementBuffer.java:1645) at com.bigdata.rdf.rio.StatementBuffer.incrementalWrite(StatementBuffer.java:1362) at com.bigdata.rdf.rio.StatementBuffer.add(StatementBuffer.java:2240) at com.bigdata.rdf.rio.StatementBuffer.add(StatementBuffer.java:2219) at com.bigdata.rdf.rio.PresortRioLoader.handleStatement(PresortRioLoader.java:162) at org.openrdf.rio.turtle.TurtleParser.reportStatement(TurtleParser.java:1155) at org.openrdf.rio.turtle.TurtleParser.parseObject(TurtleParser.java:505) at org.openrdf.rio.turtle.TurtleParser.parseObjectList(TurtleP... [truncated message content] |
|
From: Douglas F. <dr...@gm...> - 2016-05-27 15:57:56
|
Bryan,
I am following this and the docs. However, when I pull the web.xml alter
the lines for read only to:
<context-param>
<description>When true, the REST API will not permit mutation
operations.</description>
<param-name>readOnly</param-name>
<param-value>true</param-value>
</context-param>
I run with: java -server -Xmx4g -Djetty.overrideWebXml=./override.xml
-jar blazegraph.jar
I get errors
WARN : NanoSparqlServer.java:517: Starting NSS
WARN : AbstractLifeCycle.java:212: FAILED
org.eclipse.jetty.servlet.ServletHandler@239963d8:
java.lang.IllegalStateException: Multiple servlets map to path: /sparql:
REST API,REST API
java.lang.IllegalStateException: Multiple servlets map to path: /sparql:
REST API,REST API
WARN : WebAppContext.java:506: Failed startup of context
o.e.j.w.WebAppContext@4157f54e
{/blazegraph,jar:file:/Users/dfils/Desktop/blazegraph/blazegraph.jar!/war,STARTING}{jar:file:/Users/dfils/Desktop/blazegraph/blazegraph.jar!/war}
java.lang.IllegalStateException: Multiple servlets map to path: /sparql:
REST API,REST API
sorry to be pest, I feel like I'm missing something simple.
Doug
On Thu, May 26, 2016 at 2:50 PM Bryan Thompson <br...@bl...> wrote:
> 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
>>>>
>>>>
>>>
>
|
|
From: Bryan T. <br...@bl...> - 2016-05-27 16:20:32
|
Adding Brad. He is the jetty wizard.
Thanks,
Bryan
On Fri, May 27, 2016 at 11:57 AM, Douglas Fils <dr...@gm...> wrote:
> Bryan,
> I am following this and the docs. However, when I pull the web.xml
> alter the lines for read only to:
>
> <context-param>
> <description>When true, the REST API will not permit mutation
> operations.</description>
> <param-name>readOnly</param-name>
> <param-value>true</param-value>
> </context-param>
>
> I run with: java -server -Xmx4g -Djetty.overrideWebXml=./override.xml
> -jar blazegraph.jar
>
> I get errors
>
> WARN : NanoSparqlServer.java:517: Starting NSS
> WARN : AbstractLifeCycle.java:212: FAILED
> org.eclipse.jetty.servlet.ServletHandler@239963d8:
> java.lang.IllegalStateException: Multiple servlets map to path: /sparql:
> REST API,REST API
> java.lang.IllegalStateException: Multiple servlets map to path: /sparql:
> REST API,REST API
>
> WARN : WebAppContext.java:506: Failed startup of context
> o.e.j.w.WebAppContext@4157f54e
> {/blazegraph,jar:file:/Users/dfils/Desktop/blazegraph/blazegraph.jar!/war,STARTING}{jar:file:/Users/dfils/Desktop/blazegraph/blazegraph.jar!/war}
> java.lang.IllegalStateException: Multiple servlets map to path: /sparql:
> REST API,REST API
>
>
> sorry to be pest, I feel like I'm missing something simple.
>
> Doug
>
>
>
> On Thu, May 26, 2016 at 2:50 PM Bryan Thompson <br...@bl...>
> wrote:
>
>> 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
>>>>>
>>>>>
>>>>
>>
|
|
From: Brad B. <be...@bl...> - 2016-05-27 17:17:41
Attachments:
readonly.xml
|
Doug, You need to wrap it in the web-app tag (see contents below and attached). I've updated the Wiki as well with this documentation. Happy Blazegraphing... ;-) Cheers, --Brad <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_1.xsd" version="3.1"> <context-param> <description>When true, the REST API will not permit mutation operations.</description> <param-name>readOnly</param-name> <param-value>true</param-value> </context-param> </web-app> On Fri, May 27, 2016 at 11:57 AM, Douglas Fils <dr...@gm...> wrote: > Bryan, > I am following this and the docs. However, when I pull the web.xml > alter the lines for read only to: > > <context-param> > <description>When true, the REST API will not permit mutation > operations.</description> > <param-name>readOnly</param-name> > <param-value>true</param-value> > </context-param> > > I run with: java -server -Xmx4g -Djetty.overrideWebXml=./override.xml > -jar blazegraph.jar > > I get errors > > WARN : NanoSparqlServer.java:517: Starting NSS > WARN : AbstractLifeCycle.java:212: FAILED > org.eclipse.jetty.servlet.ServletHandler@239963d8: > java.lang.IllegalStateException: Multiple servlets map to path: /sparql: > REST API,REST API > java.lang.IllegalStateException: Multiple servlets map to path: /sparql: > REST API,REST API > > WARN : WebAppContext.java:506: Failed startup of context > o.e.j.w.WebAppContext@4157f54e > {/blazegraph,jar:file:/Users/dfils/Desktop/blazegraph/blazegraph.jar!/war,STARTING}{jar:file:/Users/dfils/Desktop/blazegraph/blazegraph.jar!/war} > java.lang.IllegalStateException: Multiple servlets map to path: /sparql: > REST API,REST API > > > sorry to be pest, I feel like I'm missing something simple. > > Doug > > > > On Thu, May 26, 2016 at 2:50 PM Bryan Thompson <br...@bl...> > wrote: > >> 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 >>>>> >>>>> >>>> >> > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > _______________________________________________ > Bigdata-developers mailing list > Big...@li... > https://lists.sourceforge.net/lists/listinfo/bigdata-developers > > -- _______________ Brad Bebee CEO Blazegraph e: be...@bl... m: 202.642.7961 w: www.blazegraph.com Blazegraph products help to solve the Graph Cache Thrash to achieve large scale processing for graph and predictive analytics. Blazegraph is the creator of the industry’s first GPU-accelerated high-performance database for large graphs, has been named as one of the “10 Companies and Technologies to Watch in 2016” <http://insideanalysis.com/2016/01/20535/>. Blazegraph Database <https://www.blazegraph.com/> is our ultra-high performance graph database that supports both RDF/SPARQL and Apache TinkerPop™ APIs. Blazegraph GPU <https://www.blazegraph.com/product/gpu-accelerated/> andBlazegraph DAS <https://www.blazegraph.com/product/gpu-accelerated/>L are disruptive new technologies that use GPUs to enable extreme scaling that is thousands of times faster and 40 times more affordable than CPU-based solutions. CONFIDENTIALITY NOTICE: This email and its contents and attachments are for the sole use of the intended recipient(s) and are confidential or proprietary to SYSTAP, LLC DBA Blazegraph. Any unauthorized review, use, disclosure, dissemination or copying of this email or its contents or attachments is prohibited. If you have received this communication in error, please notify the sender by reply email and permanently delete all copies of the email and its contents and attachments. |
|
From: Brad B. <be...@bl...> - 2016-05-27 17:26:54
|
Here is the wiki link: https://wiki.blazegraph.com/wiki/index.php/NanoSparqlServer#Read_Only_Configuration_with_the_Jetty_Override_and_Executable_Jar . On Fri, May 27, 2016 at 1:17 PM, Brad Bebee <be...@bl...> wrote: > Doug, > > You need to wrap it in the web-app tag (see contents below and attached). > I've updated the Wiki as well with this documentation. Happy > Blazegraphing... ;-) > > Cheers, --Brad > > <?xml version="1.0" encoding="UTF-8"?> > > <web-app xmlns="http://java.sun.com/xml/ns/javaee" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > http://java.sun.com/xml/ns/javaee/web-app_3_1.xsd" > > version="3.1"> > > <context-param> > > <description>When true, the REST API will not permit mutation > operations.</description> > > <param-name>readOnly</param-name> > > <param-value>true</param-value> > > </context-param> > > </web-app> > > On Fri, May 27, 2016 at 11:57 AM, Douglas Fils <dr...@gm...> wrote: > >> Bryan, >> I am following this and the docs. However, when I pull the web.xml >> alter the lines for read only to: >> >> <context-param> >> <description>When true, the REST API will not permit mutation >> operations.</description> >> <param-name>readOnly</param-name> >> <param-value>true</param-value> >> </context-param> >> >> I run with: java -server -Xmx4g -Djetty.overrideWebXml=./override.xml >> -jar blazegraph.jar >> >> I get errors >> >> WARN : NanoSparqlServer.java:517: Starting NSS >> WARN : AbstractLifeCycle.java:212: FAILED >> org.eclipse.jetty.servlet.ServletHandler@239963d8: >> java.lang.IllegalStateException: Multiple servlets map to path: /sparql: >> REST API,REST API >> java.lang.IllegalStateException: Multiple servlets map to path: /sparql: >> REST API,REST API >> >> WARN : WebAppContext.java:506: Failed startup of context >> o.e.j.w.WebAppContext@4157f54e >> {/blazegraph,jar:file:/Users/dfils/Desktop/blazegraph/blazegraph.jar!/war,STARTING}{jar:file:/Users/dfils/Desktop/blazegraph/blazegraph.jar!/war} >> java.lang.IllegalStateException: Multiple servlets map to path: /sparql: >> REST API,REST API >> >> >> sorry to be pest, I feel like I'm missing something simple. >> >> Doug >> >> >> >> On Thu, May 26, 2016 at 2:50 PM Bryan Thompson <br...@bl...> >> wrote: >> >>> 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 >>>>>> >>>>>> >>>>> >>> >> >> ------------------------------------------------------------------------------ >> What NetFlow Analyzer can do for you? Monitors network bandwidth and >> traffic >> patterns at an interface-level. Reveals which users, apps, and protocols >> are >> consuming the most bandwidth. Provides multi-vendor support for NetFlow, >> J-Flow, sFlow and other flows. Make informed decisions using capacity >> planning reports. >> https://ad.doubleclick.net/ddm/clk/305295220;132659582;e >> _______________________________________________ >> Bigdata-developers mailing list >> Big...@li... >> https://lists.sourceforge.net/lists/listinfo/bigdata-developers >> >> > > > -- > _______________ > Brad Bebee > CEO > Blazegraph > e: be...@bl... > m: 202.642.7961 > w: www.blazegraph.com > > Blazegraph products help to solve the Graph Cache Thrash to achieve large > scale processing for graph and predictive analytics. Blazegraph is the > creator of the industry’s first GPU-accelerated high-performance database > for large graphs, has been named as one of the “10 Companies and > Technologies to Watch in 2016” <http://insideanalysis.com/2016/01/20535/>. > > > Blazegraph Database <https://www.blazegraph.com/> is our ultra-high > performance graph database that supports both RDF/SPARQL and Apache > TinkerPop™ APIs. Blazegraph GPU > <https://www.blazegraph.com/product/gpu-accelerated/> andBlazegraph DAS > <https://www.blazegraph.com/product/gpu-accelerated/>L are disruptive new > technologies that use GPUs to enable extreme scaling that is thousands of > times faster and 40 times more affordable than CPU-based solutions. > > CONFIDENTIALITY NOTICE: This email and its contents and attachments are > for the sole use of the intended recipient(s) and are confidential or > proprietary to SYSTAP, LLC DBA Blazegraph. Any unauthorized review, use, > disclosure, dissemination or copying of this email or its contents or > attachments is prohibited. If you have received this communication in > error, please notify the sender by reply email and permanently delete all > copies of the email and its contents and attachments. > -- _______________ Brad Bebee CEO Blazegraph e: be...@bl... m: 202.642.7961 w: www.blazegraph.com Blazegraph products help to solve the Graph Cache Thrash to achieve large scale processing for graph and predictive analytics. Blazegraph is the creator of the industry’s first GPU-accelerated high-performance database for large graphs, has been named as one of the “10 Companies and Technologies to Watch in 2016” <http://insideanalysis.com/2016/01/20535/>. Blazegraph Database <https://www.blazegraph.com/> is our ultra-high performance graph database that supports both RDF/SPARQL and Apache TinkerPop™ APIs. Blazegraph GPU <https://www.blazegraph.com/product/gpu-accelerated/> andBlazegraph DAS <https://www.blazegraph.com/product/gpu-accelerated/>L are disruptive new technologies that use GPUs to enable extreme scaling that is thousands of times faster and 40 times more affordable than CPU-based solutions. CONFIDENTIALITY NOTICE: This email and its contents and attachments are for the sole use of the intended recipient(s) and are confidential or proprietary to SYSTAP, LLC DBA Blazegraph. Any unauthorized review, use, disclosure, dissemination or copying of this email or its contents or attachments is prohibited. If you have received this communication in error, please notify the sender by reply email and permanently delete all copies of the email and its contents and attachments. |
|
From: Douglas F. <dr...@gm...> - 2016-05-27 17:50:15
|
Brad, Works perfect. As noted my error was copying the whole base web.xml and making that change in it and using it. Using your version where just that one node is included and changed worked perfectly. Thanks for this... Next I need to update my Dockerfile process, but I am sure this is going to work. Really like blazegraph.... coming from some other triple stores and really seem to resonate with this one. Take care Doug On Fri, May 27, 2016 at 12:26 PM Brad Bebee <be...@bl...> wrote: > Here is the wiki link: > https://wiki.blazegraph.com/wiki/index.php/NanoSparqlServer#Read_Only_Configuration_with_the_Jetty_Override_and_Executable_Jar > . > > On Fri, May 27, 2016 at 1:17 PM, Brad Bebee <be...@bl...> wrote: > >> Doug, >> >> You need to wrap it in the web-app tag (see contents below and >> attached). I've updated the Wiki as well with this documentation. Happy >> Blazegraphing... ;-) >> >> Cheers, --Brad >> >> <?xml version="1.0" encoding="UTF-8"?> >> >> <web-app xmlns="http://java.sun.com/xml/ns/javaee" >> >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> >> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee >> http://java.sun.com/xml/ns/javaee/web-app_3_1.xsd" >> >> version="3.1"> >> >> <context-param> >> >> <description>When true, the REST API will not permit mutation >> operations.</description> >> >> <param-name>readOnly</param-name> >> >> <param-value>true</param-value> >> >> </context-param> >> >> </web-app> >> >> On Fri, May 27, 2016 at 11:57 AM, Douglas Fils <dr...@gm...> wrote: >> >>> Bryan, >>> I am following this and the docs. However, when I pull the web.xml >>> alter the lines for read only to: >>> >>> <context-param> >>> <description>When true, the REST API will not permit mutation >>> operations.</description> >>> <param-name>readOnly</param-name> >>> <param-value>true</param-value> >>> </context-param> >>> >>> I run with: java -server -Xmx4g -Djetty.overrideWebXml=./override.xml >>> -jar blazegraph.jar >>> >>> I get errors >>> >>> WARN : NanoSparqlServer.java:517: Starting NSS >>> WARN : AbstractLifeCycle.java:212: FAILED >>> org.eclipse.jetty.servlet.ServletHandler@239963d8: >>> java.lang.IllegalStateException: Multiple servlets map to path: /sparql: >>> REST API,REST API >>> java.lang.IllegalStateException: Multiple servlets map to path: /sparql: >>> REST API,REST API >>> >>> WARN : WebAppContext.java:506: Failed startup of context >>> o.e.j.w.WebAppContext@4157f54e >>> {/blazegraph,jar:file:/Users/dfils/Desktop/blazegraph/blazegraph.jar!/war,STARTING}{jar:file:/Users/dfils/Desktop/blazegraph/blazegraph.jar!/war} >>> java.lang.IllegalStateException: Multiple servlets map to path: /sparql: >>> REST API,REST API >>> >>> >>> sorry to be pest, I feel like I'm missing something simple. >>> >>> Doug >>> >>> >>> >>> On Thu, May 26, 2016 at 2:50 PM Bryan Thompson <br...@bl...> >>> wrote: >>> >>>> 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 >>>>>>> >>>>>>> >>>>>> >>>> >>> >>> ------------------------------------------------------------------------------ >>> What NetFlow Analyzer can do for you? Monitors network bandwidth and >>> traffic >>> patterns at an interface-level. Reveals which users, apps, and protocols >>> are >>> consuming the most bandwidth. Provides multi-vendor support for NetFlow, >>> J-Flow, sFlow and other flows. Make informed decisions using capacity >>> planning reports. >>> https://ad.doubleclick.net/ddm/clk/305295220;132659582;e >>> _______________________________________________ >>> Bigdata-developers mailing list >>> Big...@li... >>> https://lists.sourceforge.net/lists/listinfo/bigdata-developers >>> >>> >> >> >> -- >> _______________ >> Brad Bebee >> CEO >> Blazegraph >> e: be...@bl... >> m: 202.642.7961 >> w: www.blazegraph.com >> >> Blazegraph products help to solve the Graph Cache Thrash to achieve large >> scale processing for graph and predictive analytics. Blazegraph is the >> creator of the industry’s first GPU-accelerated high-performance database >> for large graphs, has been named as one of the “10 Companies and >> Technologies to Watch in 2016” <http://insideanalysis.com/2016/01/20535/>. >> >> >> Blazegraph Database <https://www.blazegraph.com/> is our ultra-high >> performance graph database that supports both RDF/SPARQL and Apache >> TinkerPop™ APIs. Blazegraph GPU >> <https://www.blazegraph.com/product/gpu-accelerated/> andBlazegraph DAS >> <https://www.blazegraph.com/product/gpu-accelerated/>L are disruptive >> new technologies that use GPUs to enable extreme scaling that is thousands >> of times faster and 40 times more affordable than CPU-based solutions. >> >> CONFIDENTIALITY NOTICE: This email and its contents and attachments are >> for the sole use of the intended recipient(s) and are confidential or >> proprietary to SYSTAP, LLC DBA Blazegraph. Any unauthorized review, use, >> disclosure, dissemination or copying of this email or its contents or >> attachments is prohibited. If you have received this communication in >> error, please notify the sender by reply email and permanently delete all >> copies of the email and its contents and attachments. >> > > > > -- > _______________ > Brad Bebee > CEO > Blazegraph > e: be...@bl... > m: 202.642.7961 > w: www.blazegraph.com > > Blazegraph products help to solve the Graph Cache Thrash to achieve large > scale processing for graph and predictive analytics. Blazegraph is the > creator of the industry’s first GPU-accelerated high-performance database > for large graphs, has been named as one of the “10 Companies and > Technologies to Watch in 2016” <http://insideanalysis.com/2016/01/20535/>. > > > Blazegraph Database <https://www.blazegraph.com/> is our ultra-high > performance graph database that supports both RDF/SPARQL and Apache > TinkerPop™ APIs. Blazegraph GPU > <https://www.blazegraph.com/product/gpu-accelerated/> andBlazegraph DAS > <https://www.blazegraph.com/product/gpu-accelerated/>L are disruptive new > technologies that use GPUs to enable extreme scaling that is thousands of > times faster and 40 times more affordable than CPU-based solutions. > > CONFIDENTIALITY NOTICE: This email and its contents and attachments are > for the sole use of the intended recipient(s) and are confidential or > proprietary to SYSTAP, LLC DBA Blazegraph. Any unauthorized review, use, > disclosure, dissemination or copying of this email or its contents or > attachments is prohibited. If you have received this communication in > error, please notify the sender by reply email and permanently delete all > copies of the email and its contents and attachments. > |
|
From: Brad B. <be...@bl...> - 2016-05-27 17:58:07
|
Doug, Excellent. Cheers, --Brad On Fri, May 27, 2016 at 1:49 PM, Douglas Fils <dr...@gm...> wrote: > Brad, > Works perfect. As noted my error was copying the whole base web.xml and > making that change in it and using it. Using your version where just that > one node is included and changed worked perfectly. > > Thanks for this... Next I need to update my Dockerfile process, but I > am sure this is going to work. Really like blazegraph.... coming from > some other triple stores and really seem to resonate with this one. > > Take care > Doug > > > On Fri, May 27, 2016 at 12:26 PM Brad Bebee <be...@bl...> wrote: > >> Here is the wiki link: >> https://wiki.blazegraph.com/wiki/index.php/NanoSparqlServer#Read_Only_Configuration_with_the_Jetty_Override_and_Executable_Jar >> . >> >> On Fri, May 27, 2016 at 1:17 PM, Brad Bebee <be...@bl...> wrote: >> >>> Doug, >>> >>> You need to wrap it in the web-app tag (see contents below and >>> attached). I've updated the Wiki as well with this documentation. Happy >>> Blazegraphing... ;-) >>> >>> Cheers, --Brad >>> >>> <?xml version="1.0" encoding="UTF-8"?> >>> >>> <web-app xmlns="http://java.sun.com/xml/ns/javaee" >>> >>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>> >>> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee >>> http://java.sun.com/xml/ns/javaee/web-app_3_1.xsd" >>> >>> version="3.1"> >>> >>> <context-param> >>> >>> <description>When true, the REST API will not permit mutation >>> operations.</description> >>> >>> <param-name>readOnly</param-name> >>> >>> <param-value>true</param-value> >>> >>> </context-param> >>> >>> </web-app> >>> >>> On Fri, May 27, 2016 at 11:57 AM, Douglas Fils <dr...@gm...> wrote: >>> >>>> Bryan, >>>> I am following this and the docs. However, when I pull the web.xml >>>> alter the lines for read only to: >>>> >>>> <context-param> >>>> <description>When true, the REST API will not permit mutation >>>> operations.</description> >>>> <param-name>readOnly</param-name> >>>> <param-value>true</param-value> >>>> </context-param> >>>> >>>> I run with: java -server -Xmx4g -Djetty.overrideWebXml=./override.xml >>>> -jar blazegraph.jar >>>> >>>> I get errors >>>> >>>> WARN : NanoSparqlServer.java:517: Starting NSS >>>> WARN : AbstractLifeCycle.java:212: FAILED >>>> org.eclipse.jetty.servlet.ServletHandler@239963d8: >>>> java.lang.IllegalStateException: Multiple servlets map to path: /sparql: >>>> REST API,REST API >>>> java.lang.IllegalStateException: Multiple servlets map to path: >>>> /sparql: REST API,REST API >>>> >>>> WARN : WebAppContext.java:506: Failed startup of context >>>> o.e.j.w.WebAppContext@4157f54e >>>> {/blazegraph,jar:file:/Users/dfils/Desktop/blazegraph/blazegraph.jar!/war,STARTING}{jar:file:/Users/dfils/Desktop/blazegraph/blazegraph.jar!/war} >>>> java.lang.IllegalStateException: Multiple servlets map to path: >>>> /sparql: REST API,REST API >>>> >>>> >>>> sorry to be pest, I feel like I'm missing something simple. >>>> >>>> Doug >>>> >>>> >>>> >>>> On Thu, May 26, 2016 at 2:50 PM Bryan Thompson <br...@bl...> >>>> wrote: >>>> >>>>> 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 >>>>>>>> >>>>>>>> >>>>>>> >>>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> What NetFlow Analyzer can do for you? Monitors network bandwidth and >>>> traffic >>>> patterns at an interface-level. Reveals which users, apps, and >>>> protocols are >>>> consuming the most bandwidth. Provides multi-vendor support for NetFlow, >>>> J-Flow, sFlow and other flows. Make informed decisions using capacity >>>> planning reports. >>>> https://ad.doubleclick.net/ddm/clk/305295220;132659582;e >>>> _______________________________________________ >>>> Bigdata-developers mailing list >>>> Big...@li... >>>> https://lists.sourceforge.net/lists/listinfo/bigdata-developers >>>> >>>> >>> >>> >>> -- >>> _______________ >>> Brad Bebee >>> CEO >>> Blazegraph >>> e: be...@bl... >>> m: 202.642.7961 >>> w: www.blazegraph.com >>> >>> Blazegraph products help to solve the Graph Cache Thrash to achieve >>> large scale processing for graph and predictive analytics. Blazegraph is >>> the creator of the industry’s first GPU-accelerated high-performance >>> database for large graphs, has been named as one of the “10 Companies >>> and Technologies to Watch in 2016” >>> <http://insideanalysis.com/2016/01/20535/>. >>> >>> Blazegraph Database <https://www.blazegraph.com/> is our ultra-high >>> performance graph database that supports both RDF/SPARQL and Apache >>> TinkerPop™ APIs. Blazegraph GPU >>> <https://www.blazegraph.com/product/gpu-accelerated/> andBlazegraph DAS >>> <https://www.blazegraph.com/product/gpu-accelerated/>L are disruptive >>> new technologies that use GPUs to enable extreme scaling that is thousands >>> of times faster and 40 times more affordable than CPU-based solutions. >>> >>> CONFIDENTIALITY NOTICE: This email and its contents and attachments >>> are for the sole use of the intended recipient(s) and are confidential or >>> proprietary to SYSTAP, LLC DBA Blazegraph. Any unauthorized review, use, >>> disclosure, dissemination or copying of this email or its contents or >>> attachments is prohibited. If you have received this communication in >>> error, please notify the sender by reply email and permanently delete all >>> copies of the email and its contents and attachments. >>> >> >> >> >> -- >> _______________ >> Brad Bebee >> CEO >> Blazegraph >> e: be...@bl... >> m: 202.642.7961 >> w: www.blazegraph.com >> >> Blazegraph products help to solve the Graph Cache Thrash to achieve large >> scale processing for graph and predictive analytics. Blazegraph is the >> creator of the industry’s first GPU-accelerated high-performance database >> for large graphs, has been named as one of the “10 Companies and >> Technologies to Watch in 2016” <http://insideanalysis.com/2016/01/20535/>. >> >> >> Blazegraph Database <https://www.blazegraph.com/> is our ultra-high >> performance graph database that supports both RDF/SPARQL and Apache >> TinkerPop™ APIs. Blazegraph GPU >> <https://www.blazegraph.com/product/gpu-accelerated/> andBlazegraph DAS >> <https://www.blazegraph.com/product/gpu-accelerated/>L are disruptive >> new technologies that use GPUs to enable extreme scaling that is thousands >> of times faster and 40 times more affordable than CPU-based solutions. >> >> CONFIDENTIALITY NOTICE: This email and its contents and attachments are >> for the sole use of the intended recipient(s) and are confidential or >> proprietary to SYSTAP, LLC DBA Blazegraph. Any unauthorized review, use, >> disclosure, dissemination or copying of this email or its contents or >> attachments is prohibited. If you have received this communication in >> error, please notify the sender by reply email and permanently delete all >> copies of the email and its contents and attachments. >> > -- _______________ Brad Bebee CEO Blazegraph e: be...@bl... m: 202.642.7961 w: www.blazegraph.com Blazegraph products help to solve the Graph Cache Thrash to achieve large scale processing for graph and predictive analytics. Blazegraph is the creator of the industry’s first GPU-accelerated high-performance database for large graphs, has been named as one of the “10 Companies and Technologies to Watch in 2016” <http://insideanalysis.com/2016/01/20535/>. Blazegraph Database <https://www.blazegraph.com/> is our ultra-high performance graph database that supports both RDF/SPARQL and Apache TinkerPop™ APIs. Blazegraph GPU <https://www.blazegraph.com/product/gpu-accelerated/> andBlazegraph DAS <https://www.blazegraph.com/product/gpu-accelerated/>L are disruptive new technologies that use GPUs to enable extreme scaling that is thousands of times faster and 40 times more affordable than CPU-based solutions. CONFIDENTIALITY NOTICE: This email and its contents and attachments are for the sole use of the intended recipient(s) and are confidential or proprietary to SYSTAP, LLC DBA Blazegraph. Any unauthorized review, use, disclosure, dissemination or copying of this email or its contents or attachments is prohibited. If you have received this communication in error, please notify the sender by reply email and permanently delete all copies of the email and its contents and attachments. |
|
From: Joakim S. <joa...@bl...> - 2017-04-07 01:01:42
|
<http://10.11.12.190:19999/blazegraph/#explore:undefined:%3Chttp://blippar.com/ns/0.1/ontology/PhysicalPhenomenon%3E> Hi, I am loading a small ttl file containing some class declarations using the Blazegraph dashboard in triple mode. When executing the following SPARQL query: SELECT ?class WHERE { ?class a owl:Class } I get the following result: <http://blippar.com/ns/0.1/ontology/ProgrammingStyle> <http://10.11.12.190:19999/blazegraph/#explore:undefined:%3Chttp://blippar.com/ns/0.1/ontology/ProgrammingStyle%3E> <http://blippar.com/ns/0.1/ontology/Proverb> <http://10.11.12.190:19999/blazegraph/#explore:undefined:%3Chttp://blippar.com/ns/0.1/ontology/Proverb%3E> <http://blippar.com/ns/0.1/ontology/Relationship> <http://10.11.12.190:19999/blazegraph/#explore:undefined:%3Chttp://blippar.com/ns/0.1/ontology/Relationship%3E> <http://blippar.com/ns/0.1/ontology/Saying> <http://10.11.12.190:19999/blazegraph/#explore:undefined:%3Chttp://blippar.com/ns/0.1/ontology/Saying%3E> <http://blippar.com/ns/0.1/ontology/Shooting> <http://10.11.12.190:19999/blazegraph/#explore:undefined:%3Chttp://blippar.com/ns/0.1/ontology/Shooting%3E> <http://blippar.com/ns/0.1/ontology/SIDerivedUnit> <http://10.11.12.190:19999/blazegraph/#explore:undefined:%3Chttp://blippar.com/ns/0.1/ontology/SIDerivedUnit%3E> <http://blippar.com/ns/0.1/ontology/Symphony> <http://10.11.12.190:19999/blazegraph/#explore:undefined:%3Chttp://blippar.com/ns/0.1/ontology/Symphony%3E> <http://blippar.com/ns/0.1/ontology/Terminology> <http://10.11.12.190:19999/blazegraph/#explore:undefined:%3Chttp://blippar.com/ns/0.1/ontology/Terminology%3E> <http://blippar.com/ns/0.1/ontology/VoiceType> <http://10.11.12.190:19999/blazegraph/#explore:undefined:%3Chttp://blippar.com/ns/0.1/ontology/VoiceType%3E> t5545 t5549 t5552 t5557 t5564 t5568 t5570 t5572 t5578 t5579 t5580 t5583 t5584 t5589 t5592 t5595 But there are no statements defining owl:Class t5545 in the file I am loading. Where does those tnnnn classes come from? Best Joakim |
|
From: Stas M. <sma...@wi...> - 2017-04-07 17:05:07
|
Hi! > But there are no statements defining owl:Class t5545 in the file I am > loading. > Where does those tnnnn classes come from? Those are probably bnodes. They do not have identity as such, so the tools usually generate local IDs in form like you see to differentiate between them. -- Stas Malyshev sma...@wi... |