Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-1433

Transport failed, attempting to automatically reconnect due to: java.net.SocketException: Socket closed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • 5.0.0
    • 5.3.0
    • JMS client
    • None
    • apache-activemq-5.0-20070920.154726-5, JVM 1.5.0_07, Mac OS X

    Description

      Sending messages to a 2 nodes network of brokers with this connect string:

      failover:(tcp://esb-node1:58080, tcp://esb-node2:58080)?initialReconnectDelay=100

      very often gets a warning like this to be issued:

      16:23:04,287 WARN [org.apache.activemq.transport.failover.FailoverTransport] Transport failed, attempting to automatically reconnect due to: java.net.SocketException: Socket closed
      java.net.SocketException: Socket closed
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:129)
      at org.apache.activemq.transport.tcp.TcpBufferedInputStream.fill(TcpBufferedInputStream.java:50)
      at org.apache.activemq.transport.tcp.TcpBufferedInputStream.read(TcpBufferedInputStream.java:58)
      at java.io.DataInputStream.readInt(DataInputStream.java:353)
      at org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:268)
      at org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:196)
      at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:188)
      at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:176)
      at java.lang.Thread.run(Thread.java:613)

      Note that the message is successfully sent anyway, so this is not a highly critical issue.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ddossot David Dossot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: