jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: How to call RepositoryImpl.shutdown() when using RegistryHelper
Date Thu, 17 Feb 2005 15:14:35 GMT
Hi Francois,

I just changed the startup behaviour of the query manager to remove a 
possible write.lock and write a warn message to the log.
svn revision: 154158

but please also check that your jsps only work on one single repository 
instance, as posted by tobi and edgar.


Francis Exocet wrote:

> Hi,
> 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
> repository.
> Thanks in advance for your reply and for your great
> product.
> Francis
> 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