Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 91241 invoked from network); 20 Feb 2007 18:58:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Feb 2007 18:58:53 -0000 Received: (qmail 38160 invoked by uid 500); 20 Feb 2007 18:59:00 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 38140 invoked by uid 500); 20 Feb 2007 18:59:00 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 38131 invoked by uid 99); 20 Feb 2007 18:59:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Feb 2007 10:59:00 -0800 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=RCVD_IN_NJABL_PROXY X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [208.176.63.108] (HELO ext1-chi.ldsys.net) (208.176.63.108) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Feb 2007 10:58:48 -0800 Received: from [192.168.100.3] (200-150-162-71.interair.com.br [200.150.162.71]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ext1-chi.ldsys.net (Postfix) with ESMTP id 4A3FBB8018 for ; Tue, 20 Feb 2007 12:58:26 -0600 (CST) Message-ID: <45DB44D0.10108@ldsys.net> Date: Tue, 20 Feb 2007 16:58:24 -0200 From: "Christopher G. Stach II" User-Agent: Thunderbird 1.5.0.9 (X11/20070212) MIME-Version: 1.0 To: users@activemq.apache.org Subject: Re: ActiveMQ Broker dying References: <9052637.post@talk.nabble.com> <45DA4601.2060006@ldsys.net> <9064136.post@talk.nabble.com> <9064517.post@talk.nabble.com> <9065926.post@talk.nabble.com> <45DB366D.7000206@ldsys.net> <9067565.post@talk.nabble.com> <45DB3FE7.905@ldsys.net> <9067981.post@talk.nabble.com> In-Reply-To: <9067981.post@talk.nabble.com> X-Enigmail-Version: 0.94.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org GaryG wrote: > I'm getting the feeling that my session terminal closing does have something > to do with it. > > So, would you recommend using that JSW service? You said in the previous > posts that it has problems, so should I even other trying? > > Our Linux guys are telling me to run it like this instead: > > "nohup /opt/activemq-4.1.0/bin/activemq > /dev/null &" > > Perhaps that should be put in your documentation as the only way to make > sure the broker can be ran from command line as a background process without > dying. Try either configuring JSW (better idea) or running your broker like this: nohup blahblah/bin/activemq start > /dev/null 2>&1 & The JSW packaged with 4.1.0 is out of date and the example wrapper.conf is pretty broken. There are some web pages about fixing the JSW config, though. Google for org.tanukisoftware.wrapper.WrapperStartStopApp and activemq, maybe. -- Christopher G. Stach II