Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 883F49122 for ; Fri, 13 Apr 2012 06:32:51 +0000 (UTC) Received: (qmail 28640 invoked by uid 500); 13 Apr 2012 06:32:51 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 28607 invoked by uid 500); 13 Apr 2012 06:32:51 -0000 Mailing-List: contact commits-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 commits@activemq.apache.org Received: (qmail 28594 invoked by uid 99); 13 Apr 2012 06:32:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2012 06:32:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2012 06:32:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8B62E36883C for ; Fri, 13 Apr 2012 06:32:29 +0000 (UTC) Date: Fri, 13 Apr 2012 06:32:29 +0000 (UTC) From: "Lionel Cons (Commented) (JIRA)" To: commits@activemq.apache.org Message-ID: <1802362884.20850.1334298749572.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1127546971.16164.1334209722922.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (APLO-189) UDP connector cannot be stopped MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/APLO-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13253170#comment-13253170 ] Lionel Cons commented on APLO-189: ---------------------------------- One more test, one more piece of information... It seems that Apollo did pick the right port number and did fail to bind (Address already in use). After that, it goes mad: - it does not report the bind() error message as an error - it tries to continue the startup - it reports NPE - it incorrectly reports 0 as the port number - it cannot be stopped, only kill -9 gets rid of it > UDP connector cannot be stopped > ------------------------------- > > Key: APLO-189 > URL: https://issues.apache.org/jira/browse/APLO-189 > Project: ActiveMQ Apollo > Issue Type: Bug > Components: apollo-broker > Environment: apollo-99-trunk-20120409.204714-16 > Reporter: Lionel Cons > Fix For: 1.2 > > > After enabling the UDP connector in apollo.xml and starting the broker interactively, it cannot be stopped on the command line by typing ^C. > The console reports (just after the ^C): > WARN | java.lang.NullPointerException > INFO | Stopped connector at: tls://0.0.0.0:6133 > INFO | Stopped connector at: tcp://0.0.0.0:6123 > INFO | Stopped connector at: wss://0.0.0.0:6134 > INFO | Stopped connector at: ws://0.0.0.0:6124 > INFO | broker shutdown is waiting on stop connector: udp > Then it is stuck. Further ^C or kill -TERM have no effect. It has to be killed with kill -KILL. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira