I think there was a problem with the attached images: With ode 1.3.3, inside jconsole there is this MBean:
org.apacheservicemix -> Component OdeBpleEngine + LifeCycle + Management -> Operations ... listAllInstances listAllProcesses end so on Inside the laraf console there are these commands; ode:list ode:terminate With ode 1.3.4 inside jconsole there is this MBean: org.apacheservicemix -> Component OdeBpleEngine + LifeCycle -> Attributes |-> Name |-> ... |-> ExtensionMBeanName Extension MBean Name has these Attribute Name=ExtensionMBeanName Value=g.apache.servicemix:Type=Component,Name=OdeBpelEngine,SubType=Management MBeanAttributeInfo: Name=ExtensionMBeanName Description: Attribute exposed for management Readable: true Writable: false Is: false Type: javax.management.ObjectName How to access thie MBean and retrieve the list of all processes and of all instances? Thank you Massimiliano -----Messaggio originale----- Da: Andriotto Massimiliano [mailto:massimiliano.andrio...@necsy.it] Inviato: mercoledì 27 ottobre 2010 09:50 A: dev@ode.apache.org Oggetto: R: problems with ode karaf commands 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