David Bernard wrote:

Hi Stephen,

I follow to work with my version of jmx for merlin.
I add :
- jrmp adaptor and test it with mc4j-1.2-b1
- SystemInfo component, that wraps access to java.lang.Runtime
(totalMemory,...) and java.lang.System, usefull to follow System
resource usage.

I think it's normal, to not be able to register remote MBean to a
MBeanServer. Because MBeanServer could access to any type of method from the MBean. And MBean don't implements java.rmi.Remote.
An MBeanServer is the entry point to local Manageable Object.



If we are restricted to local registration, then we need to come up with a Merin Kernel Adapter (MKA). I.e. something like:


|--------------|                |--------------------|
|  JMX Server  |             n  | Merlin Kernel      |
|  MKA (MBean) |--------------->|   ApplianceMBean   |
|--------------|                |   ApplianceMBean   |
                               |     ComponentMBean |
                               |--------------------|



Currently this version of jmx4merlin satisfy my needs. I'll add javadoc I'll probably add support for DynamicMBean later; it's possible to use a same <Extension>Handler for several interface (MBeanable, DynamicMBean,... *MBean (with glob definition))?

I you want, I could try to merge this work with yours (publish it, or
send me it).


Will do.


PS : MBeanServerProxy, XXXAdaptorWrapper, Hello1 could be
compatible/useable with Fortress (feedback welcome).

[link]
* mc4j screenshoot
http://www.dwayne.freesurf.fr/download/pub/merlin/mc4j_merlin.png


This is *very* nice.



* binary version (demo block) http://www.dwayne.freesurf.fr/download/pub/merlin/merlin-jmx-0.3-dev1-bin.zip * devel version (need alchim (unpublished) to build) http://www.dwayne.freesurf.fr/download/pub/merlin/merlin-jmx-0.3-dev1-devel.tar.gz


Will look into this today.


Cheers, Steve.

--

Stephen J. McConnell
mailto:[EMAIL PROTECTED]
http://www.osm.net

Sent via James running under Merlin as an NT service.
http://avalon.apache.org/sandbox/merlin




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to