Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3D3C3173A5 for ; Thu, 9 Apr 2015 20:07:14 +0000 (UTC) Received: (qmail 95181 invoked by uid 500); 9 Apr 2015 20:07:14 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 95143 invoked by uid 500); 9 Apr 2015 20:07:14 -0000 Mailing-List: contact commits-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 commits@activemq.apache.org Received: (qmail 95082 invoked by uid 99); 9 Apr 2015 20:07:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Apr 2015 20:07:14 +0000 Date: Thu, 9 Apr 2015 20:07:14 +0000 (UTC) From: "Hiram Chirino (JIRA)" To: commits@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (APLO-373) Apollo service fails to stop properly with purge_on_startup="true" 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/APLO-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14488156#comment-14488156 ] Hiram Chirino edited comment on APLO-373 at 4/9/15 8:06 PM: ------------------------------------------------------------ Perhaps the broker should know not to delete the pid files tho. was (Author: chirino): Please attach patch with your fix. thx! > Apollo service fails to stop properly with purge_on_startup="true" > ------------------------------------------------------------------ > > Key: APLO-373 > URL: https://issues.apache.org/jira/browse/APLO-373 > Project: ActiveMQ Apollo > Issue Type: Bug > Reporter: Andrew Lin > > Steps to reproduce: > * Set up a broker with the "purge_on_startup" option set to "true" > * Use "apollo-broker-service start" to start the broker > * Use "apollo-broker-service stop" > Expected behavior: apollo process is stopped > Observed behavior: apollo process is not stopped > I'm pretty sure the problem is that the service script puts its pidfile in the data directory, which is purged by apollo on startup. Hacking the script to put the pidfile outside the data directory does solve my problem. -- This message was sent by Atlassian JIRA (v6.3.4#6332)