Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 646D0200B6F for ; Wed, 24 Aug 2016 09:25:51 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 62E0F160AB1; Wed, 24 Aug 2016 07:25:51 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A9EB0160AA4 for ; Wed, 24 Aug 2016 09:25:50 +0200 (CEST) Received: (qmail 81717 invoked by uid 500); 24 Aug 2016 07:25:49 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 81706 invoked by uid 99); 24 Aug 2016 07:25:49 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Aug 2016 07:25:49 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 0F2C91A61F9 for ; Wed, 24 Aug 2016 07:25:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.592 X-Spam-Level: ** X-Spam-Status: No, score=2.592 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id m9fxxeiQvvTq for ; Wed, 24 Aug 2016 07:25:46 +0000 (UTC) Received: from DUB004-OMC4S32.hotmail.com (dub004-omc4s32.hotmail.com [157.55.2.107]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 4426A5F1B3 for ; Wed, 24 Aug 2016 07:25:46 +0000 (UTC) Received: from DUB129-W36 ([157.55.2.72]) by DUB004-OMC4S32.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Wed, 24 Aug 2016 00:25:40 -0700 X-TMN: [5lTji8Hz29UiqR8uet0A5g+rAEIMY37cPX9hj/Sr5s4=] X-Originating-Email: [adelboutros@live.com] Message-ID: Content-Type: multipart/alternative; boundary="_271e6ae8-c2a5-4f42-a275-b1aa4fd20707_" From: Adel Boutros To: "users@qpid.apache.org" Subject: RE: QPID C++ Broker and QPID Proton C++ Example interoperability problem Date: Wed, 24 Aug 2016 09:25:39 +0200 Importance: Normal In-Reply-To: <1472000050403-7649519.post@n2.nabble.com> References: <1472000050403-7649519.post@n2.nabble.com> MIME-Version: 1.0 X-OriginalArrivalTime: 24 Aug 2016 07:25:40.0198 (UTC) FILETIME=[B763A860:01D1FDD8] archived-at: Wed, 24 Aug 2016 07:25:51 -0000 --_271e6ae8-c2a5-4f42-a275-b1aa4fd20707_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello John=2C A while ago=2C when I was testing with Qpid C++ broker=2C I encountered sim= ilar errors where I couldn't communicate using AMQP 1.0.=20 I solved it by launching qpidd with the following option "--load-module=3Da= mqp.so". Amqp.so is a library which is also built when you cmake/make Qpid = C++ Broker. If you don't have it anywhere=2C make sure in the Cmake logs=2C= you don't have something like "amqp disabled". In the logs of the Qpid broker=2C you would see a log similar to "AMQP 1.0 = support enabled" when the load-module is working. Reference: http://qpid.apache.org/releases/qpid-cpp-0.34/cpp-broker/book/ch= 01.html#RASC-Slightlymorecomplexconfiguration=20 Regards=2C Adel > Date: Tue=2C 23 Aug 2016 17:54:10 -0700 > From: john@exara.net > To: users@qpid.apache.org > Subject: QPID C++ Broker and QPID Proton C++ Example interoperability pro= blem >=20 > QPID/AMPQ noob here=2C but I could use some help. >=20 > I git-cloned the latest repos for qpid-cpp and qpid-proton. For each=2C = I > successfully built and "sudo installed" with CMake/Make using default > configs. >=20 > As a test=2C I wanted to run qpidd and an example client & server from ea= ch > repo (cpp & proton). >=20 > The qpid-cpp broker (qpidd) seemed to work fine with the qpid-cpp example= s > server & client. >=20 > However=2C when I tried to use the qpid-proton example server I had the > following results: >=20 > 1. Running qpidd with a default qpidd.conf and then trying to execute > qpid-proton/bld/examples/cpp/server I get the following: > $ ./server > server connected to amqp://0.0.0.0:5672/examples > *amqp:connection:framing-error: AMQP header mismatch: Pre standard AMQP > connection ['AMQP\x01\x01\x00\x0a']* >=20 > so I seemed to recall reading somewhere that AMPQ 1.0 was not enabled by > default in qpidd (which seems odd to me)=2C so I added "protocols=3Damqp1= .0" to > my qpidd.conf and restarted the daemon. >=20 > 2. Running qpidd with the modified qpidd.conf and then trying to execute > qpid-proton/bld/examples/cpp/server I get the following: >=20 > $ ./server > server connected to amqp://0.0.0.0:5672/examples > *amqp:connection:framing-error: AMQP header mismatch: Pre standard AMQP > connection ['AMQP\x01\x01\x00\x00']* >=20 > Seeing that the hex values changed I believe my change had an effect=2C b= ut I > am left with a mystery as to why my qpid-proton based server cannot conne= ct > to my qpid-cpp broker (qpidd). >=20 > *Can anyone shed some light or point me in a meaningful direction?* >=20 > Tech details: > $ qpidd --version -> qpidd (qpid-cpp) version 0.35 > $ which qpidd -> /usr/local/sbin/qpidd > $ gcc --version -> gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4 > $ g++ --version -> g++ (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4 > $ lsb_release -a -> Ubuntu 14.04.4 LTS > $ uname -a -> Linux john1 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 > 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux > Last qpid-proton GIT commit : 7f87f1bbc674e2021da7cbd97d23a1400c5dadd4 > Last qpid-cpp GIT commit : 61361614703a459483aa5f2135637daf15e1864a >=20 >=20 >=20 >=20 > -- > View this message in context: http://qpid.2158936.n2.nabble.com/QPID-C-Br= oker-and-QPID-Proton-C-Example-interoperability-problem-tp7649519.html > Sent from the Apache Qpid users mailing list archive at Nabble.com. >=20 > --------------------------------------------------------------------- > To unsubscribe=2C e-mail: users-unsubscribe@qpid.apache.org > For additional commands=2C e-mail: users-help@qpid.apache.org >=20 = --_271e6ae8-c2a5-4f42-a275-b1aa4fd20707_--