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

Unnecessary stack trace in DemandForwardingBridgeSupport

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 5.16.0, 5.15.12
    • Network of Brokers
    • None

    Description

      In case the broker at the remote end of a bridge is restarted, ActiveMQ logs:

      2019-11-19 07:20:07,403 [ActiveMQ Transport: ssl://amq148.acme.com/192.161.2.43:6166] WARN DemandForwardingBridgeSupport - Network connection between vm://amq115.acme.com#4 and ssl://amq148.acme.com/192.161.2.43:6166 shutdown due to a remote error: {}
      java.io.EOFException
      	at java.io.DataInputStream.readInt(DataInputStream.java:392)
      	at org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:268)
      	at org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:240)
      	at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:232)
      	at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:215)
      	at java.lang.Thread.run(Thread.java:748)
      

      This should rather be:

      2019-11-19 07:20:07,403 [ActiveMQ Transport: ssl://amq148.acme.com/192.161.2.43:6166] WARN DemandForwardingBridgeSupport - Network connection between vm://amq115.acme.com#4 and ssl://amq148.acme.com/192.161.2.43:6166 shutdown due to a remote error: java.io.EOFException
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jbonofre Jean-Baptiste Onofré
            lionel.cons Lionel Cons
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m

                Slack

                  Issue deployment