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

Ryan McMahon updated GEODE-5857:
--------------------------------
    Description: Unregistering an MBean twice results in an 
InstanceNotFoundException, which gets wrapped in a ManagementException and 
logged as a warning.  This should not be a warning as an 
InstanceNotFoundException implies the MBean has already been unregistered, and 
a second unregistration is basically a no-op.  The same logic applies to 
registration of an MBean  (was: Unregistering an MBean twice results in an 
InstanceNotFoundException, which gets wrapped in a ManagementException and 
logged as a warning.  This should not be a warning as an 
InstanceNotFoundException implies the MBean has already been unregistered, and 
a second unregistration is basically a no-op.)
        Summary: Race conditions during JMX registration and cleanup  (was: 
Unregistering MBean twice results in unnecessary warning message)

> Race conditions during JMX registration and cleanup
> ---------------------------------------------------
>
>                 Key: GEODE-5857
>                 URL: https://issues.apache.org/jira/browse/GEODE-5857
>             Project: Geode
>          Issue Type: Bug
>          Components: jmx, management
>            Reporter: Ryan McMahon
>            Assignee: Ryan McMahon
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.8.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Unregistering an MBean twice results in an InstanceNotFoundException, which 
> gets wrapped in a ManagementException and logged as a warning.  This should 
> not be a warning as an InstanceNotFoundException implies the MBean has 
> already been unregistered, and a second unregistration is basically a no-op.  
> The same logic applies to registration of an MBean



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to