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: 'Lock obtain timed out' and redo log
Date Fri, 26 Aug 2005 12:25:05 GMT
Dave Sag wrote:
> how exactly do you make sure that jackrabbit is stopped.  we have  been 
> getting this same warning after running unit tests of our code.

RepositoryImpl.shutdown() will shutdown everything smoothly.

There is also a safety net built into the RepositoryImpl class which is 
basically a shutdown hook that is registered. but it seems that there 
are cases where that hook is not called.

anyway, explicitly calling shutdown() is in my opinion the prefered way 
to stop the repository.


View raw message