Client Failover with JBoss5.1 - HornetQ 2.1.1
balrajk Oct 1, 2010 2:37 AMHello,
I am trying setup HornetQ with JBoss to achieve failover of the client from active to the backup server.
During the failover the client reports the following error.
11:05:29,992 ERROR [ClientSessionImpl] Failed to handle failover
HornetQException[errorCode=3 message=Timed out waiting for response when sending packet 32]
at org.hornetq.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:277)
at org.hornetq.core.client.impl.ClientSessionImpl.handleFailover(ClientSessionImpl.java:874)
at org.hornetq.core.client.impl.FailoverManagerImpl.reconnectSessions(FailoverManagerImpl.java:818)
at org.hornetq.core.client.impl.FailoverManagerImpl.failoverOrReconnect(FailoverManagerImpl.java:719)
at org.hornetq.core.client.impl.FailoverManagerImpl.handleConnectionFailure(FailoverManagerImpl.java:581)
at org.hornetq.core.client.impl.FailoverManagerImpl.connectionException(FailoverManagerImpl.java:298)
at org.hornetq.core.remoting.impl.netty.NettyConnector$Listener$2.run(NettyConnector.java:692)
at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:96)
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:619)
The setup is as follows:
I have an active and a backup HornetQ server with JBoss running. This server holds a queue which is remotely listened to by an MDB.
MDB is running on a different instance.
The configurations are attached herewith for your reference. is there anything wrong with the configuration?
-
listener.zip 4.8 KB
-
backup.zip 2.4 KB
-
active.zip 2.4 KB