I am an extreme rooky with ServiceMix, but in following your example the
getMBeanServer() method is returning null. I tried getting the MBServer from
both the cc passed in, and the cc returned by getContext and both return
null. In fact both values point to the same instance.  

The Sun javadoc for ComponentContext claims that this should never happen. I
have searched through the  repository of our code, for a specialized
implementation of ComponentContext, and there is no reference except in my
code, so I don't think the ComponentContext has been altered outside of
ServiceMix, and the
class name of the ComponentContext is
org.servicemix.jbi.framework.ComponentContextImpl

Any ideas as to what I am doing wrong?
--
View this message in context: 
http://www.nabble.com/JMX+configuration-t1650672.html#a4511897
Sent from the ServiceMix - User forum at Nabble.com.

Reply via email to