Client fails with Error: HornetQConnectionTimedOutException[errorType=CONNECTION_TIMEDOUT message=HQ119013: Timed out waiting to receive cluster topology. Group:null]
Issue
- When an external client attempts to connect to the HornetQ server running inside JBoss EAP 6.x, the following error appears on the client side even though
netstatshows the correct TCP connections being created and there is only a single node without any clustering.
HornetQConnectionTimedOutException[errorType=CONNECTION_TIMEDOUT message=HQ119013: Timed out waiting to receive cluster topology. Group:null]
at com.HornetQMessageProducer.sendMessage(HornetQMessageProducer.java:131)
at com.ProducerMain.main(ProducerMain.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
Caused by: com.test.QueueException: HornetQConnectionTimedOutException[errorType=CONNECTION_TIMEDOUT message=HQ119013: Timed out waiting to receive cluster topology. Group:null]
at com.HornetQMessagingFactory.getSession(HornetQMessagingFactory.java:92)
at com.HornetQMessageProducer.getClientMessage(HornetQMessageProducer.java:137)
at com.HornetQMessageProducer.sendMessage(HornetQMessageProducer.java:125)
... 6 more
Caused by: HornetQConnectionTimedOutException[errorType=CONNECTION_TIMEDOUT message=HQ119013: Timed out waiting to receive cluster topology. Group:null]
at org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:946)
at com.HornetQMessagingFactory.getSession(HornetQMessagingFactory.java:86)
... 8 more
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.