activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yaussy <yau...@cboe.com>
Subject Re: AMQ 4.1 and AMQ 4.0.1 compatibility
Date Wed, 04 Oct 2006 20:27:34 GMT

Sorry about that.  I'd forgotten about the wireformat stuff.  Looks like you
can set AMQ 4.1 minimum wire format to 1 and then it will connect to AMQ
4.0.2 (still breaks with AMQ 4.0.1, but 4.0.1 and 4.0.2 work together). 
This gives me the rollout path we need.

Two things though:

1) I could not get multiple connection properties on the TCP connectors,
such as
tcp://perfgc1a::5112?minmumWireFormatVersion=1&connectionTimeout=5000.  The
XML parser complained.  How should this look??

2) Even with minmumWireFormatVersion=1, will two AMQ 4.1 brokers connect
using their newer v2 format?


yaussy wrote:
> 
> I've got several AMQ 4.0.1 brokers in an environment, and I'm introducing
> one AMQ 4.1 broker.  The AMQ 4.0.1 brokers are getting this exception
> while trying to connect to the AMQ 4.1 broker:
> 
> Failed to unregister mbean: org.
> apache.activemq:BrokerName=ProdAMQBrokerperfgc1a,Type=Connection,ConnectorName=tcp_//localhost_5111,Connection=69
> Exception in thread "ActiveMQ Transport: tcp:///170.137.15.160:34695"
> java.lang.IllegalArgumentException: Invalid version: 2, could not l
> oad org.apache.activemq.openwire.v2.MarshallerFactory
>         at
> org.apache.activemq.openwire.OpenWireFormat.setVersion(OpenWireFormat.java:329)
>         at
> org.apache.activemq.openwire.OpenWireFormat.renegociatWireFormat(OpenWireFormat.java:569)
>         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:143)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.activemq.openwire.v2.MarshallerFactory
>         at
> org.apache.activemq.util.ClassLoading.loadClass(ClassLoading.java:104)
>         at
> org.apache.activemq.openwire.OpenWireFormat.setVersion(OpenWireFormat.java:327)
>         ... 6 more
> 
> 
> I assume we should be able to do a rollout for AMQ 4.1, as opposed to me
> upgrading all 50 of my brokers at one time, right?
> 

-- 
View this message in context: http://www.nabble.com/AMQ-4.1-and-AMQ-4.0.1-compatibility-tf2383194.html#a6647648
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message