On 10/03/13 17:05, Marco Neumann wrote:
Ok yes so this is a very bad idea as mentioned earlier. I would
consider to replace the file access with an endpoint and execute
select and update via SPARQL.
Yes, use an endpoint - use Fuseki as a shared database server.
It will go wrong otherwise. Even with having an external lock and
sync'ing the database inside the exclusive writer lock, does not make it
work. The two JVMs will still see inconsistent views of the database,
and it will get corrupted. A write action by JVM1 does not update
caches in JVM2.
Andy