[jboss-jira] [JBoss JIRA] (WFLY-5263) MBeanServer returns MBean names that do not match filter

Khary Mendez (JIRA) issues at jboss.org
Fri Sep 11 12:35:00 EDT 2015


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

Khary Mendez commented on WFLY-5263:
------------------------------------

I recently ran into this issue in EAP 6.4  Any chance this can/will be rolled into the next EAP patch?

> MBeanServer returns MBean names that do not match filter
> --------------------------------------------------------
>
>                 Key: WFLY-5263
>                 URL: https://issues.jboss.org/browse/WFLY-5263
>             Project: WildFly
>          Issue Type: Bug
>          Components: JMX
>    Affects Versions: 10.0.0.Beta2
>            Reporter: Thomas Diesler
>            Assignee: Kabir Khan
>             Fix For: 10.0.0.CR1
>
>
> This code
> {code}
>             MBeanServer server = ManagementFactory.getPlatformMBeanServer();
>             for (ObjectName oname : server.queryNames(new ObjectName("*:type=context,*"), null)) {
>                 System.out.println(oname);
>             }
> {code}
> gives 
> {code}
> 16:51:25,842 INFO  [stdout] (pool-3-thread-1) org.apache.camel:context=swagger-test,type=context,name="swagger-test"
> 16:51:25,842 INFO  [stdout] (pool-3-thread-1) jboss.jsr77:j2eeType=J2EEServer,name=default
> 16:51:25,843 INFO  [stdout] (pool-3-thread-1) jboss.jsr77:j2eeType=JVM,name=default,J2EEServer=default
> 16:51:25,843 INFO  [stdout] (pool-3-thread-1) jboss.jsr77:j2eeType=J2EEDomain,name=jboss.jsr77
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list