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.
