Author: eric
Date: Sun Apr 29 15:09:00 2012
New Revision: 1331920
URL: http://svn.apache.org/viewvc?rev=1331920&view=rev
Log:
Document JMX access through firewall.
Modified:
james/server/trunk/src/site/xdoc/dev-provided-mailets.xml
james/server/trunk/src/site/xdoc/manage.xml
Modified: james/server/trunk/src/site/xdoc/dev-provided-mailets.xml
URL:
http://svn.apache.org/viewvc/james/server/trunk/src/site/xdoc/dev-provided-mailets.xml?rev=1331920&r1=1331919&r2=1331920&view=diff
==============================================================================
--- james/server/trunk/src/site/xdoc/dev-provided-mailets.xml (original)
+++ james/server/trunk/src/site/xdoc/dev-provided-mailets.xml Sun Apr 29
15:09:00 2012
@@ -19,6 +19,10 @@
-->
<document>
+<!--
+@todo Document ToFolder
+-->
+
<properties>
<title>Apache James Server 3 - Provided Mailets</title>
</properties>
Modified: james/server/trunk/src/site/xdoc/manage.xml
URL:
http://svn.apache.org/viewvc/james/server/trunk/src/site/xdoc/manage.xml?rev=1331920&r1=1331919&r2=1331920&view=diff
==============================================================================
--- james/server/trunk/src/site/xdoc/manage.xml (original)
+++ james/server/trunk/src/site/xdoc/manage.xml Sun Apr 29 15:09:00 2012
@@ -79,7 +79,7 @@
<p>The managed objects are exposed from localhost only (for security
reasons) on the following URL:</p>
- <p><code>service:jmx:rmi:///jndi/rmi://localhost:9999/jmxrmi</code></p>
+ <p><code>service:jmx:rmi://localhost/jndi/rmi://localhost:999/jmxrmi
</code></p>
<p>Simply launch jconsole to access the exposed attributes and
methods.</p>
<!--
@@ -95,9 +95,21 @@
</div>
</div>
-->
- <p>If you want a remote access, you can install a web application
management tool such as jmanage.
+ <p>If you want a remote access, change 'localhost' to your server
hostname in the previous URL:</p>
+
+ <p><code>service:jmx:rmi://localhost/jndi/rmi://localhost:999/jmxrmi
</code></p>
+
+ <p>To manage through a firewall, you will have to take care to random
ports creation (read
+ <a
href="http://docs.oracle.com/javase/6/docs/technotes/guides/management/agent.html">JMX
agent</a>
+ ,
+ <a
href="http://olegz.wordpress.com/2009/03/23/jmx-connectivity-through-the-firewall">JMX
through firewall</a>
+ and
+ <a
href="http://blogs.law.harvard.edu/hoanga/2006/07/07/getting-java-jmx-to-work-through-firewalls-properly">Getting
Java JMX to work through firewalls properly</a>.
+ </p>
+
+ <p>You can install a web application management tool such as jmanage.
You will get screens such as the following one.</p>
-
+
<p><img src="images/jmx-management/jmx-domainlist.png"/></p>
</subsection>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]