Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 78294 invoked from network); 5 Jul 2010 09:47:19 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Jul 2010 09:47:19 -0000 Received: (qmail 96144 invoked by uid 500); 5 Jul 2010 09:47:19 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 95972 invoked by uid 500); 5 Jul 2010 09:47:16 -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 95964 invoked by uid 99); 5 Jul 2010 09:47:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jul 2010 09:47:15 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gary.tully@gmail.com designates 209.85.160.171 as permitted sender) Received: from [209.85.160.171] (HELO mail-gy0-f171.google.com) (209.85.160.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jul 2010 09:47:09 +0000 Received: by gyg8 with SMTP id 8so4753260gyg.2 for ; Mon, 05 Jul 2010 02:45:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=g2C5MBnZUT9nZ5OQ4hiqN8xke9IM/L2fuovZmgG3Dmo=; b=G6ZNLXVV0jKIdnl3Tlzqc1L10jBKiN8W+pt9kTPqAwjcBqT9+DOFt4pgoeghjW3hpv u42banH1YIGhhkgqPKfZTo8RoVQgoIky9KYuEnETwitzsABFg+vTZntTl/p4yGR0+pwM W57nCOVwikIFN9mc+TQcUiAiTqd1xrkyom3GY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=boNZ3qIqFNy/j7bVsQbGpwJ0X+6gLL0UHQaL+sLqMYnXC07wMvCtxq4BZkWx/q69wn 9znkv3c6Mt9tAkTDeqoGnQQdobwEFkOND0isomugsWGCo+OTIP1eEb8nSa4dIyt7Y0CN XJAhOa/+K26mvnPw5c9981R/RaK2gZHrG3IZs= MIME-Version: 1.0 Received: by 10.101.153.29 with SMTP id f29mr447026ano.114.1278323147932; Mon, 05 Jul 2010 02:45:47 -0700 (PDT) Received: by 10.150.137.7 with HTTP; Mon, 5 Jul 2010 02:45:47 -0700 (PDT) In-Reply-To: <29073155.post@talk.nabble.com> References: <29073155.post@talk.nabble.com> Date: Mon, 5 Jul 2010 10:45:47 +0100 Message-ID: Subject: Re: Network of Brokers: Members die after some hours From: Gary Tully To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=0016e6d2848424047e048aa0cd9a X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d2848424047e048aa0cd9a Content-Type: text/plain; charset=ISO-8859-1 Can you raise a jira issue for this NPE, there should be a check for null in the doStop method. On 5 July 2010 07:29, dialsc wrote: > > hello, > > i have a network of brokers configured with four nodes where each node > knows > the other three nodes through the networkConnector config. two of theses > four nodes are currently down/unavailable. the other two nodes are working > for about four hours then they die. in the log file i see a lot of entries > like this one: > > 2010-07-05 00:53:01,741 | ERROR | Could not stop service: tcp://null:0. > Reason: java.lang.NullPointerException | > org.apache.activemq.transport.nio.NIOTransport | Simple Discovery Agent: > java.util.concurrent.ThreadPoolExecutor$Worker@f782b1 > java.lang.NullPointerException > at > > org.apache.activemq.transport.nio.NIOTransport.doStop(NIOTransport.java:152) > at > org.apache.activemq.util.ServiceSupport.stop(ServiceSupport.java:69) > at > org.apache.activemq.transport.tcp.TcpTransport.stop(TcpTransport.java:500) > at > > org.apache.activemq.transport.InactivityMonitor.stop(InactivityMonitor.java:121) > at > org.apache.activemq.transport.TransportFilter.stop(TransportFilter.java:64) > at > > org.apache.activemq.transport.WireFormatNegotiator.stop(WireFormatNegotiator.java:91) > at > org.apache.activemq.transport.TransportFilter.stop(TransportFilter.java:64) > at > org.apache.activemq.transport.TransportFilter.stop(TransportFilter.java:64) > at > > org.apache.activemq.transport.ResponseCorrelator.stop(ResponseCorrelator.java:132) > at > org.apache.activemq.util.ServiceSupport.dispose(ServiceSupport.java:43) > at > > org.apache.activemq.network.DiscoveryNetworkConnector.onServiceAdd(DiscoveryNetworkConnector.java:134) > at > > org.apache.activemq.transport.discovery.simple.SimpleDiscoveryAgent$1.run(SimpleDiscoveryAgent.java:164) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:619 > > and yes, i'm using the nio transport. > has anyone got an idea? > > thx, > greez, > > dialsc > -- > View this message in context: > http://old.nabble.com/Network-of-Brokers%3A-Members-die-after-some-hours-tp29073155p29073155.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- http://blog.garytully.com Open Source Integration http://fusesource.com --0016e6d2848424047e048aa0cd9a--