Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-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 61171DC86 for ; Fri, 26 Oct 2012 10:01:05 +0000 (UTC) Received: (qmail 23685 invoked by uid 500); 26 Oct 2012 10:01:05 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 23581 invoked by uid 500); 26 Oct 2012 10:01:04 -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 23553 invoked by uid 99); 26 Oct 2012 10:01:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2012 10:01:04 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rob.j.godfrey@gmail.com designates 209.85.215.42 as permitted sender) Received: from [209.85.215.42] (HELO mail-la0-f42.google.com) (209.85.215.42) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2012 10:00:56 +0000 Received: by mail-la0-f42.google.com with SMTP id e6so2189619lah.15 for ; Fri, 26 Oct 2012 03:00:35 -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:content-transfer-encoding; bh=oKoUq4svz/I3dk5iXh6h+YCpWjmhgYZmnbw+Woe7avs=; b=HAMkxnB4Y7MfEn+sY2Cs/cPBG4j2+2lzCeJmKef1DD2vKE7PUvEWQ/qqkcnKIiauVM OR63nK96w+wLYW0t07Drq6cst9wXK0kstO/EUcngvCQHiomi9qlKB6d4gjJkl3/gzKJY A2f1Y3R/8QZBkco1a8q7lydDTpIjy3bpjPeOSlIywcwSnLPmK2URl1n8xVIocG9ZW02O Nn4gJeAo+QRXJZCDloI85AxtTpiidW2tGWulmZrWTTDSwyg2y1cekX2AFI8HOg6PrJ5C ddTeVV5FIlky1SmYn3SzzdQu/2USGCTMQh9OMp5I5CVo6XhBz9BJ543fqpaxtQUgxtDZ lSiQ== MIME-Version: 1.0 Received: by 10.152.135.41 with SMTP id pp9mr20313623lab.7.1351245635657; Fri, 26 Oct 2012 03:00:35 -0700 (PDT) Received: by 10.114.62.101 with HTTP; Fri, 26 Oct 2012 03:00:35 -0700 (PDT) In-Reply-To: References: <1351193413.33603.YahooMailNeo@web161402.mail.bf1.yahoo.com> Date: Fri, 26 Oct 2012 12:00:35 +0200 Message-ID: Subject: Re: C++ clients unable to communicate with Java broker From: Rob Godfrey To: users@qpid.apache.org, Jeremy Wagner Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Jeremy, OK... I think I know what the problem is now - the machine on which you built the C++ client almost certainly doesn't have the SASL libraries installed. When I build on a CentOS machine without SASL installed then I see exactly the issue you are reporting. If I install the SASL libraries and rebuild the C++ client then it all works fine (I did yum install cyrus-sasl-devel which seemed to pull in all the necessary dependencies). Cheers, Rob On 26 October 2012 03:34, Rob Godfrey wrote: > Hi Jeremy, > > does the Java Broker log contain any useful information (it should > appear in ${QPID_HOME}/log). > > I just built the 0.18 C++ clients on 32-bit Ubuntu 12.04 and ran the > example against the 0.18 Java Broker with no issue. > > The only other avenue to potentially explore is some sort of firewall > / other security mechanism which is stopping you connecting to port > 5672 (which you could verify by trying to telnet to that port on your > local machine). > > Cheers, > Rob > On 25 October 2012 21:30, Jeremy Wagner wrote: >> Hello, >> >> I have been unable to get the C++ clients (i.e. spout/drain) to successf= ully connect to the Java broker. Even though, I can get the Java clients to= connect to the Java broker as well both the C++ and Java clients to connec= t to the C++ broker. The Java broker is running with the default configurat= ion as I'm trying to establish a working connection between the C++ clients= and the Java broker before making configuration changes. I did look throug= h the archives of this mailing list and it has been mentioned that this sho= uld be possible as long the username/password was provided as well. So this= is what I did with no success. >> >> Terminal 1: >> qpid-server -- this starts the Java broker - this uses the default conf= ig.xml/virtualhosts.xml files so the named 'queue' is already defined >> >> Terminal 2: >> ./spout -c 1 -b guest/guest@localhost queue >> Output was: >> [Client] warning Connection [127.0.0.1:xxx-127.0.0.1:5672] c= losed >> Failed to connect (reconnect disabled) >> >> Terminal 3: >> ./drain -c 1 -f -b guest/guest@localhost queue >> Output was: >> [Client] warning Connection [127.0.0.1:xxx-127.0.0.1:5672] c= losed >> Failed to connect (reconnect disabled) >> >> I would appreciate any guidance to get the C++ clients working with the = Java broker. Thank you. >> >> Jeremy >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org >> For additional commands, e-mail: users-help@qpid.apache.org >> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org