The elena and flavio projects on the old jini.org dealt with Jini and JMX.  I 
am not sure of the current status of either of these projects.  I did play with 
flavio for a while, and still have references to it, in my codebases.  However, 
I was not really sure of whether or not it was going to be a good solution 
because of the "huge" string URL it used to wrap the marshalled service 
endpoint that the connector used to get back to the actual JMX endpoint.

Gregg Wonderly

On May 27, 2013, at 6:53 AM, Dennis Reedy <dennis.re...@gmail.com> wrote:

> 
> On May 26, 2013, at 1123PM, Greg Trasuk wrote:
> 
>> 
>> Hi all:
>> 
>> The JMX docs talk about looking up JMX servers in Jini registrars.  Did
>> anyone ever do that, and if so, how do we go about publishing MBean
>> servers through Jini?
> 
> Create a JMXServiceURL, then use that to create JMXConnectorServer. Add to 
> your service the 2 following attributes:
> 
> JMXProtocolType(JMXProtocolType.RMI);
> JMXProperty(Constants.JMX_SERVICE_URL, jmxServiceURL);
> 
> 
>> 
>> I ask because I've been working on the container, and it publishes
>> MBeans for its admin interfaces.  I'd like to have a command-line or
>> scripted admin program, which should be possibe through the JMX MBeans
>> (so far I've been hitting them with jconsole).  The JMX runtime includes
>> an RMI connector, but it seems a little funny to use plain-old unsecure
>> rmi when we've got JERI.
>> 
>> Any JMX expertise out there?  Would love to have someone do the admin
>> interface.  I'm also thinking that a Swing-based admin interface would
>> be interesting.  Possibly using Groovy or Jython.
> 
> Or, just exec jconsole with the JMXProperty from above, no more work is 
> needed.
> 
> Dennis
> 
> 

Reply via email to