jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wechner <michael.wech...@wyona.com>
Subject Getting rid of .lock file when shutting down repository resp. closing session
Date Tue, 04 Dec 2007 22:25:22 GMT

I am using Jackrabbit 1.3.3 on Linux with Sun Java 1.4 and everything 
seems to be fine except the minor thing that when shutting down the 
repository resp. closing the session and exiting the JVM the .lock file 
is not being removed.

It doesn't really seem to matter, because when restarting it tells me a 

WARN  org.apache.jackrabbit.core.util.RepositoryLock.acquire():111  - 
Existing lock file /home/michi/jackrabbit/.lock detected. Repository was 
not shut down properly.

but otherwise it's restarting fine.

Is that normal behaviour or beside closing the session is there anything 
one needs to call to remove the .lock file during shutdown?

There is an e-mail thread about some similar problem


but it's not really clear to me what the "solution" is.



Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org
+41 44 272 91 61

View raw message