Hello.
I use a servlet that runs on tomcat, and connects to HornetQ (2.1.2).
the system architecture is somthing like this :
1. A C++ application that send data through socket (JSON) to the servlet application.
2. A servlet application that connects through socket (5445, the default) to HornetQ, and publish the data to topics on HornetQ (Topics that created dynamicly through ClientSession).
3. HotnetQ server
Now, after the system is working for a while, i get the following error from tomcat :
javax.jms.JMSException: Timed out waiting for response when sending packet 49
at org.hornetq.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:277)
at org.hornetq.core.client.impl.ClientSessionImpl.bindingQuery(ClientSessionImpl.java:366)
at org.hornetq.core.client.impl.DelegatingSession.bindingQuery(DelegatingSession.java:129)
at org.hornetq.jms.client.HornetQSession.lookupTopic(HornetQSession.java:1045)
at org.hornetq.jms.client.HornetQSession.createTopic(HornetQSession.java:424)
at com.pandats.MTWebTrader.JsonQuotesThread.run(JsonQuotesThread.java:60)
Caused by: HornetQException[errorCode=3 message=Timed out waiting for response when sending packet 49]
... 6 more
Am i doing somthing wrong with configuration?
P.S.
I am creating 2 sessions from the tomcat. one is regular seesion that connects to 5445, and the other one is ClientSession (for creating topics) that also connects to 5445.
I think the exception are from the ClientSession connection.
Best Regards,
Shay