[jboss-jira] [JBoss JIRA] (WFLY-9553) PooledConnectionFactoryAdd adds a resource with no registration

Brian Stansberry (JIRA) issues at jboss.org
Mon Nov 13 19:08:00 EST 2017


    [ https://issues.jboss.org/browse/WFLY-9553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489601#comment-13489601 ] 

Brian Stansberry commented on WFLY-9553:
----------------------------------------

https://github.com/wildfly/wildfly/compare/master...bstansberry:WFLY-9553 has a simple, untested, fix. It's tested to the extent that the standalone-full-ha.xml config boots with it, and mbean counts are correct, but that's it!

> PooledConnectionFactoryAdd adds a resource with no registration
> ---------------------------------------------------------------
>
>                 Key: WFLY-9553
>                 URL: https://issues.jboss.org/browse/WFLY-9553
>             Project: WildFly
>          Issue Type: Bug
>          Components: JMS
>    Affects Versions: 11.0.0.Final
>            Reporter: Brian Stansberry
>            Assignee: Jeff Mesnil
>            Priority: Minor
>
> When working on WFCORE-2930 I was investigating discrepancies in mbean counts generated via the method in that fix vs current code. I discovered one in WildFly's messaging-activemq that is a result of a statistics resource being added to the resource tree even if attribute that triggers registration of the related ManagementResourceRegistration isn't set. So we have an undescribed resource.
> This likely has no other impact than a slightly inaccurate result from MBeanServerConnection.getMBeanCount() but we don't want this kind of thing anyway.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list