1 2 Previous Next 21 Replies Latest reply: Oct 31, 2012 3:25 PM by Maximiliano Croce RSS

Hornetq 2.2.2 Final Live-Backup configuration issue

Ramesh G Newbie

Hi All,

 

Configued pair of servers to be linked toghether as Live-backup using Hornetq 2.2.2 Final Version

Journnal files are shard through NFS.

 

Attached both servers boot.log,server.log,hornetq-configuration.xml and hornetq-jms.xml

 

ISSUE 1:

 

While running the Live server getting error :

(hornetq-discovery-group-thread-dg-group1) HornetQException[errorCode=3 message=Timed out waiting to receive cluster topology]

2010-05-10 10:56:14,580 ERROR [STDERR] (hornetq-discovery-group-thread-dg-group1) at org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:657)

2010-05-10 10:56:14,581 ERROR [STDERR] (hornetq-discovery-group-thread-dg-group1) at org.hornetq.core.client.impl.ServerLocatorImpl.connect(ServerLocatorImpl.java:503)

2010-05-10 10:56:14,584 ERROR [STDERR] (hornetq-discovery-group-thread-dg-group1) at org.hornetq.core.client.impl.ServerLocatorImpl.connectorsChanged(ServerLocatorImpl.java:1254)

2010-05-10 10:56:14,584 ERROR [STDERR] (hornetq-discovery-group-thread-dg-group1) at org.hornetq.core.cluster.impl.DiscoveryGroupImpl.callListeners(DiscoveryGroupImpl.java:416)

2010-05-10 10:56:14,584 ERROR [STDERR] (hornetq-discovery-group-thread-dg-group1) at org.hornetq.core.cluster.impl.DiscoveryGroupImpl.run(DiscoveryGroupImpl.java:378)

2010-05-10 10:56:14,584 ERROR [STDERR] (hornetq-discovery-group-thread-dg-group1) at java.lang.Thread.run(Thread.java:662)

  

SEVERE [org.hornetq.core.protocol.core.impl.HornetQPacketHandler] (Old I/O server worker (parentId: 1183296736, [id: 0x4687ace0, /10.128.16.53:5445])) Failed to create session : HornetQException[errorCode=108 message=Server and client versions incompatible]

at org.hornetq.core.protocol.core.impl.HornetQPacketHandler.handleCreateSession(HornetQPacketHandler.java:151)

at org.hornetq.core.protocol.core.impl.HornetQPacketHandler.handlePacket(HornetQPacketHandler.java:84)

at org.hornetq.core.protocol.core.impl.ChannelImpl.handlePacket(ChannelImpl.java:474)

at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:496)

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

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$Worker.runTask(ThreadPoolExecutor.java:886)

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

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

may be due this errors, both servers are running as Live.That means both server receives/sends messages.As per the Manual Backup server will be active only when Live server is down.

Please clarify on any configuration left for hornetq-discovery-group ?

and also clarify on why both servers are active at same time .

 

ISSUE 2:

 

Even live server failes, the backup server not serving the undelievered messages of Live server, it get delevered only when the Live server is up again.

Please reply back, thakns in advance.

1 2 Previous Next