tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Jconsole through firewall
Date Wed, 26 Nov 2008 16:45:12 GMT

Here :
it says



       The 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 

           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.


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 ?


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message