In previous release of ode 1.3.3 fuse, deployed inside SMX, there was a karaf 
command line option that permits to list and to terminate processes.
The screenshot is in commands.png.
These commands are implemented in jbi-karaf-command project and they uses the 
JMX interface of ODE. If you try to connect jconsole to ode 1.3.3 you will find 
the situation presented in jconsole133.png.
If you do the same with ode 1.3.4, in JConsole you will see jconsole134.png.
I'd like to adapt jbi-karaf-command module to ode 1.3.4. To do this I need to 
access the ExtensionMBean and invoke the methods like listAllProcesses and so 
on but I don't know ho to do this.
Can you help me?
Thank you

Massimiliano




-----Messaggio originale-----
Da: Guillaume Nodet [mailto:gno...@gmail.com] 
Inviato: mercoledì 27 ottobre 2010 09:17
A: dev@ode.apache.org
Oggetto: Re: problems with ode karaf commands

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