Hi, Most likely you try to open the repository multiple times then, as documented in http://wiki.apache.org/jackrabbit/RepositoryLock - To find out where exactly it is opened, you could run the application in debug mode and set a breakpoint where the repository is opened.
Regards, Thomas
