Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3C2CA10EB5 for ; Tue, 27 Aug 2013 19:49:53 +0000 (UTC) Received: (qmail 4801 invoked by uid 500); 27 Aug 2013 19:49:52 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 4747 invoked by uid 500); 27 Aug 2013 19:49:52 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 4728 invoked by uid 99); 27 Aug 2013 19:49:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Aug 2013 19:49:51 +0000 Date: Tue, 27 Aug 2013 19:49:51 +0000 (UTC) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQ-4694) add support for flock-based shared lock file (patch included) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-4694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13751633#comment-13751633 ] Timothy Bish commented on AMQ-4694: ----------------------------------- Nice work on the patch. The tricky bit I see here is that I don't think we can add this because of the use of the JNA libs which are LGPL licensed. From my understanding we can't include these in Apache products. http://www.apache.org/legal/resolved.html#category-x > add support for flock-based shared lock file (patch included) > ------------------------------------------------------------- > > Key: AMQ-4694 > URL: https://issues.apache.org/jira/browse/AMQ-4694 > Project: ActiveMQ > Issue Type: Improvement > Components: Broker > Affects Versions: 5.8.0 > Reporter: Carl Harris > Attachments: patch.txt, README.patch.txt > > > This issue provides a patch to add support for using native flock (2) based lock files. As discussed in AMQ-4378, using the Shared File System Master/Slave configuration on an OCFS2 filesystem is complicated by Java's use of POSIX locks. See the attached README for motivation and description of the approach. > With this patch, a user can configure KahaDB to use a shared native lock file (using flock) as follows: > {code:xml} > > > > > > > > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira