jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: ItemStateException
Date Tue, 28 Feb 2006 07:52:18 GMT
Hi,

On 2/28/06, Carlos Villegas <cav@uniscope.jp> wrote:
> Could this error happen if two threads are working simultaneously on the
> same session?

This might well be the cause. A Session should only be accessed from a
single thread as it is not required to be thread-safe. See the section
7.5 Thread-Safety Requirements of the JCR specification.

BR,

Jukka Zitting

--
Yukatan - http://yukatan.fi/ - info@yukatan.fi
Software craftsmanship, JCR consulting, and Java development
Mime
View raw message