Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 70692CD98 for ; Fri, 14 Jun 2013 15:04:22 +0000 (UTC) Received: (qmail 71660 invoked by uid 500); 14 Jun 2013 15:04:22 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 71511 invoked by uid 500); 14 Jun 2013 15:04:21 -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 71498 invoked by uid 99); 14 Jun 2013 15:04:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jun 2013 15:04:21 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of christian.posta@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, 14 Jun 2013 15:04:17 +0000 Received: by mail-lb0-f181.google.com with SMTP id w10so685524lbi.40 for ; Fri, 14 Jun 2013 08:03:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=J2JWlsZddhqOlF416DyzEBz/R4lDIGHIggEqdZrflJc=; b=wsoyqEEZ5nG73YE9XtBkpacu5//kUeuodSWVjRD1wdpK0RJjsPM6bvEXPySSx0SBNM SC0YGsfdv2tVKh0yOBJqBMyGCdaTPZfI823ML4xKDxbW2kYvClKwXOBzfEZOA22GOEER VSU/FV5NkmkpcCzqm3SuFhjDVvsTcNphmmb4kJmdFjWtSlY2ex1VqM0L4Opi+h3jmf4N u+LVrQ/0W/xmE7sEOg8JhqObuTyYA4eCijPyI4xzbovUjw85WAlUov8l19IhckrLfnwv cZkgjOl2HqMluUIGYGwhXuAPJqwSGoUmExsMStFcPJ/oHUXoJildp+YYBsNA8S6gDJC8 HE/g== MIME-Version: 1.0 X-Received: by 10.152.170.194 with SMTP id ao2mr1404291lac.48.1371222235474; Fri, 14 Jun 2013 08:03:55 -0700 (PDT) Received: by 10.114.98.35 with HTTP; Fri, 14 Jun 2013 08:03:55 -0700 (PDT) In-Reply-To: <15be921c.1dafb.13f410e0015.Coremail.jswqne@163.com> References: <1370893741985-4668062.post@n4.nabble.com> <1371171504822-4668198.post@n4.nabble.com> <15be921c.1dafb.13f410e0015.Coremail.jswqne@163.com> Date: Fri, 14 Jun 2013 11:03:55 -0400 Message-ID: Subject: Re: javax.jms.JMSException: Cannot send message to queue://10408_base with invalid (null) producer state From: Christian Posta To: "users@activemq.apache.org" Content-Type: multipart/alternative; boundary=089e011615f240f05404df1e8e8d X-Virus-Checked: Checked by ClamAV on apache.org --089e011615f240f05404df1e8e8d Content-Type: text/plain; charset=ISO-8859-1 Would need to be able to re-create this... Please put together a unit test that reproduces this. On Fri, Jun 14, 2013 at 1:00 AM, lzr wrote: > Dear all, > > > I'm using Acitvemq 5.6 with my app and struggling to handle the following > Exception: > 2013-06-13 09:53:46,018 | WARN | Send failed for: ActiveMQObjectMessage > {commandId = 6, responseRequired = false, messageId = > ID:nfsnnc02-46547-1370842535042-0:547519:1:1:1, originalDestination = null, > originalTransactionId = null, producerId = > ID:nfsnnc02-46547-1370842535042-0:547519:1:1, destination = > queue://10408_base, transactionId = > TX:ID:nfsnnc02-46547-1370842535042-0:547519:1, expiration = 0, timestamp = > 1371088670829, arrival = 0, brokerInTime = 1371088426003, brokerOutTime = > 0, correlationId = null, replyTo = null, persistent = true, type = null, > priority = 4, groupID = null, groupSequence = 0, targetConsumerId = null, > compressed = false, userID = null, content = > org.apache.activemq.util.ByteSequence@c4b67b, marshalledProperties = > org.apache.activemq.util.ByteSequence@a84ac2, dataStructure = null, > redeliveryCounter = 0, size = 0, properties = {createtime=2013-06-13 > 09:57:50, datasize=1, syncflag=bd_defdoc}, readOnlyProperties = false, > readOnlyBody = false, droppable = fals > e}, missing producer state for: > org.apache.activemq.broker.ProducerBrokerExchange@c44470 | > org.apache.activemq.broker.region.Queue | ActiveMQ Transport: tcp:/// > 10.1.100.66:64118 > 2013-06-13 09:53:46,018 | WARN | Async error occurred: > javax.jms.JMSException: Cannot send message to queue://10408_base with > invalid (null) producer state | > org.apache.activemq.broker.TransportConnection.Service | ActiveMQ > Transport: tcp:///10.1.100.66:64118 > javax.jms.JMSException: Cannot send message to queue://10408_base with > invalid (null) producer state > at org.apache.activemq.broker.region.Queue.send(Queue.java:589) > at > org.apache.activemq.broker.region.AbstractRegion.send(AbstractRegion.java:407) > at > org.apache.activemq.broker.region.RegionBroker.send(RegionBroker.java:503) > at > org.apache.activemq.broker.jmx.ManagedRegionBroker.send(ManagedRegionBroker.java:305) > at org.apache.activemq.broker.BrokerFilter.send(BrokerFilter.java:129) > at > org.apache.activemq.broker.CompositeDestinationBroker.send(CompositeDestinationBroker.java:96) > at > org.apache.activemq.broker.TransactionBroker.send(TransactionBroker.java:306) > at > org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:135) > at > org.apache.activemq.broker.TransportConnection.processMessage(TransportConnection.java:453) > at > org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:681) > at > org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:292) > at > org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:150) > at > org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50) > at > org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:113) > at > org.apache.activemq.transport.AbstractInactivityMonitor.onCommand(AbstractInactivityMonitor.java:229) > at > org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83) > at > org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:222) > at > org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:204) > at java.lang.Thread.run(Thread.java:619) > > > Could anybody give me some clue? It would be much appreciated if any > questions. > > > Thanks a lot, > Zhuran Li -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta --089e011615f240f05404df1e8e8d--