]
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: