I had a little time before the sprint I'm working on this week (and next) so I 
thought I'd try to build a fuseki  endpoint with SDB based on the latest 
fuseki-snapshot.  

I grabbed the latest fuseki src with svn and ran mvn to build a distribution.  
I extracted that into a "jena-fuseki-0.2.6-SNAPSHOT" directory,  I used the 
same configuration file that was working with a 0.2.4 version and copied what I 
believe to be the correct versions of the library necessary to run it.  I 
started it with the following shell script:

#!/bin/sh
port=3030
java -cp 
./fuseki-server.jar:lib/ReconnectingSDB-0.1-SNAPSHOT.jar:lib/jena-sdb-1.3.6-SNAPSHOT.jar:lib/mysql-connector-java-5.1.16-bin.jar:lib/jena-arq-
2.9.5-SNAPSHOT.jar   -Xmx768M org.apache.jena.fuseki.FusekiCmd  --desc 
fuseki-vivo.ttl --port=$port /ds > fuseki-0.2.6.log 2>&1 &

It starts up fine without any errors but when I run any query I get the 
following error:

../s-query:113: undefined method `start_with?' for "s-query":String 
(NoMethodError)

It looks like a difference between the 0.2.4 and 0.2.6 version of the s-query 
script is that some code was added to support soh queries.  When I comment out 
those lines (113-117) my queries work fine.

I did not, however, test the endpoint in update mode...that'll probably have to 
wait until tomorrow morning.




-----Original Message-----
From: Andy Seaborne [mailto:[email protected]] On Behalf Of Andy 
Seaborne
Sent: Wednesday, December 05, 2012 4:24 AM
To: [email protected]
Subject: Re: Questions about Fuseki configuration with SDB and updating

On 04/12/12 23:01, Michael Cox wrote:
> Hello,
>
> My name is Michael and I am currently working on a linked data 
> metadata repository project for the University of Colorado's 
> Laboratory for Atmospheric and Space Physics.
>
> We are using a software called VIVO that implements SDB in the backend 
> and we hope to use a Fuseki endpoint to query and update our data.

You may need to talk to the creators of VIVO, especially around the version of 
SDB used.

> Select queries are running fine, but any update query spits errors and 
> I wondered if you might help me work through what's causing them... I 
> know this question has been open for a while in the VIVO community 
> with no helpful answers as of yet. I have installed Fuseki and a few 
> supporting SDB libraries from the package located at 
> http://www.adrive.com/public/UzZpq3/vivoisbyus-fuseki.tar.gz and like 
> I mentioned select queries run fine, but update queries spit an Error
> 500: DatasetGraph.delete(Quad).
>
> I posted details about log files and configuration information here as 
> well:
>
> Fuseki Error 500:
> DatasetGraph.delete(Quad)<http://stackoverflow.com/questions/13616830/
> fuseki-error-500-datasetgraph-deletequad>

NoSuchMethodError means there is a clash of versions which might be on SDB.  
Which version of SDB are you using?

>
>
> Any suggestions on a fix would be hugely appreciated!! -Michael


SDB 1.3.5 goes with Jena 2.7.3 and Fuseki 0.2.4.

The current development snapshot builds are also consistent.  Check the POM for 
the version you have for the version requirements.

        Andy

>
> Michael Cox
> -------------------------------------------------------------------
> Undergraduate Assistant Database Administrator Mission Operations and 
> Data Systems Laboratory for Atmospheric and Space Physics 1234 
> Innovation Drive Boulder, CO 80303 
> [email protected]<mailto:[email protected]>
>
>

Reply via email to