Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 32631 invoked from network); 12 Apr 2006 18:45:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Apr 2006 18:45:20 -0000 Received: (qmail 20904 invoked by uid 500); 12 Apr 2006 18:45:18 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 20816 invoked by uid 500); 12 Apr 2006 18:45:17 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 20807 invoked by uid 99); 12 Apr 2006 18:45:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Apr 2006 11:45:17 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [64.14.253.135] (HELO goku.simulalabs.com) (64.14.253.135) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Apr 2006 11:45:16 -0700 Received: by goku.simulalabs.com (Postfix, from userid 501) id 0D69BEC041A; Wed, 12 Apr 2006 11:44:55 -0700 (PDT) Received: from localhost (goku [127.0.0.1]) by goku.simulalabs.com (Postfix) with ESMTP id DC044EC0418 for ; Wed, 12 Apr 2006 11:44:54 -0700 (PDT) Received: from goku.simulalabs.com ([127.0.0.1]) by localhost (goku.simulalabs.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11544-06-17 for ; Wed, 12 Apr 2006 11:44:52 -0700 (PDT) Received: from speedo (jira.activemq.org [172.18.20.169]) by goku.simulalabs.com (Postfix) with ESMTP id 8CE1CEC040D for ; Wed, 12 Apr 2006 11:44:52 -0700 (PDT) Message-ID: <4850858.1144874798373.JavaMail.tomcat@speedo> Date: Wed, 12 Apr 2006 13:46:38 -0700 (PDT) From: "Kieran Murphy (JIRA)" To: activemq-dev@geronimo.apache.org Subject: [jira] Commented: (AMQ-630) After broker has shutdown, cannot shutdown a client application MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at goku.simulalabs.com X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://jira.activemq.org/jira//browse/AMQ-630?page=comments#action_35931 ] Kieran Murphy commented on AMQ-630: ----------------------------------- when I turn off failover on the client side, the reconnection attempts do not continue -- i.e. without failover, the client shuts down properly. With failover, the client is forever trying to reconnect to the broker. I also set maxReconnectAttempts on the client, it still gets this debug output: DEBUG - Attempting connect to: tcp://localhost:61616 DEBUG - Connect fail to: tcp://localhost:61616, reason: java.net.ConnectException: Connection refused DEBUG - Waiting 30000 ms before attempting connection. DEBUG - Waiting for transport to reconnect. DEBUG - Waiting for transport to reconnect. DEBUG - Waiting for transport to reconnect. DEBUG - Waiting for transport to reconnect. DEBUG - Waiting for transport to reconnect. ...and so on. This prevents the client fromn shutting down. If I restart the broker, the client reconnect and then completes shutting down. > After broker has shutdown, cannot shutdown a client application > --------------------------------------------------------------- > > Key: AMQ-630 > URL: http://jira.activemq.org/jira//browse/AMQ-630 > Project: ActiveMQ > Type: Bug > Versions: 4.0 M4 > Reporter: Kieran Murphy > Fix For: 4.0 RC1 > > > 1. Bring up a broker > 2. Bring up a client application which connects to the broker > 3. Stop the broker. > 4. Now try to stop the client app -- it will not shutdown until the broker is restarted. > Using failover:tcp to connect to broker. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.activemq.org/jira//secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira