Duplicate Log: Warn Transport Connection to tcp: <ip> failed: java.net.SocketException: Connection reset
I am running ActiveMQ 5.9.0 on my local machine for dev purposes (Windows 7). I use AMQP as the protocol and Apache qpid, as the client consumes messages (publish a subscription) from activeMQ broker (AMQP 1.0 protocol).
Although I commented on all protocols except amqp in activemq.xml , I still periodically see the following message in the broker's log (standard output):
WARN: Transport Connect to tcp://<ip> failed: java.net.SocketException: Connection reset I tried to "uncomment" the definition of the openwire protocol in activemq.xml and add transport.useInactivityMonitor=false (based on googling search):
I still cannot get warning messages to make them disappear.
I did not use it myself. But the amqp protocol uses tcp transport under covers. The use of the protocol is documented here . You can also configure it to use nio. hardcoded to have useInactivityMonitor=false . You can change the transport settings on the amqp transport by setting these parameters in the connection uri. For instance:
<transportConnectors> <transportConnector name="amqp" uri="amqp://0.0.0.0:5672?transport.keepAlive=true"/> </transportConnectors> The tcp transport options are documented here .