What's the relationship with karaf commands?
It looks you're just trying to access through JMX.
Have you opened a jconsole to see what the mbean exact names are?

On Mon, Oct 18, 2010 at 09:47, Andriotto Massimiliano
<massimiliano.andrio...@necsy.it> wrote:
>
>
> Hi,
>
> in smx4.2 i want to manage ODE 1.3.4 using karaf console.
>
>
>
> If I use this definition:
>
>
>
> ObjectName mbeanName = new ObjectName((String)
> "org.apache.servicemix:Type=Component,Name=OdeBpelEngine,SubType=Managem
> ent");
>
> and I invoke:
>
>
>
>  processInfoList = (ProcessInfoListDocument) mbsc.invoke(mbeanName,
> "listAllProcesses", null, null);
>
>
>
>  I receive this error:
>
>
>
>
> org.apache.servicemix:Type=Component,Name=OdeBpelEngine,SubType=Manageme
> nt
>
> javax.management.InstanceNotFoundException:
> org.apache.servicemix:Type=Component,Name=OdeBpelEngine,SubType=Manageme
> nt
>
>
>
> Where can I found an example with the description of how to access the
> management bean and retrieve the process list?
>
>
>
> Thank you
>
>
>
> Massimiliano Andriotto
>
>
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Reply via email to