On 25/10/11 16:31, Christoph Herzog wrote:
No, it appears the unwanted behaviour persists even when I fall back to Fuseki
0.2.0 (with TDB 0.8.10).
I fear it is probably not an artefact of the new transaction features :-(
Best,
Chris
You are not using the new transaction features - Fuseki does not use
them yet.
It's impossible to tell what's going on -
>> That works pretty well so far, but I found that whenever I insert data
>> through
>> the SPARQL endpoint or POST my ontology it would somehow "corrupt" the
>> data.
Are you posting data through Pellet? If you add data underneath Pellet
then any caches Pellet has are invalid but it isn't gong to notice.
>> I found that I'm able to insert data with the tdbloader. In this case I
>> can
>> restart the server and it works normally. But also here, as soon as I
>> send an
>> INSERT statement it accepts it normally - but then when I shut down and
>> restart
>> the server I get the HTTP 500 error.
>>
>> I'm pretty desperate allready, because inserting data into the server is
>> the
>> main task in my application...
>>
>> This is the error message I get for any query if the server "breaks":
>> 14:27:12 WARN Fuseki :: [1] RC = 500 : null
>> 14:27:12 INFO Fuseki :: [1] 500 Server Error
More details? Is this during startup? Is it the first request? What
is the query? Or update?
Andy
-----Ursprüngliche Nachricht-----
Von: Paolo Castagna [mailto:[email protected]]
Gesendet: Dienstag, 25. Oktober 2011 16:45
An: [email protected]
Betreff: Re: Fuseki + TDB + Pellet -> corrupting data on INSERT
Hi Christoph,
which version of Fuseki (and TDB) are you using?
There have been some changes in TDB recently (to add support for
transactions) and there might be problems if you use -SNAPSHOTs
or trunk.
Paolo
Christoph Herzog wrote:
Hello,
I'm trying to get Fuseki to run with a TDB dataset and the pellet
reasoner
integrated.
That works pretty well so far, but I found that whenever I insert data
through
the SPARQL endpoint or POST my ontology it would somehow "corrupt" the
data.
Everything works fine - reasoning and all - but when I stop the Fuseki
server
(by killing the process - is there another way?) it "breaks". Once I
start it
again and send any query to the SPARQL endpoint it replies with a HTTP
500 -
internal server error.
I found that I'm able to insert data with the tdbloader. In this case I
can
restart the server and it works normally. But also here, as soon as I
send an
INSERT statement it accepts it normally - but then when I shut down and
restart
the server I get the HTTP 500 error.
I'm pretty desperate allready, because inserting data into the server is
the
main task in my application...
This is the error message I get for any query if the server "breaks":
14:27:12 WARN Fuseki :: [1] RC = 500 : null
14:27:12 INFO Fuseki :: [1] 500 Server Error
The logger seems not to want to tell me more about it...
And this is (the relevant part of) my config file:
<#pelletGraph> rdf:type ja:RDFDataset ;
ja:defaultGraph<#reasonerModel> ;
tdb:unionDefaultGraph true ;
.
<#reasonerModel> rdf:type ja:InfModel ;
ja:reasoner [ja:reasonerClass
"org.mindswap.pellet.jena.PelletReasonerFactory" ;
] ;
ja:baseModel<#baseGraph> ;
.
<#baseGraph> rdf:type tdb:GraphTDB ;
tdb:location "dataset" ;
.
Please ask for anything else I you need to know (complete setup or the
like).
Any hints appreaciated!!
Thanks in advance,
Chris