You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Adam Wendt (JIRA)" <ji...@apache.org> on 2006/09/20 22:15:23 UTC

[jira] Created: (AMQ-931) NMS test fails against trunk version of server

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

        

[jira] Commented: (AMQ-931) NMS test fails against trunk version of server

Posted by "Bryan Schmidt (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] Resolved: (AMQ-931) NMS test fails against trunk version of server

Posted by "james strachan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-931?page=all ]

james strachan resolved AMQ-931.
--------------------------------

    Fix Version/s: 4.1
       Resolution: Fixed

Things are working fine for me with the current trunk. I wonder if the bug has been fixed (we've been applying quite a few patches to NMS recently).

Let us know if you still have problems and we can reopen this issue

> 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
>             Fix For: 4.1
>
>
> 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