Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-8890

Minion Heartbeat fails when OpenNMS is restarted

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 19.0.0
    • 19.0.0
    • Security Level: Default (Default Security Scheme)
    • None
    • Oracle Java: 1.8.0_112-b15
      Minion version: 0.20161112.onms.develop.769
    • Horizon - Nov 9th

    Description

      OpenNMS needs to be restarted and Minion gets a timeout exception, the Minion is not able to reconnect. The "Minion Heartbeat" is not processed correctly. The Minion is shown as down in the OpenNMS instance when it restarted. The nodes in the Minion network are not down and are monitored correctly. The Minions needs to be restarted to get the "Minion Heartbeat" monitor to work again.

      The following exception is shown when the Minion fails to connect:

      ?at org.apache.activemq.jms.pool.PooledConnectionFactory$1.makeObject(PooledConnectionFactory.java:99)
      ?at org.apache.activemq.jms.pool.PooledConnectionFactory$1.makeObject(PooledConnectionFactory.java:79)
      ?at org.apache.commons.pool.impl.GenericKeyedObjectPool.addObject(GenericKeyedObjectPool.java:1748)
      ?at org.apache.activemq.jms.pool.PooledConnectionFactory.createConnection(PooledConnectionFactory.java:200)
      ?... 36 more
      Caused by: java.net.ConnectException: Connection refused (Connection refused)
      ?at java.net.PlainSocketImpl.socketConnect(Native Method)
      ?at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
      ?at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
      ?at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
      ?at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
      ?at java.net.Socket.connect(Socket.java:589)
      ?at org.apache.activemq.transport.tcp.TcpTransport.connect(TcpTransport.java:501)
      ?at org.apache.activemq.transport.tcp.TcpTransport.doStart(TcpTransport.java:464)
      ?at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:55)
      ?at org.apache.activemq.transport.AbstractInactivityMonitor.start(AbstractInactivityMonitor.java:138)
      ?at org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:58)
      ?at org.apache.activemq.transport.WireFormatNegotiator.start(WireFormatNegotiator.java:72)
      ?at org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:58)
      ?at org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:58)
      ?at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:338)
      ?... 43 more
      

      Attachments

        Activity

          People

            j-white Jesse White
            indigo Ronny Trommer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: