From users-return-49686-archive-asf-public=cust-asf.ponee.io@activemq.apache.org Mon Mar 19 06:41:44 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 1A2F7180647 for ; Mon, 19 Mar 2018 06:41:43 +0100 (CET) Received: (qmail 59129 invoked by uid 500); 19 Mar 2018 05:41:42 -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 59112 invoked by uid 99); 19 Mar 2018 05:41:41 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Mar 2018 05:41:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 54712C5D94 for ; Mon, 19 Mar 2018 05:41:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.713 X-Spam-Level: **** X-Spam-Status: No, score=4.713 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URI_HEX=1.313, URI_TRY_3LD=0.903] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id x_fbCGxrIUNP for ; Mon, 19 Mar 2018 05:41:39 +0000 (UTC) Received: from mail-wr0-f181.google.com (mail-wr0-f181.google.com [209.85.128.181]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 336E45F19C for ; Mon, 19 Mar 2018 05:41:39 +0000 (UTC) Received: by mail-wr0-f181.google.com with SMTP id z12so17297210wrg.4 for ; Sun, 18 Mar 2018 22:41:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=3iYNzh9BLg1qC1K0SJP1ssh0lvR4NEvxaJ2EEkIH/Z4=; b=IhXzsLLX0oL5Rn0j3zZeR9Lv0DZNV/Cp776dGI2ouL3HdHotu+DwUzieslWh+99JGC 5bTheRnVl946Qw7o5Mf9sxp2ivZyazGWc6bMyBApWF8ibH/iC3CHG5MYbw6iSXVcxAfz 3A5UCZXLB9GQSUP00VjnjWG4mCVwohzGJrbFVY08rvQyb8j+T04ciZf2V9nOA+HGuAa6 zIi5ngm/WCq8dbgtBCEE78z9kcxkKUv8ABBgASfk3WB+qUgIVlEKBmaroOGHTlGEaHSQ BGTgdx77lTQ5ibCp+KAIVzBCiXIGE02v2Q8w0WlSFabHxDDSyKDUniK5N+JgrCX9gWvA swYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=3iYNzh9BLg1qC1K0SJP1ssh0lvR4NEvxaJ2EEkIH/Z4=; b=p8Fk3CU820imy78WQ7o7/6bg43dCPzHI8k5hy80a7V2fMQmYT5Im4lK6AuXbOgHIyq Gonn/hYbRMMAu6JixSKkLR1Oi4cEeZQt5N1/lDZ0DdA6yAFG/+JsWqaHJWLU4B5sktkN etxv9w9buBFJ4ZR8yutgcJk2lO4kiU/lZaGFpLA/mufEGI7vm9MncgpVs3x+tzBg0FlW Otwd8+6WeCACWrKbxdAIADZX91hd8CwhxSpChFNsDdbiZwcdMpm8Mg+20riRoXc2nJR0 rVobmofTruR5JL+CrUm2sVxnr5tE2L2kEYzK/NIak/WpoTTtY4XzdPB+9K+JPUY3HVdu cSxA== X-Gm-Message-State: AElRT7GlzYCqIgDARtQ7zVQ1vDprcO9XsBUoYLJJyFlG7guPkJbHrlkV VIhqm0zkw0mb88yGutJbAR5Dp2lJKLrRfDfFADa0eQ== X-Google-Smtp-Source: AG47ELvq/GKcAFOZB34LW2sH+nCXqoiBeELvjzgRLnr9RSP6/D/EN0G5rkVs7QWLqYTuEqXrdWRUM65WAFXREJv3Oxo= X-Received: by 10.223.163.221 with SMTP id m29mr8832090wrb.4.1521438092613; Sun, 18 Mar 2018 22:41:32 -0700 (PDT) MIME-Version: 1.0 Sender: tbain98@gmail.com Received: by 10.223.135.89 with HTTP; Sun, 18 Mar 2018 22:41:12 -0700 (PDT) In-Reply-To: <1521386052241-0.post@n4.nabble.com> References: <1520558414548-0.post@n4.nabble.com> <1520568664996-0.post@n4.nabble.com> <1520571483819-0.post@n4.nabble.com> <1520988768365-0.post@n4.nabble.com> <1521386052241-0.post@n4.nabble.com> From: Tim Bain Date: Sun, 18 Mar 2018 23:41:12 -0600 X-Google-Sender-Auth: GunbrcrrbL0qBZ6U5u_ECx_poDk Message-ID: Subject: Re: Camel generating message with correlationid=null and tmp-queue null To: ActiveMQ Users Content-Type: multipart/alternative; boundary="f403045f20120edf6f0567bd69fd" --f403045f20120edf6f0567bd69fd Content-Type: text/plain; charset="UTF-8" On Sun, Mar 18, 2018 at 9:14 AM, Rajesh Malla wrote: > We have to use https only, because our server broker sits in cloud & > onpremises in another location. via some other url authenticating. this > scenario is working properly in <5.8.0 > of activemq however not working with 5.12.3 version. I mean, for some > hours it is working after that it is giving errors like attached : > error.txt > OK, I won't push further on this. The concerns I've voiced about the limitations of the HTTP transport wouldn't cause these connections to fail, which implies that there's something else going on. The following content is in one of the stack traces you provided in that output: Caused by: java.io.IOException: Failed to perform GET on: https://URL Reason: null at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:33)[120:org.apache.activemq.activemq-osgi:5.12.3] at org.apache.activemq.transport.http.HttpClientTransport.run(HttpClientTransport.java:205)[120:org.apache.activemq.activemq-osgi:5.12.3] ... 1 more Caused by: java.io.EOFException at java.io.DataInputStream.readInt(Unknown Source)[:1.8.0_60] at org.apache.activemq.transport.util.TextWireFormat.unmarshal(TextWireFormat.java:52)[120:org.apache.activemq.activemq-osgi:5.12.3] at org.apache.activemq.transport.http.HttpClientTransport.run(HttpClientTransport.java:196)[120:org.apache.activemq.activemq-osgi:5.12.3] ... 1 more Is this the root cause of why your connections are already closed when trying to open sessions, etc.? If so, there's one of two possibilities: 1. The broker is experiencing errors that cause it to close the connection prematurely. What do you see in the broker logs? Everything you've provided so far has been from the consumer's logs. 2. The load balancer is experiencing behavior that cause it to terminate the connection prematurely, e.g. due to inactivity or other problems. If there's nothing in the broker's logs that indicates a problem, this would be the next place to dig into. Otherwise, I'd attach a debugger to the client and put a breakpoint in org.apache.activemq.jms.pool.PooledSession.close() and try to figure out who's calling it and why. > we are using service mix [ activemq 5.12.3 & camel 2.16.2 & spring 3.2 ]. > > one more question : when we are making route using camel we are seeing many > consumers are started. > for spring DMLC we are providing default cachel level CACHE_NONE. for one > route why it is creating nearly 8 to 9 consumers on same queue. because of > above errors each consumer is closed I think, finally nothing is working. > You'd need to give more information about your usage pattern for anyone to conclusively answer this question. One possibility is that the repeated failure to connect creates 8-9 consumers in succession, with all of them in a failed state. Another is that you're creating 8-9 DMLCs, either intentionally or due to retries from exception handling. Or maybe it's something else; I'm not an expert on the behavior of the DMLC, so if you feel that this question is relevant to the broader questions in this thread, you might want to pose it on a Spring forum or on StackOverflow to see if someone who knows the DMLC code well can shed some light on why it's doing what it's doing. > https option we cannot change it now, bcz of our designs, what is the main > reason we are not able to receive message ? > > also remove connection and create connection means, we are removing > component in camel and creating new route in camel on that queue. even if > we > restart client also wroking. BTW, have you read http://activemq.2283324.n4.nabble.com/Logentry-quot-Setup-of-JMS-message-listener-invoker-failed-for-destination-quot-td4676507.html and http://activemq.2283324.n4.nabble.com/ActiveMQ-Pooled-Session-td4698203.html? Both provide proposed solutions from other users, though in neither case did the OP respond to say whether the suggested changes had the desired effect, so I can't promise that they'll work for you (nor that they won't cause some problem). But if either one does work, we'd certainly like to know that. Tim --f403045f20120edf6f0567bd69fd--