Uploaded image for project: 'ActiveMQ .Net'
  1. ActiveMQ .Net
  2. AMQNET-370

Channel was inactive for too long does not recover

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.5.1, 1.5.3
    • None
    • ActiveMQ
    • None
    • Windows .NET
      Server is 5.4.2 on Windows server 2008.

    Description

      I see many of these bugs about "Channel was inactive for too long" and they all get closed as incomplete because no one can determine the cause. So I won't ask for that.

      The biggest problem here isn't that this one call fails, it's that the client does not recover or failover after this occurs so once this happens once, it continues for every request until the client application is restarted. In a production environment, we can't be restarting services all the time.

      For services that are just listening, they stop receiving messages, no error is raised so we don't even know that it is in a bad state.

      So please fix the failover to re-establish the connection(s) or whatever it must do so that the next call works since that is the intention of the failover protocol.

      Apache.NMS.ActiveMQ.IOException: Channel was inactive for too long: tcp://ipc-393-pstg-05.ipcommerce.com:61616/
      at Apache.NMS.ActiveMQ.Connection.Oneway(Command command)
      at Apache.NMS.ActiveMQ.Session..ctor(Connection connection, SessionId sessionId, AcknowledgementMode acknowledgementMode)
      at Apache.NMS.ActiveMQ.Connection.CreateAtiveMQSession(AcknowledgementMode ackMode)
      at Apache.NMS.ActiveMQ.Connection.CreateSession(AcknowledgementMode sessionAcknowledgementMode)

      Attachments

        1. LogsAndConfig.zip
          215 kB
          Matthew Good
        2. nms-inactivityexception.log
          9 kB
          Jim Gomes

        Activity

          People

            tabish Timothy A. Bish
            matt_good@yahoo.com Matthew Good
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: