[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-859) MBean interfaces are installed with serialized name, instead of canonical name

Carlo de Wolf (JIRA) jira-events at jboss.com
Thu Feb 1 11:04:19 EST 2007


    [ http://jira.jboss.com/jira/browse/EJBTHREE-859?page=comments#action_12352090 ] 
            
Carlo de Wolf commented on EJBTHREE-859:
----------------------------------------

Adrian:
The problem is caused by the integration between the MC and JMX.

MC uses Strings for its names so it won't understand reordering of
properties if you reference/inject a JMX ObjectName.

For this reason, I took the decision that when you create a
ServiceControllerContext it takes the canonical name
and registers that in the MC.

It does the same for all references to ObjectNames, e.g.
dependencies and everywhere else in the api.

There is no reason why the example you post shouldn't be working.
The <depends/> should be converted into with mc depdency with the
canonical name.

> MBean interfaces are installed with serialized name, instead of canonical name
> ------------------------------------------------------------------------------
>
>                 Key: EJBTHREE-859
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-859
>             Project: EJB 3.0
>          Issue Type: Bug
>    Affects Versions: EJB 3.0 RC9 - Patch 1
>         Environment: ejb3 service test
>            Reporter: Carlo de Wolf
>         Assigned To: Carlo de Wolf
>             Fix For: EJB 3.0 RC10 - FD
>
>
> MBean interfaces are installed using serialized name, this leads to trouble in the micro container dependencies.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list