Author: nzamosenchuk
Date: 2011-01-05 02:49:49 -0500 (Wed, 05 Jan 2011)
New Revision: 3771
Added:
jcr/branches/1.12.x/patch/JCR-1552/
jcr/branches/1.12.x/patch/JCR-1552/JCR-1552.diff
Log:
JCR-1552 : attaching the patch, that removes locks on server startup only (1.12.x)
Added: jcr/branches/1.12.x/patch/JCR-1552/JCR-1552.diff
===================================================================
--- jcr/branches/1.12.x/patch/JCR-1552/JCR-1552.diff (rev 0)
+++ jcr/branches/1.12.x/patch/JCR-1552/JCR-1552.diff 2011-01-05 07:49:49 UTC (rev 3771)
@@ -0,0 +1,20 @@
+Index:
exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/lock/FileSystemLockPersister.java
+===================================================================
+---
exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/lock/FileSystemLockPersister.java (revision
3770)
++++
exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/lock/FileSystemLockPersister.java (working
copy)
+@@ -263,14 +263,7 @@
+ {
+ log.debug("Stoping FileSystemLockPersister");
+ }
+- try
+- {
+- removeAll();
+- }
+- catch (LockException e)
+- {
+- log.error(e.getLocalizedMessage(), e);
+- }
++
+ if (log.isDebugEnabled())
+ {
+ log.debug("FileSystemLockPersister stoped");