jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacco van Weert" <1111softw...@gmail.com>
Subject Re: ItemNotFoundException: Orphaned item
Date Fri, 31 Aug 2007 11:53:09 GMT
On 8/31/07, Stefan Guggisberg <stefan.guggisberg@gmail.com> wrote:
>
> On 8/30/07, Jacco van Weert <1111software@gmail.com> wrote:
> > On 8/30/07, Stefan Guggisberg <stefan.guggisberg@gmail.com> wrote:
> > >
> >
> > Yes, some actions are done by the admin session.... I guess I should
> > synchronize on the admin session?
>
> yes. javax.jcr.Session is, per spec,  not thread-safe. while sharing a
> read-only session among multiple threads could probably work (yet
> untested),
> sharing a r/w session might lead to corrupt data.



Ok, that's clear and I can understand why.
Anyway it should be nice to have some sort of repair option, because
programming error's can occur :-) and
corrupt databases are very hard to explain.


>
> cheers
> stefan



Thanks for the help.


  Jacco

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message