[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1504) DependsFieldInjector and DependsMethodInjector locate JBoss MBeanServer incorrectly
Galder Zamarreno (JIRA)
jira-events at lists.jboss.org
Fri Sep 26 05:34:21 EDT 2008
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: 1.0.0-Beta3, AS 4.2.3.GA
Reporter: Galder Zamarreno
Assignee: Galder Zamarreno
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