I confirm the bug. You can access the database with several instances of
Xindice embed-mode. It leads to strange behaviour where I have not seen yet
a predictable pattern (like not seeing documents that have been added by
whatever of the instances). You never have an exception saying that several
process access the same db files.
It's usefull for debugging and tests to be able to view/modify the database
while accessed in embed mode, but I see no reasonable way of having it
working. I suppose that this possibility that can lead to incoherent data in
the file will be shut down by Xindice developpers. The solution to do such
things is to install Xindice as an independant server process (in Tomcat).
There you can access the database from different process on a rational way.

Julien.

----- Original Message ----- 
> If you are trying to use same ./db from two xindice instances and it
> does not complain - yes, it should be considered a bug. Ideally, it
> should throw "Database already open by another xindice instance"
> exception or something.

Reply via email to