Hi.
Here :
http://java.sun.com/javase/6/docs/technotes/guides/management/faq.html#rmi1
it says
quote
7.
The com.sun.management.jmxremote.port management property
specifies the port where the RMI Registry can be reached but the ports
where the RMIServer and RMIConnection remote objects are exported is
chosen by the RMI stack. To export the remote objects (RMIServer and
RMIConnection) on a given port you need to create your own RMI connector
server programmatically, as described in the section Mimicking
Out-of-the-Box Management Using the JMX Remote API in the Java SE
Monitoring and Management Guide. You must specify the JMXServiceURL as
follows:
JMXServiceURL url = new
JMXServiceURL("service:jmx:rmi://localhost:" + port1 +
"/jndi/rmi://localhost:" + port2 + "/jmxrmi");
In the command above, port1 is the port number on which the
RMIServer and RMIConnection remote objects are exported and port2 is the
port number of the RMI Registry.
unquote
My simple questions are :
1) does someone understand what it says above ?
2) if I want to monitor a Tomcat server from a remote location through a
firewall using jconsole, can I do it ?
Thanks.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]