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