Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 25241 invoked from network); 28 Aug 2008 11:45:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Aug 2008 11:45:48 -0000 Received: (qmail 96717 invoked by uid 500); 28 Aug 2008 11:45:46 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 96688 invoked by uid 500); 28 Aug 2008 11:45:45 -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 96677 invoked by uid 99); 28 Aug 2008 11:45:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Aug 2008 04:45:45 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Aug 2008 11:44:47 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KYfwD-0008KV-1U for users@activemq.apache.org; Thu, 28 Aug 2008 04:45:17 -0700 Message-ID: <19198844.post@talk.nabble.com> Date: Thu, 28 Aug 2008 04:45:16 -0700 (PDT) From: taf To: users@activemq.apache.org Subject: Restart of embedded broker causes BrokerStoppedException MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: torgeir@fikse.net X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm running activemq embedded and wants to be able to restart the broker without terminating the host application. The broker starts fine on application startup and calling stop() therafter also works fine, but when trying to start it again, it results in a BrokerStoppedException. I've traced the call into the start method in MutableBrokerFilter where the call to getNext().start() actually returns an ErrorBroker (which of-course gives me a BrokerStoppedException when trying to start it). I would have thought that the call should be this.start(), as my broker is successfully bound to this. And why does getNext even return an ErrorBroker? Am I missing something obvious here? Regards, - Torgeir Fikse -- View this message in context: http://www.nabble.com/Restart-of-embedded-broker-causes-BrokerStoppedException-tp19198844p19198844.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.