jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: FreeBSD indexing and lock file issues
Date Mon, 16 Nov 2009 13:07:08 GMT
On Mon, Nov 16, 2009 at 11:56, Sergey Podatelev
<brightnesslevels@gmail.com> wrote:
> Another problem is with the .lock file.
> The repository is configured as a webapp bundle, and it's impossible
> to redeploy the app because of the ".lock file is present" exception,
> so each time the app needs to be redeployed, we have to stop the
> webserver, remove the .lock file and then start the server again.

In this case you must make sure the shutdown() method is called.

http://wiki.apache.org/jackrabbit/ExamplesPage#Shutting_Down_the_Repository
http://jackrabbit.apache.org/api-1/org/apache/jackrabbit/api/JackrabbitRepository.html#shutdown()

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message