jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francis Exocet <exoce...@yahoo.fr>
Subject How to call RepositoryImpl.shutdown() when using RegistryHelper
Date Thu, 17 Feb 2005 13:26:28 GMT
I've checked out jackrabbit sources yesterday and I'm
having bugs with searches because of the write.lock
file being persistent in the search index directory.

In a previous message, marcel said to call the
RepositoryFactory.shutdown() method.
My question is how to call this method when using
RegistryHelper ?

For the moment i "resolved" the problem by puting
rep.shutdown() at the end of SessionImpl.logout(). But
this is not a good solution. For example, units tests
fail because it uses more than one session per

Thanks in advance for your reply and for your great



Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! 
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/

View raw message