You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org> on 2017/11/30 15:52:00 UTC

[jira] [Updated] (UIMA-5659) UIMA-DUCC: Agent JMX connection retry not working

     [ https://issues.apache.org/jira/browse/UIMA-5659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jerry Cwiklik updated UIMA-5659:
--------------------------------
    Description: 
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. When the JMX fails to fetch GC info the GC collection should set GC values to -1. This info will be sent to Duccmon where the failure can be visualized. Perhaps changing color of GC value to red could alert a user.

  was:
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.


> 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. When the JMX fails to fetch GC info the GC collection should set GC values to -1. This info will be sent to Duccmon where the failure can be visualized. Perhaps changing color of GC value to red could alert a user.



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