jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RafalJanik <r...@softwaremind.pl>
Subject Re: Threads in jackrabbit application
Date Thu, 13 Nov 2008 13:55:20 GMT
Thank You i will try it:)

Jukka Zitting pisze:
> Hi,
>
> On Thu, Nov 13, 2008 at 2:32 PM, RafalJanik <rajn@softwaremind.pl> wrote:
>   
>> When i try to make in each thread its own session i get
>> javax.jcr.RepositoryException that the repository home  "appears to be in
>> use since the file named .lock is locked by another process.
>>     
>
> That message is caused by you creating more than one Repository
> instance. You can only have one Repository instance per a repository
> you are accessing, but you can use Repository.login() to create any
> number of sessions for concurrently accessing that repository.
>
> BR,
>
> Jukka Zitting
>
>   


Mime
View raw message