[esb-issues] [JBoss JIRA] Commented: (JBESB-1633) MBeanServerLocator.locate always returns the first item in the map instead of a lookup

Darrin Mison (JIRA) jira-events at lists.jboss.org
Thu Jul 24 19:37:45 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBESB-1633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12422458#action_12422458 ] 

Darrin Mison commented on JBESB-1633:
-------------------------------------

Proposed SOA 4.2 TP02 Release Note:
MBeanServerLocator.locate now performs a correct MBean lookup by name

> MBeanServerLocator.locate always returns the first item in the map instead of a lookup
> --------------------------------------------------------------------------------------
>
>                 Key: JBESB-1633
>                 URL: https://jira.jboss.org/jira/browse/JBESB-1633
>             Project: JBoss ESB
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Web Services
>    Affects Versions: 4.2.1, 4.2.1 CP1
>            Reporter: Narayanan Raghavan
>            Assignee: Kevin Conner
>             Fix For: 4.3, 4.2.1 CP3
>
>
> The MBeanServerLocator.locate() method always returns the first item in the map and does not look-up the MBean by name.  This always fails while looking up any MBean unless it happens to be the first one in the map.
> Affected archive/ file: 
> soap.esb
> services/soap/src/main/java/org/jboss/soa/esb/actions/soap/SoapUIInvoker.java
> The constructor in SoapUIInvoker.java looks up the MBeanSever via the locate method which does not return the jboss.esb:service=SoapUIClientService MBean
> mbeanServer = MBeanServerLocator.locate();
> The locateJboss function iterates through the map to find the relevant MBean.  The above code should be changed to use 
> MBeanServerLocator.locateJboss();
> Thanks! 

-- 
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 esb-issues mailing list