Re: Quickest way of running oak to validate DocumentNodeStore mbeans

2015-04-23 Thread Chetan Mehrotra
On Thu, Apr 23, 2015 at 3:51 PM, Robert Munteanu wrote: > Some of the specific MBeans do not appear and only > seem to be registered by the DocumentNodeStoreService ( see [2] ). > That was what lead me to believe that JMX MBean registration is tied > to OSGi. Is this available for registration in

Re: Quickest way of running oak to validate DocumentNodeStore mbeans

2015-04-23 Thread Robert Munteanu
On Thu, Apr 23, 2015 at 1:14 PM, Robert Munteanu wrote: > Hi Chetan, > > On Thu, 2015-04-23 at 10:03 +0530, Chetan Mehrotra wrote: >> > I assume that this happens because there is no OSGi environment >> > available >> >> Thats not the case. MBean would be registered only if a MBeanServer >> is >>

Re: Quickest way of running oak to validate DocumentNodeStore mbeans

2015-04-23 Thread Robert Munteanu
Hi Chetan, On Thu, 2015-04-23 at 10:03 +0530, Chetan Mehrotra wrote: > > I assume that this happens because there is no OSGi environment > > available > > Thats not the case. MBean would be registered only if a MBeanServer > is > provided while constructing Oak instance (in non OSGi env). So in

Re: Quickest way of running oak to validate DocumentNodeStore mbeans

2015-04-22 Thread Chetan Mehrotra
> I assume that this happens because there is no OSGi environment available Thats not the case. MBean would be registered only if a MBeanServer is provided while constructing Oak instance (in non OSGi env). So in oak-run where Oak instance is created if you also set MBeanServer Something like Oak

Quickest way of running oak to validate DocumentNodeStore mbeans

2015-04-22 Thread Robert Munteanu
Hi, I've built Oak from trunk and want to access the DocumentNodeStoreMBean. I see that the mbeans are not registered when using oak-run ( I assume that this happens because there is no OSGi environment available ). I can always install a custom version of Oak in Sling, but I was wondering wh