2 Replies Latest reply on Sep 19, 2012 7:28 PM by Hugh Bragg

    Server 2.2.5 not compatible with producer 2.2.14

    Hugh Bragg Newbie

      I've been doing some compatibility testing and I've found that the 2.2.14 Producer will not connect with the 2.2.5 server.

       

      I was going on the assumption that these are backward compatible as stated in the documentation.

       

      I did find that the 2.2.5 consumer happily connects with the 2.2.14 server.

       

      Is there a compatibility matrix or some other resource to determine exactly which compaonents are compatible.

       

      Thanks

      Hugh

       

      2.2.5 Server error

      {code}

      [main] 15:40:28,083 INFO [org.hornetq.core.server.impl.HornetQServerImpl]  HornetQ Server version 2.2.5.Final (HQ_2_2_5_FINAL_AS7, 121) [c16b485b-1c8f-11e1-97c0-080027ba740d] started

      [Old I/O server worker (parentId: 1880422880, [id: 0x7014f9e0, fc16-64/192.168.196.163:5445])] 15:51:47,265 SEVERE [org.hornetq.core.protocol.core.impl.RemotingConnectionImpl]  Failed to decode

      java.lang.IllegalArgumentException: Invalid type: 113

          at org.hornetq.core.protocol.core.impl.PacketDecoder.decode(PacketDecoder.java:529)

          at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:424)

          at org.hornetq.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:459)

          at org.hornetq.core.remoting.impl.netty.HornetQChannelHandler.messageReceived(HornetQChannelHandler.java:73)

          at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:100)

          at org.jboss.netty.channel.StaticChannelPipeline.sendUpstream(StaticChannelPipeline.java:362)

          at org.jboss.netty.channel.StaticChannelPipeline$StaticChannelHandlerContext.sendUpstream(StaticChannelPipeline.java:514)

          at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:287)

          at org.hornetq.core.remoting.impl.netty.HornetQFrameDecoder2.decode(HornetQFrameDecoder2.java:169)

          at org.hornetq.core.remoting.impl.netty.HornetQFrameDecoder2.messageReceived(HornetQFrameDecoder2.java:134)

          at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:80)

          at org.jboss.netty.channel.StaticChannelPipeline.sendUpstream(StaticChannelPipeline.java:362)

          at org.jboss.netty.channel.StaticChannelPipeline.sendUpstream(StaticChannelPipeline.java:357)

          at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:274)

          at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:261)

          at org.jboss.netty.channel.socket.oio.OioWorker.run(OioWorker.java:90)

          at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)

          at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)

          at org.jboss.netty.util.VirtualExecutorService$ChildExecutorRunnable.run(VirtualExecutorService.java:181)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

          at java.lang.Thread.run(Thread.java:722)

      {code}

       

      2.2.14 Producer error

      {code}

      19 Sep 2012 15:53:06,270 ERROR [QIntersuisseDCAData] - Unexpected runtime exception. Thread QIntersuisseDCAData aborted

      com.agilityapplications.resources.exceptions.NetworkConnectorException: javax.jms.JMSException: Failed to create session factory; nested exception is javax.jms.JMSException: Failed to create session factory

         ...

      Caused by: javax.jms.JMSException: Failed to create session factory

          at org.hornetq.jms.client.HornetQConnectionFactory.createConnectionInternal(HornetQConnectionFactory.java:605)

          at org.hornetq.jms.client.HornetQConnectionFactory.createQueueConnection(HornetQConnectionFactory.java:131)

          at org.hornetq.jms.client.HornetQConnectionFactory.createQueueConnection(HornetQConnectionFactory.java:126)

          at com.agilityapplications.resources.jms.JMSQ.makeHornetQConnection(JMSQ.java:274)

          at com.agilityapplications.resources.jms.JMSQ.makeConnection(JMSQ.java:222)

          at com.agilityapplications.resources.jms.JMSQ$ExConnector.makeConnection(JMSQ.java:182)

          at com.agilityapplications.resources.network.Connector$1.run(Connector.java:54)

          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

          at java.util.concurrent.FutureTask.run(FutureTask.java:166)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

          at java.lang.Thread.run(Thread.java:722)

      Caused by: HornetQException[errorCode=3 message=Timed out waiting to receive cluster topology. Group:null]

          at org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:804)

          at org.hornetq.jms.client.HornetQConnectionFactory.createConnectionInternal(HornetQConnectionFactory.java:601)

          ... 12 more

      {code}