Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 61808 invoked from network); 12 Sep 2006 14:18:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Sep 2006 14:18:47 -0000 Received: (qmail 31954 invoked by uid 500); 12 Sep 2006 14:18:46 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 31940 invoked by uid 500); 12 Sep 2006 14:18:46 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 31931 invoked by uid 99); 12 Sep 2006 14:18:46 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Sep 2006 07:18:46 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=lists@nabble.com; spf=pass X-ASF-Spam-Status: No, hits=0.5 required=5.0 tests=FROM_ENDS_IN_NUMS Received-SPF: pass (idunn.apache.osuosl.org: domain nabble.com designates 72.21.53.35 as permitted sender) Received: from ([72.21.53.35:60926] helo=talk.nabble.com) by idunn.apache.osuosl.org (ecelerity 2.1 r(10620)) with ESMTP id 90/61-02623-DC1C6054 for ; Tue, 12 Sep 2006 07:18:55 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GN95y-00024b-2X for activemq-users@geronimo.apache.org; Tue, 12 Sep 2006 07:18:38 -0700 Message-ID: <6266994.post@talk.nabble.com> Date: Tue, 12 Sep 2006 07:18:38 -0700 (PDT) From: Kapil To: activemq-users@geronimo.apache.org Subject: Re: Problem in shutting down ActiveMQ from tomcat In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: kapilgupta77@gmail.com References: <6247385.post@talk.nabble.com> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi James, Am using Spring to start ActiveMQ. My xml contains following entry tcp://localhost:61401 Regards, Kapil James.Strachan wrote: > > On 9/11/06, Kapil wrote: >> >> Hi, >> My spring based application is using ActiveMQ 4.0.1 in embedded mode >> running >> in Tomcat 5.5.17 server. When I try to shutdown Tomcat server, I receive >> folllowing error and shutdown process is halted > > How are you starting/stopping the broker? My advice would be to use > Spring to create an embedded broker then you have explciit control > over it rather than creating vm:// connections thoughout your > application. See the activemq-web-demo or activemq-web-console for > examples > -- > > James > ------- > http://radio.weblogs.com/0112098/ > > -- View this message in context: http://www.nabble.com/Problem-in-shutting-down-ActiveMQ-from-tomcat-tf2252647.html#a6266994 Sent from the ActiveMQ - User forum at Nabble.com.