Actually, I *was* using SDB-1.3.4 *not* SDB01.3.3 I was able to get your reconnector built and launch Fuseki with a configuration file similar to yours (but using MySQL instead of H2) but got empty results when issue a query. I had run into the same issue before and had to run a configuration that specified a UNION graph. Here's what my current configuration files looks like. With it, fuseki works for 8 hours (when the mysql wait_timeout is reached). I guess what I need is to figure out how to merge your fusekisdbreconnect class with a store that uses a UNION graph.
================================================================================================== @prefix fuseki: <http://jena.apache.org/fuseki#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix tdb: <http://jena.hpl.hp.com/2008/tdb#> . @prefix sdb: <http://jena.hpl.hp.com/2007/sdb#> . @prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> . @prefix : <#> . [] rdf:type fuseki:Server ; # Services available. Only explicitly listed services are configured. # If there is a service description not linked from this list, it is ignored. fuseki:services ( <#service1> ) . # Declaration additional assembler items. [] ja:loadClass "com.hp.hpl.jena.sdb.SDB" . # SDB # sdb:DatasetStore rdfs:subClassOf ja:RDFDataset . sdb:Model rdfs:subClassOf ja:Model . <#sdb-part> rdf:type ja:RDFDataset ; # If ja:namedGraph is used here, there is no correspondence # with the name in the SDB store. ja:defaultGraph <#sdb-one-graph> ; . <#sdb-one-graph> a sdb:Model ; sdb:dataset <#dataset> ; sdb:graphName <urn:x-arq:UnionGraph> ; . <#dataset> rdf:type sdb:DatasetStore ; sdb:store <#store> . <#store> rdf:type sdb:Store ; rdfs:label "SDB" ; sdb:layout "layout2" ; sdb:connection [ rdf:type sdb:SDBConnection ; # Using MySQL sdb:sdbHost "localhost" ; sdb:sdbType "MySQL" ; sdb:sdbName "vivodb" ; sdb:sdbUser "******" ; sdb:sdbPassword "******" ; sdb:driver "com.mysql.jdbc.Driver" ; ] ; . # Vivo dataset in sdb <#service1> rdf:type fuseki:Service ; fuseki:name "ds" ; # http://host:port/ds fuseki:serviceQuery "query" ; # SPARQL query service fuseki:serviceQuery "sparql" ; # SPARQL query service # A separate ead-only graph store endpoint: fuseki:serviceReadGraphStore "get" ; # SPARQL Graph store protocol (read only) fuseki:dataset <#sdb-part> ; . ================================================================================================== -----Original Message----- From: Damian Steer [mailto:[email protected]] Sent: Monday, January 30, 2012 12:19 PM To: [email protected] Subject: Re: Fuseki (broken pipe) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 30/01/12 12:56, John Fereira wrote: > > >> -----Original Message----- From: Damian Steer >> [mailto:[email protected]] >> <https://github.com/shellac/ReconnectingSDB> >> >> (instructions to follow) Instructions added. Let me know how it goes. >> What versions of fuseki and SDB are you using? > > I'm currently using fusecki 0.2.1 and SDB 1.3.3. I think I tried SDB > 1.3.4 but had some unresolved dependencies. Hmm, I couldn't get that combination working. Damian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8m0PQACgkQAyLCB+mTtymWBQCgqa5gSKS8WhkHL+5yNkGR7FpP gYoAoP3317+uburcGn7kWuqQANoUX9t0 =aJ0G -----END PGP SIGNATURE-----
