O
olegn51
Hi everyone, I am new to JMX and RMI and I am going over sun’s JMX
tutorial (http://java.sun.com/j2se/1.5.0/docs/guide/jmx/tutorial).
I am puzzled by something. The basic example in the tutorial creates
an RMI connector server using the URL service:jmx:rmi:///jndi/rmi://
localhost:9999/server. I’m able to connect jconsole to this, but
normal jvm tabs like Overview, Memory, etc.. are disabled.
My guess is that jvm is using an RMI connector at a different URL, but
I am not sure. It would be nice to have the exposed mbeans together
with the jvm controls on same jconsole. How can I do that? Again, I
can only assume that I must find way to get URL in use by jvm and
perhaps use it for registering my mbeans?
I’d be greatful for any help on this.
tutorial (http://java.sun.com/j2se/1.5.0/docs/guide/jmx/tutorial).
I am puzzled by something. The basic example in the tutorial creates
an RMI connector server using the URL service:jmx:rmi:///jndi/rmi://
localhost:9999/server. I’m able to connect jconsole to this, but
normal jvm tabs like Overview, Memory, etc.. are disabled.
My guess is that jvm is using an RMI connector at a different URL, but
I am not sure. It would be nice to have the exposed mbeans together
with the jvm controls on same jconsole. How can I do that? Again, I
can only assume that I must find way to get URL in use by jvm and
perhaps use it for registering my mbeans?
I’d be greatful for any help on this.