[ 
https://issues.apache.org/activemq/browse/AMQ-931?page=comments#action_36999 ] 
            
Bryan Schmidt commented on AMQ-931:
-----------------------------------

Have a look at the WireFormatNegotiator.cd class.  Specifically,

public const int OPENWIRE_VERSION = 2;

I had to change this value to 'OPENWIRE_VERSION = 1' in order to communicate 
with ActiveMQ 4.0.2.  

> NMS test fails against trunk version of server
> ----------------------------------------------
>
>                 Key: AMQ-931
>                 URL: https://issues.apache.org/activemq/browse/AMQ-931
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: NMS (C# client)
>         Environment: Gentoo Linux EM64T, Mono 1.1.17, AMQ SVN
>            Reporter: Adam Wendt
>
> When running the test case against svn version of broker server the server 
> generates this error:
> Exception in thread "ActiveMQ Transport: tcp:///127.0.0.1:36117" 
> java.lang.IllegalArgumentException: Invalid version: 0, could not load 
> org.apache.activemq.openwire.v0.MarshallerFactory
>         at 
> org.apache.activemq.openwire.OpenWireFormat.setVersion(OpenWireFormat.java:328)
>         at 
> org.apache.activemq.openwire.OpenWireFormat.renegotiateWireFormat(OpenWireFormat.java:568)
>         at 
> org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:110)
>         at 
> org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:123)
>         at 
> org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:88)
>         at 
> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:129)
>         at java.lang.Thread.run(Thread.java:595)
> The C# test runs fine against 4.0.1 or 4.0.2RC3 server

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to