Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3CECBC295 for ; Fri, 25 Jan 2013 13:11:14 +0000 (UTC) Received: (qmail 69616 invoked by uid 500); 25 Jan 2013 13:11:14 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 69181 invoked by uid 500); 25 Jan 2013 13:11:10 -0000 Mailing-List: contact dev-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 dev@activemq.apache.org Received: (qmail 68981 invoked by uid 99); 25 Jan 2013 13:11:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jan 2013 13:11:09 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chirino@gmail.com designates 209.85.217.181 as permitted sender) Received: from [209.85.217.181] (HELO mail-lb0-f181.google.com) (209.85.217.181) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jan 2013 13:10:34 +0000 Received: by mail-lb0-f181.google.com with SMTP id gm6so685324lbb.12 for ; Fri, 25 Jan 2013 05:10:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=hJaJf/s6s1UkJ+3Xz4ewtqBMLCCgjry8fGXXyFGnbSE=; b=is2JGS8p2aNm7d0+fEdGtU2dJd3kTqeOO4UQ3ebwzg7KdZJye/BuCK43SkG9a/6DxZ ShHBrPg61rAuimHZkwwe4laiVGnxXi1scZBp98wJVvD2jZdeziFgSePDBalNiMb9UcuN fWXAJNHJa1IPy26urqLsSVooVzkB+4adKtF25p7s/TeTwbkO+KC5J0KYoX7poW0hKJsU dafSjlZ/sPkj4qN06nv20xd+uZtlU5JCdC2i47gSYl3PgfSA0mdaaJolQlS/rvOgzAw6 gcIFr1KCzbJ3yWtdjTNjCKTf/f9zwQAhCqY1ucJOHQb+WovE1Hi5cAYlCwpLKXAR9y4g ZiIw== MIME-Version: 1.0 X-Received: by 10.152.144.130 with SMTP id sm2mr5096395lab.49.1359119406871; Fri, 25 Jan 2013 05:10:06 -0800 (PST) Sender: chirino@gmail.com Received: by 10.152.25.66 with HTTP; Fri, 25 Jan 2013 05:10:06 -0800 (PST) In-Reply-To: References: Date: Fri, 25 Jan 2013 08:10:06 -0500 X-Google-Sender-Auth: 5eBlQy67sp0JY7MuaiiB8r_Nf8k Message-ID: Subject: Re: AMQP connector warning From: Hiram Chirino To: ActiveMQ-Developers Content-Type: multipart/alternative; boundary=e89a8f2348a974335104d41ca5b6 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f2348a974335104d41ca5b6 Content-Type: text/plain; charset=ISO-8859-1 Hi Zhigang, Do you have the a script that can reproduce that error? On Thu, Jan 24, 2013 at 4:18 PM, Zhigang Wang wrote: > It seem worse now for today's snapshot: > > INFO | jvm 1 | 2013/01/24 16:14:13 | > org.apache.activemq.transport.amqp.AmqpProtocolException: Could not process > AMQP commands > INFO | jvm 1 | 2013/01/24 16:14:13 | at > > org.apache.activemq.transport.amqp.AmqpProtocolConverter.onFrame(AmqpProtocolConverter.java:245) > INFO | jvm 1 | 2013/01/24 16:14:13 | at > > org.apache.activemq.transport.amqp.AmqpProtocolConverter.onAMQPData(AmqpProtocolConverter.java:151) > INFO | jvm 1 | 2013/01/24 16:14:13 | at > > org.apache.activemq.transport.amqp.AmqpTransportFilter.onCommand(AmqpTransportFilter.java:94) > INFO | jvm 1 | 2013/01/24 16:14:13 | at > > org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83) > INFO | jvm 1 | 2013/01/24 16:14:13 | at > org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:214) > INFO | jvm 1 | 2013/01/24 16:14:13 | at > org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:196) > INFO | jvm 1 | 2013/01/24 16:14:13 | at > java.lang.Thread.run(Unknown Source) > INFO | jvm 1 | 2013/01/24 16:14:13 | Caused by: > java.lang.NullPointerException > INFO | jvm 1 | 2013/01/24 16:14:13 | at > > org.apache.activemq.command.ActiveMQDestination.createDestination(ActiveMQDestination.java:93) > INFO | jvm 1 | 2013/01/24 16:14:13 | at > > org.apache.activemq.transport.amqp.AmqpProtocolConverter.createDestination(AmqpProtocolConverter.java:636) > INFO | jvm 1 | 2013/01/24 16:14:13 | at > > org.apache.activemq.transport.amqp.AmqpProtocolConverter.onReceiverOpen(AmqpProtocolConverter.java:601) > INFO | jvm 1 | 2013/01/24 16:14:13 | at > > org.apache.activemq.transport.amqp.AmqpProtocolConverter.onLinkOpen(AmqpProtocolConverter.java:380) > INFO | jvm 1 | 2013/01/24 16:14:13 | at > > org.apache.activemq.transport.amqp.AmqpProtocolConverter.onFrame(AmqpProtocolConverter.java:207) > INFO | jvm 1 | 2013/01/24 16:14:13 | ... 6 more > > Please have a look. > > Thanks, > > Zhigang > > > On Wed, Jan 23, 2013 at 12:40 PM, Zhigang Wang wrote: > > > Thank you for your quick fix. I will test it later. > > > > Zhigang > > > > > > On Wed, Jan 23, 2013 at 11:38 AM, Hiram Chirino >wrote: > > > >> Yep. your script looks good. I found a problem /w how the AMQP impl was > >> handling the socket disconnect. I've now committed a fix for that. If > >> you > >> try a fresh build those messages should go away. Thanks for the report! > >> > >> > >> On Wed, Jan 23, 2013 at 9:21 AM, Zhigang Wang wrote: > >> > >> > Here it is: > >> > > >> > #!/usr/bin/env python > >> > > >> > > >> -- > >> > >> ** > >> > >> *Hiram Chirino* > >> > >> *Engineering | Red Hat, Inc.* > >> > >> *hchirino@redhat.com | fusesource.com | > redhat.com* > >> > >> *skype: hiramchirino | twitter: @hiramchirino< > >> http://twitter.com/hiramchirino> > >> * > >> > >> *blog: Hiram Chirino's Bit Mojo * > >> > > > > > -- ** *Hiram Chirino* *Engineering | Red Hat, Inc.* *hchirino@redhat.com | fusesource.com | redhat.com* *skype: hiramchirino | twitter: @hiramchirino * *blog: Hiram Chirino's Bit Mojo * --e89a8f2348a974335104d41ca5b6--