hi, first of all i want to clarify some points: 1. the jackrabbit core repository is not designed to be started multiple times on the _same_ physical datasource. i.e. in the same repository home directory. 2. a clean shutdown of jackrabbit also unlocks and deletes the .lock file (through: JackrabbitRepository.shutdown() ) 3. if the repository is killed (eg. kill -9), the .lock file remains but is not file-locked anymore. thus a subsequent repository startup should not fail 4. The 'TransientRepository' was created to allow a very simple entry point for users that want to play around with jackrabbit. if you need more control of the repository creation and destruction use the 'RepositoryImpl.create()' method to initialize the repository:
RepositoryConfig config = RepositoryConfig.create(repositoryXml, homeDir); JackrabbitRepository repo = RepositoryImpl.create(config); ... ... repo.shutdown(); Actually the TransientRepository.shutdown() should shutdown of the underlying repository as well. Can you file a JIRA issue and attach your testcase? so we can investigate why your code is not working. thanx. regards, toby -- -----------------------------------------< [EMAIL PROTECTED] >--- Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel T +41 61 226 98 98, F +41 61 226 98 97 -----------------------------------------------< http://www.day.com >---
