Return-Path: X-Original-To: apmail-karaf-commits-archive@minotaur.apache.org Delivered-To: apmail-karaf-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C736F188AA for ; Tue, 7 Jul 2015 12:15:31 +0000 (UTC) Received: (qmail 84685 invoked by uid 500); 7 Jul 2015 12:15:31 -0000 Delivered-To: apmail-karaf-commits-archive@karaf.apache.org Received: (qmail 84627 invoked by uid 500); 7 Jul 2015 12:15:31 -0000 Mailing-List: contact commits-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list commits@karaf.apache.org Received: (qmail 84389 invoked by uid 99); 7 Jul 2015 12:15:31 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jul 2015 12:15:31 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id EDD04E3AA0; Tue, 7 Jul 2015 12:15:30 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: jbonofre@apache.org To: commits@karaf.apache.org Date: Tue, 07 Jul 2015 12:15:42 -0000 Message-Id: <5527ff912c28436a818a635189942dcc@git.apache.org> In-Reply-To: <0486d30583c745459c8ee8c824fa4fa5@git.apache.org> References: <0486d30583c745459c8ee8c824fa4fa5@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [13/50] karaf git commit: [KARAF-3790] Add comment describing karaf.lock.dir property in etc/system.properties [KARAF-3790] Add comment describing karaf.lock.dir property in etc/system.properties Project: http://git-wip-us.apache.org/repos/asf/karaf/repo Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/3373c275 Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/3373c275 Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/3373c275 Branch: refs/heads/master Commit: 3373c27529e8687e9da3a8c2f5b087b7e18559f7 Parents: bb355e9 Author: Jean-Baptiste Onofré Authored: Thu Jun 18 17:20:52 2015 +0200 Committer: Jean-Baptiste Onofré Committed: Thu Jun 18 17:20:52 2015 +0200 ---------------------------------------------------------------------- .../src/main/resources/resources/etc/system.properties | 13 +++++++++++++ 1 file changed, 13 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/karaf/blob/3373c275/assemblies/features/base/src/main/resources/resources/etc/system.properties ---------------------------------------------------------------------- diff --git a/assemblies/features/base/src/main/resources/resources/etc/system.properties b/assemblies/features/base/src/main/resources/resources/etc/system.properties index b6a442b..cff4250 100644 --- a/assemblies/features/base/src/main/resources/resources/etc/system.properties +++ b/assemblies/features/base/src/main/resources/resources/etc/system.properties @@ -123,3 +123,16 @@ karaf.secured.services = (&(osgi.command.scope=*)(osgi.command.function=*)) #java.security.policy=${karaf.etc}/all.policy #org.osgi.framework.security=osgi #org.osgi.framework.trust.repositories=${karaf.etc}/trustStore.ks + +# +# HA/Lock configuration +# +# Karaf uses a lock mechanism to know which instance is the master (HA) +# The lock can be on the filesystem (default) or on a database. +# +# See http://karaf.apache.org/manual/latest/users-guide/failover.html for details. +# +# Even using a single instance, Karaf creates the lock file +# You can specify the location of the lock file using the +# karaf.lock.dir=/path/to/the/directory/containing/the/lock +# \ No newline at end of file