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

java.io.EOFException from org.apache.activemq.transport.tcp.TcpTransport

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • 5.13.0
    • None
    • None
    • None

    Description

      We get the following in a two-server activemq setup, a couple of times every minute:

      [ERROR] [2016-04-06T09:06:24,748] [ActiveMQ Transport: tcp:///xxx.yy.86.186:46768@7250] java.io.EOFException  [ErrorStreamLogger]
      [ERROR] [2016-04-06T09:06:24,748] [ActiveMQ Transport: tcp:///xxx.yy.86.186:46768@7250]         at java.io.DataInputStream.readInt(DataInputStream.java:392)  [ErrorStreamLogger]
      [ERROR] [2016-04-06T09:06:24,749] [ActiveMQ Transport: tcp:///xxx.yy.86.186:46768@7250]         at org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:267)  [ErrorStreamLogger]
      [ERROR] [2016-04-06T09:06:24,749] [ActiveMQ Transport: tcp:///152.90.86.186:46768@7250]         at org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:240)  [ErrorStreamLogger]
      [ERROR] [2016-04-06T09:06:24,749] [ActiveMQ Transport: tcp:///xxx.yy.86.186:46768@7250]         at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:232)  [ErrorStreamLogger]
      [ERROR] [2016-04-06T09:06:24,749] [ActiveMQ Transport: tcp:///xxx.yy.86.186:46768@7250]         at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:215)  [ErrorStreamLogger]
      [ERROR] [2016-04-06T09:06:24,749] [ActiveMQ Transport: tcp:///xxx.yy.86.186:46768@7250]         at java.lang.Thread.run(Thread.java:745)  [ErrorStreamLogger]
      

      A similar issue is described in AMQ-2730, but I can't see a solution there. ActiveMQ is run in a tomcat instance with -Xmx1536m -Xms1536m, so memory usage should be OK.

      The setup seems to work fine regardless of the exceptions.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              monti Henrik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: