Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Take a look at the <a href="http://opendmk.java.net/" rel="nofollow">OpenDMK</a>. This is the open sourced version of the <a href="http://docs.oracle.com/cd/E19698-01/816-7609/index.html" rel="nofollow">Java Dynamic Management Kit</a>. It provides JMX with a <a href="http://docs.oracle.com/cd/E19698-01/816-7609/6mdjrf880/index.html" rel="nofollow">Discovery Service</a>. To quote from the docs:</p> <blockquote> <p>The discovery service enables you to discover Java dynamic management agents in a network. This service relies on a discovery client object that sends out multicast requests to find agents. In order to be discovered, an agent must have a registered discovery responder in its MBean server. Applications can also use a discovery monitor that detects when discovery responders are started or stopped.</p> </blockquote> <p>As for effecting changes on all servers at once, if you implement the discovery service (or something like it), you would be able to quickly compile a list of <a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/management/remote/JMXServiceURL.html" rel="nofollow">JMXServiceURL</a>s which in turn could be used to generate a list of <a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/management/remote/JMXConnector.html" rel="nofollow">JMXConnector</a>s and thereby a list of connected <a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/management/MBeanServerConnection.html" rel="nofollow">MBeanServerConnection</a>s. From there, it should be simple enough to create a multiplexing wrapper around that list that delegates operations against the wrapper out to each remote JMX instance. (Error handling and timeouts might be a little trickier....)</p> <p>You might even consider coding up a <a href="http://docs.oracle.com/cd/E19698-01/816-7609/6mdjrf85d/index.html" rel="nofollow">MBeanServerInterceptor</a> which creates a virtual MBeanServer which <em>looks</em> like a MBeanServer but is actually the aforementioned multiplexer in disguise.</p> <p>//Nicholas</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload