From dev-return-23346-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Tue Nov 23 15:39:18 2010 Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 65949 invoked from network); 23 Nov 2010 15:39:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Nov 2010 15:39:17 -0000 Received: (qmail 92580 invoked by uid 500); 23 Nov 2010 15:39:49 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 92558 invoked by uid 500); 23 Nov 2010 15:39:49 -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 92549 invoked by uid 99); 23 Nov 2010 15:39:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Nov 2010 15:39:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Nov 2010 15:39:46 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oANFdPIP007081 for ; Tue, 23 Nov 2010 15:39:25 GMT Message-ID: <31558275.10781290526765078.JavaMail.jira@thor> Date: Tue, 23 Nov 2010 10:39:25 -0500 (EST) From: "Alexander Fisher (JIRA)" To: dev@activemq.apache.org Subject: [jira] Updated: (AMQ-3050) ActiveMQ standalone script doesn't return with 0 when stop is called. In-Reply-To: <874208.10771290526644759.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-3050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Fisher updated AMQ-3050: ---------------------------------- Attachment: activemq-return-value.patch Patch correcting issue. > ActiveMQ standalone script doesn't return with 0 when stop is called. > --------------------------------------------------------------------- > > Key: AMQ-3050 > URL: https://issues.apache.org/activemq/browse/AMQ-3050 > Project: ActiveMQ > Issue Type: Bug > Affects Versions: 5.4.1 > Reporter: Alexander Fisher > Attachments: activemq-return-value.patch > > > I was testing to see if the ./bin/activemq script was LSB compatible (I want to integrate activemq into a pacemaker setup). > When calling ./bin/activemq stop, the script should return 0 on success. > The problem is in the invokeJar function. In the 'stop' case , the value of RET is set in the context of a forked process. > The proposed fix, is identical to how RET is handled in the other 2 cases. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.