You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2014/07/31 13:51:39 UTC

[jira] [Resolved] (SLING-3811) JMX Resource Provider should catch MBeanExceptions

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

Carsten Ziegeler resolved SLING-3811.
-------------------------------------

    Resolution: Invalid

This is actually invalid as such an exception can't be thrown within the provider, always getAttributes() is used

> JMX Resource Provider should catch MBeanExceptions
> --------------------------------------------------
>
>                 Key: SLING-3811
>                 URL: https://issues.apache.org/jira/browse/SLING-3811
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions
>    Affects Versions: JMX Resource Provider 1.0.2
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: JMX Resource Provider 1.0.4
>
>
> Right now, the jmx resource provider does not catch MBeanExceptions - therefore if an mbean throws an exception, the whole resource processing fails.
> I think the implementation could be more robust to catch the exception and simply ignore it



--
This message was sent by Atlassian JIRA
(v6.2#6252)