[jboss-jira] [JBoss JIRA] Resolved: (EJBTHREE-1504) DependsFieldInjector and DependsMethodInjector locate JBoss MBeanServer incorrectly

Galder Zamarreno (JIRA) jira-events at lists.jboss.org
Tue Oct 28 17:48:20 EDT 2008


     [ https://jira.jboss.org/jira/browse/EJBTHREE-1504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreno resolved EJBTHREE-1504.
----------------------------------------

    Fix Version/s: 1.0.0-Beta6
                   1.0.0-CR1
                   1.0.0
       Resolution: Done


> DependsFieldInjector and DependsMethodInjector locate JBoss MBeanServer incorrectly
> -----------------------------------------------------------------------------------
>
>                 Key: EJBTHREE-1504
>                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1504
>             Project: EJB 3.0
>          Issue Type: Bug
>    Affects Versions: AS 4.2.3.GA, 1.0.0-Beta3
>            Reporter: Galder Zamarreno
>            Assignee: Galder Zamarreno
>             Fix For: 1.0.0-Beta6, 1.0.0-CR1, 1.0.0
>
>
> DependsFieldInjector and DependsMethodInjector are locating the JBoss MBeanServer
> incorrectly which when passing -Dcom.sun.management.jmxremote, it results on trying to 
> lookup the target MBean in the wrong MBean server.
> So, instead of doing this:
> MBeanServer server = (MBeanServer) MBeanServerFactory.findMBeanServer(null).get(0);
> They should be calling:
> MBeanServer server = MBeanServerLocator.locateJBoss();

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list