Return-Path: Delivered-To: apmail-incubator-qpid-users-archive@locus.apache.org Received: (qmail 70465 invoked from network); 7 Mar 2008 01:50:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Mar 2008 01:50:50 -0000 Received: (qmail 88118 invoked by uid 500); 7 Mar 2008 01:50:46 -0000 Delivered-To: apmail-incubator-qpid-users-archive@incubator.apache.org Received: (qmail 88097 invoked by uid 500); 7 Mar 2008 01:50:46 -0000 Mailing-List: contact qpid-users-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: qpid-users@incubator.apache.org Delivered-To: mailing list qpid-users@incubator.apache.org Received: (qmail 88088 invoked by uid 99); 7 Mar 2008 01:50:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Mar 2008 17:50:46 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of martin.a.ritchie@googlemail.com designates 66.249.82.229 as permitted sender) Received: from [66.249.82.229] (HELO wx-out-0506.google.com) (66.249.82.229) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Mar 2008 01:50:08 +0000 Received: by wx-out-0506.google.com with SMTP id h30so344142wxd.21 for ; Thu, 06 Mar 2008 17:50:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=QfglUU4uqVHaBd0LAFERM2ivHlqrfPd7o1Dzlr66Gn0=; b=GRqQnCgUA3GP5C9rxN6/S4rgnQZ7y/nVO5TZ5yLfRotaeY6c3ItmFj1iBtZyltj+vkDdMvLLw0Z4WHAqStqgMAAeRqcXlf8hf9d3QE+RAevA9dGfl9OoaaUwMMkr9D4yHebz06mt7aXIxSmxd6VpSXwn7bEYVTaHWjLgFsBLy9M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=uI6ecvJXhVtchLgOPTbF4BktHF6+gbOtqyoCFxHlhXeXWGsFIkUqzEWE72pyaT6Rglil0Re5w4DbYJvek2gtY1PmdBoTNU2PfIdQtYk9s5xtrWo1z+Wt2/Oc6um9X/hlQOaLRIS9+DeWkcqXb8PwxUB1RxAl4LSINcbtVD6tzJw= Received: by 10.70.113.5 with SMTP id l5mr635886wxc.31.1204854613460; Thu, 06 Mar 2008 17:50:13 -0800 (PST) Received: by 10.70.89.13 with HTTP; Thu, 6 Mar 2008 17:50:13 -0800 (PST) Message-ID: <99e30fe50803061750v7da50b0bi15ca206eec4499ee@mail.gmail.com> Date: Fri, 7 Mar 2008 01:50:13 +0000 From: "Martin Ritchie" Sender: martin.a.ritchie@googlemail.com To: qpid-users@incubator.apache.org Subject: Re: HermesJMS Configuration In-Reply-To: <129a14790803051351i79f4f0f5yde693f34b5683b46@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47CCAD9E.7040103@pdi.dreamworks.com> <47CDCEEF.7040709@pdi.dreamworks.com> <47CDE9C6.4050901@pdi.dreamworks.com> <47CDF8A5.70600@pdi.dreamworks.com> <99e30fe50803050136g23941ca8oc31339376593c5f9@mail.gmail.com> <47CEF1A7.7060208@pdi.dreamworks.com> <47CEF44C.4030804@pdi.dreamworks.com> <129a14790803051351i79f4f0f5yde693f34b5683b46@mail.gmail.com> X-Google-Sender-Auth: a311edb29f1c23d2 X-Virus-Checked: Checked by ClamAV on apache.org On 05/03/2008, Robert Greig wrote: > On 05/03/2008, Aidan Skinner wrote: > > On Wed, Mar 5, 2008 at 7:28 PM, Brent Villalobos > > wrote: > > > > > Oops, I posted the wrong log. This is the log I should have posted (and > > > I do have the qpid broker running and I can telnet into it). Again, > > > this is using Java6 and Hermes v1.13 with the M2 qpid broker. > > > -Brent > > > > > > This is the error that get thrown to the console: > > > > That's a bit of a rubbish error (which should be much better in M2.1). > > It looks like it can't find an slf4j implementation, it might work if > > you add slf4j-simple or slf4j-log4j to your classpath. > > > Is it not that there is a version mismatch with slf4j rather than it > is missing? Does Hermes use an older version of slf4j? If so replacing > that jar with a newer version (e.g. the one bundled with qpid client) > should help. > > > RG Hi Brent, It has been a long time since I last looked at HermesJMS. In that time it has moved on quite a lot. The good news in short is that I have managed to make it work. The problems you are facing are all classpath issues. HermesJMS 1.13 ships with the following incompatible Jars: slf4j-jdk14-1.0.1.jar mina-core-1.1.0-SNAPSHOT.jar mina-java5-1.1.0-SNAPSHOT.jar If you remove these jars from the lib dir and replace them with the following jars from M2: mina-core-1.0.0.jar mina-java5-1.0.0.jar slf4j-api-1.4.0.jar slf4j-log4j12-1.4.0.jar This will allow things to work for you. Even though M2 supports Queue browsing it may be prudent to use check the 'Use consumer' box in the session configuration as our wiki describes as we have recently discovered a bug in M2 when browsing a queue with no messages will cause the client to hang. If you are looking to interact with more than just Qpid with this modified HermeJMS install then it may not work as the the downgrade in mina may include API changes which may be incompatible with the built in connectors. If you have time to try out these changes to HermesJMS that would be great. If you have questions then please don't hesitate to get back to us. Regards, Martin