Hi Carsten

That was very helpful indeed. After registering the platform MBeanServer
with the bundle context I can see a whole bunch of Jetty MBeans in the JMX
console.

Thanks!

Silvano

On Tue, May 29, 2018 at 9:03 AM, Carsten Ziegeler <cziege...@apache.org>
wrote:

> Hi
>
> I've never used this feature but looking at the source code, it seems
> that a javax.management.MBeanServer service needs  to be registered in
> the OSGi service registry for this.
>
> The Apache Aries project has an implementation of the OSGi JMX
> Management Model Specification at
> http://aries.apache.org/modules/jmx.html. That page also has a code
> snippet on how to register such an MBeanserver.
>
> Regards
>
> Carsten
>
>
> Silvano Maffeis wrote
> > Dear all
> >
> > I'm setting *org.apache.felix.http.mbeans=true* but can't see any Jetty
> > MBeans exposed through the JDK platform MBeans server. I'm connecting
> with
> > VisualVM.
> >
> > Any hint or example is appreciated because it appears that
> > org.apache.felix.http.mbeans  does not have the effect that I'm
> expecting.
> >
> > Regards,
> > Silvano
> >
> --
> Carsten Ziegeler
> Adobe Research Switzerland
> cziege...@apache.org
>



-- 
Silvano Maffeis
Dr. oec. publ.
CTO
+41 79 212 5936

Vipera GmbH
P.O. Box 1438
5401 Baden, Switzerland
http://www.vipera.com/

Reply via email to