You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Justin Edelson (JIRA)" <ji...@apache.org> on 2011/03/31 02:59:05 UTC

[jira] [Created] (FELIX-2897) Add support for Jetty JMX MBeans

Add support for Jetty JMX MBeans
--------------------------------

                 Key: FELIX-2897
                 URL: https://issues.apache.org/jira/browse/FELIX-2897
             Project: Felix
          Issue Type: New Feature
          Components: HTTP Service
            Reporter: Justin Edelson
         Attachments: FELIX-2897.patch

Jetty has a JMX module which can be enabled. See http://docs.codehaus.org/display/JETTY/JMX


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

[jira] [Updated] (FELIX-2897) Add support for Jetty JMX MBeans

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

Felix Meschberger updated FELIX-2897:
-------------------------------------

    Attachment: FELIX-2897-fmeschbe.patch

Alternative patch using a ServiceTracker to register the MBeanContainers with the MBeanServer service(s).

This is untested and mainly intended to show the idea.

WDYT ?

> Add support for Jetty JMX MBeans
> --------------------------------
>
>                 Key: FELIX-2897
>                 URL: https://issues.apache.org/jira/browse/FELIX-2897
>             Project: Felix
>          Issue Type: New Feature
>          Components: HTTP Service
>            Reporter: Justin Edelson
>         Attachments: FELIX-2897-fmeschbe.patch, FELIX-2897.patch
>
>
> Jetty has a JMX module which can be enabled. See http://docs.codehaus.org/display/JETTY/JMX

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

[jira] [Issue Comment Edited] (FELIX-2897) Add support for Jetty JMX MBeans

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019463#comment-13019463 ] 

Justin Edelson edited comment on FELIX-2897 at 4/13/11 6:01 PM:
----------------------------------------------------------------

conceptually, this works for me. I'll try testing the updated patch over the next few days and report back.

      was (Author: justinedelson):
    works for me
  
> Add support for Jetty JMX MBeans
> --------------------------------
>
>                 Key: FELIX-2897
>                 URL: https://issues.apache.org/jira/browse/FELIX-2897
>             Project: Felix
>          Issue Type: New Feature
>          Components: HTTP Service
>            Reporter: Justin Edelson
>         Attachments: FELIX-2897-fmeschbe.patch, FELIX-2897.patch
>
>
> Jetty has a JMX module which can be enabled. See http://docs.codehaus.org/display/JETTY/JMX

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

[jira] [Updated] (FELIX-2897) Add support for Jetty JMX MBeans

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

Justin Edelson updated FELIX-2897:
----------------------------------

    Attachment: FELIX-2897.patch

proposed patch

> Add support for Jetty JMX MBeans
> --------------------------------
>
>                 Key: FELIX-2897
>                 URL: https://issues.apache.org/jira/browse/FELIX-2897
>             Project: Felix
>          Issue Type: New Feature
>          Components: HTTP Service
>            Reporter: Justin Edelson
>         Attachments: FELIX-2897.patch
>
>
> Jetty has a JMX module which can be enabled. See http://docs.codehaus.org/display/JETTY/JMX

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

[jira] [Commented] (FELIX-2897) Add support for Jetty JMX MBeans

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019463#comment-13019463 ] 

Justin Edelson commented on FELIX-2897:
---------------------------------------

works for me

> Add support for Jetty JMX MBeans
> --------------------------------
>
>                 Key: FELIX-2897
>                 URL: https://issues.apache.org/jira/browse/FELIX-2897
>             Project: Felix
>          Issue Type: New Feature
>          Components: HTTP Service
>            Reporter: Justin Edelson
>         Attachments: FELIX-2897-fmeschbe.patch, FELIX-2897.patch
>
>
> Jetty has a JMX module which can be enabled. See http://docs.codehaus.org/display/JETTY/JMX

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

[jira] [Commented] (FELIX-2897) Add support for Jetty JMX MBeans

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019333#comment-13019333 ] 

Felix Meschberger commented on FELIX-2897:
------------------------------------------

Thanks for providing the patch. I basically like it with a small, yet important caveat: It directly uses the Platform MBean Server, which is not something I like inside the OSGi Framework and given the OSGi JMX specification.

Rather I would like to see a solution, where the MBeanContainer is registered with any MBeanServer service available in the framework. I will try to come up with a patch for this idea.

> Add support for Jetty JMX MBeans
> --------------------------------
>
>                 Key: FELIX-2897
>                 URL: https://issues.apache.org/jira/browse/FELIX-2897
>             Project: Felix
>          Issue Type: New Feature
>          Components: HTTP Service
>            Reporter: Justin Edelson
>         Attachments: FELIX-2897.patch
>
>
> Jetty has a JMX module which can be enabled. See http://docs.codehaus.org/display/JETTY/JMX

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

[jira] [Resolved] (FELIX-2897) Add support for Jetty JMX MBeans

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

Felix Meschberger resolved FELIX-2897.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: http-2.2.2
         Assignee: Felix Meschberger

I just applied my patch in Rev. 1174722 after testing it

> Add support for Jetty JMX MBeans
> --------------------------------
>
>                 Key: FELIX-2897
>                 URL: https://issues.apache.org/jira/browse/FELIX-2897
>             Project: Felix
>          Issue Type: New Feature
>          Components: HTTP Service
>            Reporter: Justin Edelson
>            Assignee: Felix Meschberger
>             Fix For: http-2.2.2
>
>         Attachments: FELIX-2897-fmeschbe.patch, FELIX-2897.patch
>
>
> Jetty has a JMX module which can be enabled. See http://docs.codehaus.org/display/JETTY/JMX

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