I managed it to get my BC deployed to smx4, but when deploying the
corresponding SA which uses the BC I get an error.
The log file display a null pointer exception in the method which is
building the mbean object name:
this.getContext().getMBeanNames() is null somehow, but in smx3 this worked
well.

After adding a check before using getMBeanNames it throw a nullpointer
exception on:
this.getContext().getMBeanServer() 
After doing a check here as well, the SA deployed correctly and is working
like a charm.

No my question is how to implement my own mbean here if those methods always
return null? I use these mbeans for configuring my SU's settings and also
make them persistent (as file).

Ideas are welcome,

Lars

-- 
View this message in context: 
http://www.nabble.com/problem-with-smx4-and-MBeans-tp15000010s12049p15000010.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

Reply via email to