On Mon, Nov 16, 2009 at 11:56, Sergey Podatelev
<[email protected]> 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
[email protected]

Reply via email to