Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 44700 invoked from network); 26 Oct 2006 06:58:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2006 06:58:40 -0000 Received: (qmail 42383 invoked by uid 500); 24 Oct 2006 10:32:12 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 42365 invoked by uid 500); 24 Oct 2006 10:32:12 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 42355 invoked by uid 99); 24 Oct 2006 10:32:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Oct 2006 03:32:12 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Oct 2006 03:31:59 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GcJZL-0002cK-3T for activemq-users@geronimo.apache.org; Tue, 24 Oct 2006 03:31:39 -0700 Message-ID: <6970417.post@talk.nabble.com> Date: Tue, 24 Oct 2006 03:31:39 -0700 (PDT) From: marisg To: activemq-users@geronimo.apache.org Subject: Re: openwire-c runs error In-Reply-To: <4314845.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: marichamy.gurusamy@wipro.com References: <4314845.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org It could be a problem with the wireFormatInfo negotiation between client and broker. The client sends wireFormatInfo version as '1', but the broker reads different version. Possible solution is comment line 148 in ow.c (rc = ow_byte_buffer_append_bit_buffer(buffer, bitbuffer);. This may fix the error that you are seeing. But I am sure whether this will impact the remaining function. Hope this will fix your problem. dontcrash wrote: > > I downloaded activemq-4.0-RC2.zip and compiled openwire-c client code > successfully.but when i start activemq-4.0-RC2\bin\activemq and run > openwire-c client,show this error message: "Exception in thread > "tcp:///127.0.0.1:1107" java.lang.IllegalArgumentException:Invalid > version: 1358954496, could not load > org.apache.activemq.openwire.v1358954496.MarshallerFactory at > org.apache.activemq.openwire.OpenWireFormat.setVersion(OpenWireFormat.java:325) > at > org.apache.activemq.openwire.OpenWireFormat.renegociatWireFormat(OpenWireFormat.java:565) > at > org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:100)at > org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:122) > at > org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:87) > at > org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:139) > at java.lang.Thread.run(Unknown Source) > Caused by: java.lang.ClassNotFoundException: > org.apache.activemq.openwire.v1358954496.MarshallerFactory at > org.apache.activemq.util.ClassLoading.loadClass(ClassLoading.java:104) at > org.apache.activemq.openwire.OpenWireFormat.setVersion(OpenWireFormat.java:323) > ... 6 more" > > What's wrong?If anyone can help me,Thks! > > -- View this message in context: http://www.nabble.com/openwire-c-runs-error-tf1589914.html#a6970417 Sent from the ActiveMQ - User mailing list archive at Nabble.com.