Jerry Cwiklik created UIMA-5659:
-----------------------------------

             Summary: UIMA-DUCC: Agent JMX connection retry not working
                 Key: UIMA-5659
                 URL: https://issues.apache.org/jira/browse/UIMA-5659
             Project: UIMA
          Issue Type: Bug
          Components: DUCC
            Reporter: Jerry Cwiklik
            Assignee: Jerry Cwiklik
             Fix For: 2.2.0-Ducc


When an agent looses a JMX connection to a remote service it does not try to 
recover it. Instead just reports 0's for GC values.

The problem is that it checks connection for null and only if true the 
reconnect happens. In the failing scenario, the connection is established and 
works for awhile than the connection fails due to a long GC in the service. The 
connection object is stale (not null) at this point and reconnect does not 
happen.

When a JMX failure occurs set the connection object to null forcing a 
subsequent reconnect.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to