I am working with HornetQ 2.2.5 Final and JAVA TCP listener. My listener class able to read data packet from GPS device and store in hornetQ. My system is working very well, but suddenly after 3 hours my system behaves very badly. Suppose while storing data from TCP listener to hornetQ and get an exception, code reach to finally block and in finally block, I am calling contextInitialized(event)
method again so serverSocket
object and hornetQ intialization happens again, but at the time of hornetQ initialization, I am getting this error:
SEVERE: Failed to create netty connection java.net.SocketException: No buffer space available (maximum connections reached?): connect
Please help me understand how to fix it.
Have you looked at others who had similar issues?
Mainly
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.