On 09/12/13 15:50, Jie wrote:
 From the code only one process is writing to the TDB, but just before this
error happen, we used Fuseki to publish the dataset to server to see the
data, which I thought should not have been a problem. (I suppose that
publishing the data by Fuseki means execute once the reading trasaction,
no?)

Fuseki includes a copy of the TDB engine.

When Fuseki starts it will start TDB. TDB will attempt to replay transactions in the journal but if the other TDB is writing the journal, chaos will result.

Caused by: com.hp.hpl.jena.tdb.transaction.TDBTransactionException: Checksum
 error reading from the Journal.

This suggest that the one TDB engine is reading the journal while another is starting up. This is bad. While the DB will not be corrupted it may become inconsistent (you loose data).

Can you do your updates via Fuseki?

        Andy





On 9 December 2013 16:47, Chris Dollin <[email protected]> wrote:

On Monday, December 09, 2013 04:35:16 PM Jie wrote:

I am working with the Jena TDB and sometimes the following error happens
to
me. I wonder if this has been happened to others also? If anyone has idea
about how to solve this?

How many processes are writing to the TDB?

[If more than one, then that's what's wrong.]

Chris

who can't remember if reading processes are also dangerous.

--
"It does not need to take events in their correct order."
/Hexwood/

Epimorphics Ltd, http://www.epimorphics.com
Registered address: Court Lodge, 105 High Street, Portishead, Bristol BS20
6PT
Epimorphics Ltd. is a limited company registered in England (number
7016688)




Reply via email to