OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | exoplatform List | July 2007 Index

<--  Date Index  --> <--  Thread Index  -->

Configuration and more links


Hi.
Recently I add functionality which removes lock after JCR restart.
Therefore the configuration of lock process is change.

More:
http://wiki.exoplatform.com/xwiki/bin/view/JCR/Locking
http://wiki.exoplatform.com/xwiki/bin/view/JCR/Configuration


from this

.......
<workspaces>
  <workspace name="ws" auto-init-root-nodetype="nt:unstructured">
.......
    <query-handler
class="org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex">
      <properties>
        <property name="indexDir" value="target/temp/index"/>
       </properties>
     </query-handler>
    <lock-time-out>900000</lock-time-out><!-- 15min -->
  </workspace>
.......

to this

.......
<workspaces>
  <workspace name="ws" auto-init-root-nodetype="nt:unstructured">
   .......
    <lock-manager>
     <time-out>900000</time-out><!-- 15min -->
      <persister
class="org.exoplatform.services.jcr.impl.core.lock.FileSystemLockPersister">
        <properties>
          <property name="path" value="target/temp/lock"/>
        </properties>
      </persister>
    </lock-manager>
</workspace>
.......

Be attentive the lock-time out configuration is moved, if  value not be
configured right,
the default time out 30min will be used. The LockRemover check it every 30
sec

Sergey Kabashnyuk.



<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.