Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #13899

Registering MBeans in a central MBeanServer

From Sebastian <sebastian@undisclosed.invalid>
Newsgroups comp.lang.java.programmer
Subject Registering MBeans in a central MBeanServer
Date 2012-04-25 15:38 +0200
Organization albasani.net
Message-ID <jn8up9$122$1@news.albasani.net> (permalink)

Show all headers | View raw


Hello there,

I'd like to register MBeans that are local to several applications - 
each running in their own JVM - in a central MBeanServer. An operation 
invocation on that registered bean (e. g. using a jconsole connected to 
the central server) should result in a remote callback (probably via 
RMI) to the local bean, which would be registered in its platform 
MBeanServer.

In other words, instead of creating a local bean on the central server, 
I'd like to create a remote proxy to my application-local bean and 
register that, and I'd like the whole remoting stuff to be transparent.
By that I mean I don't want to explicitly start RMI registries in each 
application, keep track of the ports in case they run on the same 
machine etc.

There used to be (in the year 2005) a "JMXRemote" project on java net, cf.

http://today.java.net/pub/a/today/2005/12/20/introduction-to-jmxremote.html

but that seems defunct. This must be a common requirement, however, I 
haven't found anything useful with Google, nor in any of the JMX 
tutorials online.

-- Sebastian

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Registering MBeans in a central MBeanServer Sebastian <sebastian@undisclosed.invalid> - 2012-04-25 15:38 +0200
  Re: Registering MBeans in a central MBeanServer Sebastian <sebastian@undisclosed.invalid> - 2012-04-30 16:05 +0200
    Re: Registering MBeans in a central MBeanServer Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-05-01 10:37 -0300
  Re: Registering MBeans in a central MBeanServer ratornado@gmail.com - 2012-07-05 04:17 -0700

csiph-web