You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Aki Yoshida (JIRA)" <ji...@apache.org> on 2011/03/13 21:47:59 UTC

[jira] Created: (CXF-3396) InstrumentationManager not registering correctly in the standalone mode (i.e. when not using the framework's server)

InstrumentationManager not registering correctly in the standalone mode (i.e. when not using the framework's server)
--------------------------------------------------------------------------------------------------------------------

                 Key: CXF-3396
                 URL: https://issues.apache.org/jira/browse/CXF-3396
             Project: CXF
          Issue Type: Bug
          Components: Management
    Affects Versions: 2.3.3
            Reporter: Aki Yoshida
             Fix For: 2.4, 2.3.4


This problem only affects the standalone setup (i.e., not using the framework's server).

In short, the init method of org.apache.cxf.management.jmx.InstrumentationManagerImpl class has the problem when it is running in the standalone mode. This problem causes each instance of this InstrumentationManagerImpl to instantiate a new MBeanServer because the lookup into MBeanServerFactory.findMBeanServer is done by using the wrong argument. This problem also causes only one CXF bus bean to be shown at the JXM console even if there are more bus beans registered.

The problem is described in the mail thread
http://cxf.547215.n5.nabble.com/RE-Odd-behavior-in-CXF-s-JMX-IntrumentationManagerImpl-td3425598.html

Regards, Aki

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Updated: (CXF-3396) InstrumentationManager not registering correctly in the standalone mode (i.e. when not using the framework's server)

Posted by "Aki Yoshida (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aki Yoshida updated CXF-3396:
-----------------------------

    Attachment: patch20110311.zip

patch20110311.txt
 - svn diff 2.3.x-fixed/rt/management
    for the patch and test files

> InstrumentationManager not registering correctly in the standalone mode (i.e. when not using the framework's server)
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3396
>                 URL: https://issues.apache.org/jira/browse/CXF-3396
>             Project: CXF
>          Issue Type: Bug
>          Components: Management
>    Affects Versions: 2.3.3
>            Reporter: Aki Yoshida
>             Fix For: 2.4, 2.3.4
>
>         Attachments: patch20110311.zip
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> This problem only affects the standalone setup (i.e., not using the framework's server).
> In short, the init method of org.apache.cxf.management.jmx.InstrumentationManagerImpl class has the problem when it is running in the standalone mode. This problem causes each instance of this InstrumentationManagerImpl to instantiate a new MBeanServer because the lookup into MBeanServerFactory.findMBeanServer is done by using the wrong argument. This problem also causes only one CXF bus bean to be shown at the JXM console even if there are more bus beans registered.
> The problem is described in the mail thread
> http://cxf.547215.n5.nabble.com/RE-Odd-behavior-in-CXF-s-JMX-IntrumentationManagerImpl-td3425598.html
> Regards, Aki

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Resolved: (CXF-3396) InstrumentationManager not registering correctly in the standalone mode (i.e. when not using the framework's server)

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-3396.
------------------------------

    Resolution: Fixed


Patch applied.  Thanks!

> InstrumentationManager not registering correctly in the standalone mode (i.e. when not using the framework's server)
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3396
>                 URL: https://issues.apache.org/jira/browse/CXF-3396
>             Project: CXF
>          Issue Type: Bug
>          Components: Management
>    Affects Versions: 2.3.3
>            Reporter: Aki Yoshida
>            Assignee: Daniel Kulp
>             Fix For: 2.4, 2.3.4
>
>         Attachments: patch20110311.zip
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> This problem only affects the standalone setup (i.e., not using the framework's server).
> In short, the init method of org.apache.cxf.management.jmx.InstrumentationManagerImpl class has the problem when it is running in the standalone mode. This problem causes each instance of this InstrumentationManagerImpl to instantiate a new MBeanServer because the lookup into MBeanServerFactory.findMBeanServer is done by using the wrong argument. This problem also causes only one CXF bus bean to be shown at the JXM console even if there are more bus beans registered.
> The problem is described in the mail thread
> http://cxf.547215.n5.nabble.com/RE-Odd-behavior-in-CXF-s-JMX-IntrumentationManagerImpl-td3425598.html
> Regards, Aki

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Assigned: (CXF-3396) InstrumentationManager not registering correctly in the standalone mode (i.e. when not using the framework's server)

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp reassigned CXF-3396:
--------------------------------

    Assignee: Daniel Kulp

> InstrumentationManager not registering correctly in the standalone mode (i.e. when not using the framework's server)
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3396
>                 URL: https://issues.apache.org/jira/browse/CXF-3396
>             Project: CXF
>          Issue Type: Bug
>          Components: Management
>    Affects Versions: 2.3.3
>            Reporter: Aki Yoshida
>            Assignee: Daniel Kulp
>             Fix For: 2.4, 2.3.4
>
>         Attachments: patch20110311.zip
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> This problem only affects the standalone setup (i.e., not using the framework's server).
> In short, the init method of org.apache.cxf.management.jmx.InstrumentationManagerImpl class has the problem when it is running in the standalone mode. This problem causes each instance of this InstrumentationManagerImpl to instantiate a new MBeanServer because the lookup into MBeanServerFactory.findMBeanServer is done by using the wrong argument. This problem also causes only one CXF bus bean to be shown at the JXM console even if there are more bus beans registered.
> The problem is described in the mail thread
> http://cxf.547215.n5.nabble.com/RE-Odd-behavior-in-CXF-s-JMX-IntrumentationManagerImpl-td3425598.html
> Regards, Aki

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira