[jboss-jira] [JBoss JIRA] (WFLY-3073) MBeanServer.createMBean methods that take a classloader don't work

RH Bugzilla Integration (JIRA) issues at jboss.org
Sat Jun 28 11:40:44 EDT 2014


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

RH Bugzilla Integration commented on WFLY-3073:
-----------------------------------------------

mark yarborough <myarboro at redhat.com> changed the Status of [bug 1073106|https://bugzilla.redhat.com/show_bug.cgi?id=1073106] from VERIFIED to CLOSED

> MBeanServer.createMBean methods that take a classloader don't work
> ------------------------------------------------------------------
>
>                 Key: WFLY-3073
>                 URL: https://issues.jboss.org/browse/WFLY-3073
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JMX
>    Affects Versions: 8.0.0.Final
>            Reporter: Stuart Douglas
>            Assignee: Kabir Khan
>             Fix For: 8.1.0.CR1, 8.1.0.Final
>
>
> The MBeanServer.createMBean methods that take an "ObjectName loaderName" argument are completely broken in EAP 6.
> These methods call findDelegate to make sure there is already an existing MBean registered with the given name passed in for the new MBean, or else it throws an exception.
> This is obviously wrong, as there'd be no point in calling createMBean if it already existed.
> javax.management.InstanceNotFoundException: test:service=Test
> at org.jboss.as.jmx.PluggableMBeanServerImpl.findDelegate(PluggableMBeanServerImpl.java:1083)
> at org.jboss.as.jmx.PluggableMBeanServerImpl.createMBean(PluggableMBeanServerImpl.java:253)



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jboss-jira mailing list