Mail Archive Home | exoplatform List | July 2007 Index
Configuration
- Subject: Configuration
- From: Sergey Kabashnyuk <ksmster@xxxxxxxxx>
- Date: Tue, 24 Jul 2007 12:03:08 +0300
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:to:subject:organization:cc:content-type:mime-version:content-transfer-encoding:message-id:user-agent:from; b=TWUuh1eoupQ/rwHbuyjxC3zY2clbY5ttAQkSSJVmeZ3TF95kB3RmAQF2eVODnfkevsvYwniGQFohgsecSf1rYAaJHIc3hgf6MOnGmgPye2+G4LQyDxQrjEQ7mIRNEHiPe+WViyy3AwTZATOiOqcKP13i/iG1zS6Go03AbYoaxwU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:to:subject:organization:cc:content-type:mime-version:content-transfer-encoding:message-id:user-agent:from; b=pX9daMndLTXnAxJXlt1Re+rfmJZpsB829pMUs93sNYTMjYcnK8bHgOlNpcPaN0TTSLA4uGKX7mUuS3uz+OPTNRlut8lhKhvYQ6Ch+rrY2yyG8zqwQ7mNaBmS1d3XVr4CvPkbA+LAEU/2nBbuBvPgYS2B+ohdeyA/Ha/i3mfeyFM=
Hi.
Recently I add functionality which removes lock after JCR restart.
Therefore the configuration of lock process is change.
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.
- Configuration,
Sergey Kabashnyuk
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.