jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stephan lohwasser <stephan.lohwas...@systemone.at>
Subject threading problems
Date Thu, 15 Dec 2005 15:13:59 GMT
i have a problem concerning threads and synchronisation and i have not 
the faintest idea how to solve it:

we're writing a wiki-weblog application based on jackrabbit. now when i 
run a thread importing data from wikipedia with one session while a 
normal user is logged into the system via another session, a
'javax.jcr.RepositoryException: Unable to start edit operation: Already 
in edit mode: Already in edit mode' is thrown when the user tries to 
write or read data out of the repository.
i guess it is a problem of multiple threads working on the same data, 
but i'm not sure.

is there any synchronisation of sessions working on the repository, or 
do i have to take care of it by myself?
do you have any hints for me?

thanks a lot.

View raw message