This content has been marked as final. Show 2 replies
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
Caused by: HornetQException[errorCode=3 message=Timed out waiting for response when sending packet 49]
... 6 more
Am i doing somthing wrong with configuration?
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.