Thank you, Laura, that’s a good point too. Meanwhile, I guess the answer to the original question, judging from the error indicating the default jetty form size in fuseki is that the limit is 10Mb.
I’ll chunk away or maybe work around with the LOAD requirements, although I might open a new thread specifically on jetty if I get very frustrated. With many thanks and best regards, Pierre THIS E-MAIL MAY CONTAIN CONFIDENTIAL AND/OR PRIVILEGED INFORMATION. IF YOU ARE NOT THE INTENDED RECIPIENT (OR HAVE RECEIVED THIS E-MAIL IN ERROR) PLEASE NOTIFY THE SENDER IMMEDIATELY AND DESTROY THIS E-MAIL. ANY UNAUTHORISED COPYING, DISCLOSURE OR DISTRIBUTION OF THE MATERIAL IN THIS E-MAIL IS STRICTLY FORBIDDEN. IN ACCORDANCE WITH MIFID II RULES ON INDUCEMENTS, THE FIRM'S EMPLOYEES MAY ATTEND CORPORATE ACCESS EVENTS (DEFINED IN THE FCA HANDBOOK AS "THE SERVICE OF ARRANGING OR BRINGING ABOUT CONTACT BETWEEN AN INVESTMENT MANAGER AND AN ISSUER OR POTENTIAL ISSUER"). DURING SUCH MEETINGS, THE FIRM'S EMPLOYEES MAY ON NO ACCOUNT BE IN RECEIPT OF INSIDE INFORMATION (AS DESCRIBED IN ARTICLE 7 OF THE MARKET ABUSE REGULATION (EU) NO 596/2014). (https://www.handbook.fca.org.uk/handbook/glossary/G3532m.html) COMPANIES WHO DISCLOSE INSIDE INFORMATION ARE IN BREACH OF REGULATION AND MUST IMMEDIATELY AND CLEARLY NOTIFY ALL ATTENDEES. FOR INFORMATION ON THE FIRM'S POLICY IN RELATION TO ITS PARTICIPATION IN MARKET SOUNDINGS, PLEASE SEE https://www.horizon-asset.co.uk/market-soundings/. HORIZON ASSET LLP IS AUTHORISED AND REGULATED BY THE FINANCIAL CONDUCT AUTHORITY. From: Laura Morales [mailto:[email protected]] Sent: 06 August 2019 18:29 To: [email protected] Cc: '[email protected]' Subject: Re: RE: Sensible size limit for SPARQL update payload to Fuseki2? I don't know myself how to configure jetty, even less with Fuseki. I hope for you somebody else on the list does. Regarding LOAD however, you should be able to use HTTP URIs. > Sent: Tuesday, August 06, 2019 at 7:01 PM > From: "Pierre Grenon" <[email protected]> > To: "'[email protected]'" <[email protected]> > Subject: RE: Sensible size limit for SPARQL update payload to Fuseki2? > > Ok, so apologies for kinda spamming the list with this. > > 1. Laura, I agree with the options you listed below. Although: > - LOAD, in my experience, requires access to the file system where fuseki is > running and I do not have that > - SOH has that same requirement and also requires me to ssh into the machine, > which I don't want to have to do programmatically > - chunking is my likely work around although it is suboptimal (I serialize an > RDFLib in memory graph) > > 2. After looking around and doing a bit of archaeology, > > https://jena.markmail.org/message/nmtny6wlnvzltws7?q=maxFormContentSize<https://jena.markmail.org/message/nmtny6wlnvzltws7?q=maxFormContentSize> > (At first seeing this I thought it used to be called 'Fuseky'! I can only > recall Joseki) > > it seems that the principled approach is to run fuseki with a customised > jetty configuration. > > http://jena.apache.org/documentation/fuseki2/data-access-control#jetty-configuration<http://jena.apache.org/documentation/fuseki2/data-access-control#jetty-configuration> > " Server command line: --jetty=jetty.xml." > -> is wrong > > This: > > fuseki-server --jetty-config=jetty.xml > Worked for me. > > However, I do not know what to put in jetty.xml > > https://www.eclipse.org/jetty/documentation/current/setting-form-size.html<https://www.eclipse.org/jetty/documentation/current/setting-form-size.html> > > I tried the following snippet but it broke > > <?xml version="1.0"?> > <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" > "http://www.eclipse.org/jetty/configure_9_3.dtd<http://www.eclipse.org/jetty/configure_9_3.dtd>"> > > <Configure id="Server" class="org.eclipse.jetty.server.Server"> > <Call name="setAttribute"> > <Arg>org.eclipse.jetty.server.Request.maxFormContentSize</Arg> > <Arg><Property name="jetty.maxFormContentSize" default="1000000"/></Arg> > </Call></Configure> > > [2019-08-06 17:07:48] Server ERROR SPARQLServer: Failed to configure server: 0 > java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.jena.fuseki.cmd.JettyFusekiWebapp.configServer(JettyFusekiWebapp.java:297) > at > org.apache.jena.fuseki.cmd.JettyFusekiWebapp.buildServerWebapp(JettyFusekiWebapp.java:243) > at > org.apache.jena.fuseki.cmd.JettyFusekiWebapp.<init>(http://JettyFusekiWebapp.java:99<http://JettyFusekiWebapp.java:99>) > at > org.apache.jena.fuseki.cmd.JettyFusekiWebapp.initializeServer(JettyFusekiWebapp.java:94) > at org.apache.jena.fuseki.cmd.FusekiCmd.runFuseki(FusekiCmd.java:371) > at > org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.exec(FusekiCmd.java:356) > at jena.cmd.CmdMain.mainMethod(CmdMain.java:93) > at jena.cmd.CmdMain.mainRun(CmdMain.java:58) > at jena.cmd.CmdMain.mainRun(CmdMain.java:45) > at > org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.innerMain(FusekiCmd.java:104) > at org.apache.jena.fuseki.cmd.FusekiCmd.main(FusekiCmd.java:67) > > So I suppose I need a complete jetty config file rather than a snippet > (unless the above is erroneous anyway). I wasn't able to find the default > jetty configuration file in the jars. > > I found this > https://github.com/apache/jena/blob/master/jena-fuseki2/examples/fuseki-jetty-https.xml<https://github.com/apache/jena/blob/master/jena-fuseki2/examples/fuseki-jetty-https.xml> > But it mentions needing configuring further things and I have no clue how to > adapt it. > > Any pointer, walkthrough or further help most appreciated. > > With many thanks and kind regards, > Pierre
