javax.jms.JMSException: Software caused connection abort: recv failed

tip

It's possible you're trying to write to a connection that's already closed. Another cause for this is that you closed the socket with unread data in the socket receive buffer.


rafael
tip

This might be caused by unmatching versions of SSL. Java starts normally with SSLv2 and your server might not be able to negotiate. You have to force Java to use SSLv3. See this comment: https://goo.gl/hx0YB3


rafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • UIMA AS: Lost Connection to Broker
    via by Meghana,
  • GitHub comment 1#240370732
    via GitHub by zjpjohn
    ,
  • GitHub comment 1#240615239
    via GitHub by liushiyueyueniao
    ,
    • javax.jms.JMSException: Software caused connection abort: recv failed at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:54)[activemq-client-5.14.0.jar:5.14.0] at org.apache.activemq.ActiveMQConnection.onAsyncException(ActiveMQConnection.java:1949)[activemq-client-5.14.0.jar:5.14.0] at org.apache.activemq.ActiveMQConnection.onException(ActiveMQConnection.java:1968)[activemq-client-5.14.0.jar:5.14.0] at org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:114)[activemq-client-5.14.0.jar:5.14.0] at org.apache.activemq.transport.ResponseCorrelator.onException(ResponseCorrelator.java:126)[activemq-client-5.14.0.jar:5.14.0] at org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:114)[activemq-client-5.14.0.jar:5.14.0] at org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:114)[activemq-client-5.14.0.jar:5.14.0] at org.apache.activemq.transport.WireFormatNegotiator.onException(WireFormatNegotiator.java:173)[activemq-client-5.14.0.jar:5.14.0] at org.apache.activemq.transport.AbstractInactivityMonitor.onException(AbstractInactivityMonitor.java:344)[activemq-client-5.14.0.jar:5.14.0] at org.apache.activemq.transport.TransportSupport.onException(TransportSupport.java:96)[activemq-client-5.14.0.jar:5.14.0] at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:219)[activemq-client-5.14.0.jar:5.14.0] at java.lang.Thread.run(Unknown Source)[na:1.8.0_101] Caused by: java.net.SocketException: Software caused connection abort: recv failed at java.net.SocketInputStream.socketRead0(Native Method)[na:1.8.0_101] at java.net.SocketInputStream.socketRead(Unknown Source)[na:1.8.0_101] at java.net.SocketInputStream.read(Unknown Source)[na:1.8.0_101] at java.net.SocketInputStream.read(Unknown Source)[na:1.8.0_101] at org.apache.activemq.transport.tcp.TcpBufferedInputStream.fill(TcpBufferedInputStream.java:50)[activemq-client-5.14.0.jar:5.14.0] at org.apache.activemq.transport.tcp.TcpTransport$2.fill(TcpTransport.java:634)[activemq-client-5.14.0.jar:5.14.0] at org.apache.activemq.transport.tcp.TcpBufferedInputStream.read(TcpBufferedInputStream.java:59)[activemq-client-5.14.0.jar:5.14.0] at org.apache.activemq.transport.tcp.TcpTransport$2.read(TcpTransport.java:619)[activemq-client-5.14.0.jar:5.14.0] at java.io.DataInputStream.readInt(Unknown Source)[na:1.8.0_101] at org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:268)[activemq-client-5.14.0.jar:5.14.0] at org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:240)[activemq-client-5.14.0.jar:5.14.0] at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:232)[activemq-client-5.14.0.jar:5.14.0] at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:215)[activemq-client-5.14.0.jar:5.14.0] ... 1 more

    Users with the same issue

    tvrmsmith
    tvrmsmith1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    235 more bugmates