You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by mmg <ma...@gmail.com> on 2014/04/13 06:38:55 UTC

Re: Can a producer and consumer running on different activemq versions exchange messages?

The following message is logged continuously at producer end:

Following log messages is repeated logged at producer 
2014-04-10 10:05:59,952
org.apache.activemq.transport.failover.FailoverTransport [ActiveMQ Task-7]
1042 FailoverTransport.java              INFO  
org.apache.activemq.transport.failover.FailoverTransport Successfully
reconnected to tcp://x.y.z.q:61616?wireFormat.maxInactivityDuration=600000
 624 2014-04-10 10:06:59,953
org.apache.activemq.transport.failover.FailoverTransport [ActiveMQ
Transport: tcp:///x.y.z.q:51515@37340] 251  FailoverTransport.java             
WARN   org.apache.activemq.transport.failover.FailoverTransport     
Transport (tcp://x.y.z.q:61616) failed, reason:  java.io.IOException:
Unknown data type: 68, attempting to automatically reconnect

What does this WARN message mean?
Thanks,
-mmg



--
View this message in context: http://activemq.2283324.n4.nabble.com/Can-a-produce-and-consumer-running-on-different-activemq-versions-exchange-messages-tp4680200p4680253.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Can a producer and consumer running on different activemq versions exchange messages?

Posted by Tim Bain <tb...@alumni.duke.edu>.
"One can not mix activemq versions" is too broad of a statement.  There
will be some pairs of versions you can mix, and others you can't.  But "one
can not mix *these particular* activemq versions" is a perfectly accurate
statement.

When I've seen Tim and Gary and others talk about backwards compatibility,
I've always seen them say "we've tried to design it to be
backwards-compatible, but we don't test with different versions so we can't
guarantee that things will work properly, so run the same version if you
can't, and test carefully with your particular versions if you can't run
the same ones."

Since there's no explicit testing of cross-version compatibility, everyone
relies on us (the community) to tell which versions are and aren't
compatible.  You've established that 4.0.1 and 5.9.0 are not compatible, so
thanks for sharing that information for the next person.

Tim

On Wed, Nov 12, 2014 at 2:12 AM, mmg <ma...@gmail.com> wrote:

> After upgrade activemq used in client to same version as produce solved
> this
> issue. So it seems one can not mix activemq versions.
>
> Thanks for help.
> -mmg
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Can-a-produce-and-consumer-running-on-different-activemq-versions-exchange-messages-tp4680200p4687320.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Re: Can a producer and consumer running on different activemq versions exchange messages?

Posted by mmg <ma...@gmail.com>.
After upgrade activemq used in client to same version as produce solved this
issue. So it seems one can not mix activemq versions.

Thanks for help.
-mmg



--
View this message in context: http://activemq.2283324.n4.nabble.com/Can-a-produce-and-consumer-running-on-different-activemq-versions-exchange-messages-tp4680200p4687320.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Can a producer and consumer running on different activemq versions exchange messages?

Posted by artnaseef <ar...@artnaseef.com>.
Ah, mixing 4.x and 5.x might be bad - I've never looked into that.

Perhaps bridging between the old brokers and new would work well. 
http://activemq.apache.org/jms-to-jms-bridge.html

The big problem is needing the two activemq client versions, which means it
may be necessary to have two JVMs running with camel connecting to
each-other via another technology (REST?).



--
View this message in context: http://activemq.2283324.n4.nabble.com/Can-a-produce-and-consumer-running-on-different-activemq-versions-exchange-messages-tp4680200p4680480.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Can a producer and consumer running on different activemq versions exchange messages?

Posted by mmg <ma...@gmail.com>.
Did anyone get a chance to look into this?

Thanks,
-mmg



--
View this message in context: http://activemq.2283324.n4.nabble.com/Can-a-produce-and-consumer-running-on-different-activemq-versions-exchange-messages-tp4680200p4680477.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Can a producer and consumer running on different activemq versions exchange messages?

Posted by mmg <ma...@gmail.com>.
Hi, 

I need to get this issue resolved urgently. Any help is greatly appreciated.

Thanks,
-mmg.



--
View this message in context: http://activemq.2283324.n4.nabble.com/Can-a-produce-and-consumer-running-on-different-activemq-versions-exchange-messages-tp4680200p4680394.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Can a producer and consumer running on different activemq versions exchange messages?

Posted by mmg <ma...@gmail.com>.
My client is a legacy application developed in Java 1.5 and is using ActiveMQ
4.0.1. The producer (this is also a legacy application) was developed in
JAVA 1.5 and ActiveMQ 4.0.1. The producer application is upgraded to Java
1.7 and is using ActiveMq 5.9.0. There are very less chances that the client
application will be upgraded to new versions as it is not owned by us. 
Before upgrading Producer, things were working fine. The communication
between two has stopped working since we have upgraded producer. So I would
like to know if this kind of set up is a valid. And how to make them work
with each other.

Regarding to include the activemq-legacy-openwire dependency in the client
where do I need to make that change?

Thanks for your help,
-mmg



--
View this message in context: http://activemq.2283324.n4.nabble.com/Can-a-produce-and-consumer-running-on-different-activemq-versions-exchange-messages-tp4680200p4680272.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Can a producer and consumer running on different activemq versions exchange messages?

Posted by artnaseef <ar...@artnaseef.com>.
That warning indicates a problem with marshalling:



I've seen that before, but I don't recall what was the cause.  Under normal
circumstance, with the client and broker agreeing on the openwire version,
this should not happen unless somehow network packets are getting corrupted
(highly unlikely).

What versions of the ActiveMQ broker and ActiveMQ client are in-use here?

If this persists, you can try disabling tight encoding and/or openwire
caching (I need to find those settings)...  However, long term, those
settings should not be needed.



--
View this message in context: http://activemq.2283324.n4.nabble.com/Can-a-produce-and-consumer-running-on-different-activemq-versions-exchange-messages-tp4680200p4680260.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.