[jboss-jira] [JBoss JIRA] Updated: (EJBTHREE-1504) DependsFieldInjector and DependsMethodInjector locate JBoss MBeanServer incorrectly
Carlo de Wolf (JIRA)
jira-events at lists.jboss.org
Fri Dec 5 03:40:36 EST 2008
[ https://jira.jboss.org/jira/browse/EJBTHREE-1504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carlo de Wolf updated EJBTHREE-1504:
------------------------------------
Fix Version/s: (was: 1.0.0-CR1)
(was: 1.0.0)
> 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
>
>
> 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