Hi, On Thu, Nov 13, 2008 at 2:32 PM, RafalJanik <[EMAIL PROTECTED]> 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
