Managing all processes with MbeanServers on a machine from one MbeanServer

View: New views
1 Messages — Rating Filter:   Alert me  

Managing all processes with MbeanServers on a machine from one MbeanServer

by Christian Schneider :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I have to manage several java processes that run on one machine. At the
moment I already use JMX for each process but that means I have to
reserve one port for the JMX Connector to each process. Additionally I
have to know which port manages which process when I connect with JConsole.

So what I would like to have is one process that acts as a NodeAgent
that scans which java processes run on the same machine and proxies the
JMX informations of each. Then it should put the JMX trees together into
one tree and offer this tree in his own MBeanServer. So I can connect to
this single JMX Server and manage all other processes through it.

I have found the RemoteMBeanProxy classs of MX4J
(http://mx4j.sourceforge.net/docs/api/mx4j/tools/remote/proxy/RemoteMBeanProxy.html).
Can it be used to help with my problem? Is there perhaps even a complete
open source implementation of an MBeanServer like I imagine.

Btw. I have already found out how to determine which Java processes run
on the same machine and how to connect to them by using he code from
sun“s JConsole. The nice thing with the method JConsole uses is that it
connects locally so no tcp port and addional security is necessary.

Greetings

Christian


--

Christian Schneider
---
http://www.liquid-reality.de


------------------------------------------------------------------------------
_______________________________________________
Mx4j-user mailing list
Mx4j-user@...
https://lists.sourceforge.net/lists/listinfo/mx4j-user