Author: azeez
Date: Sat Jan 19 06:26:05 2008
New Revision: 12518
Log:
Updated JMX doc
Modified:
trunk/wsas/java/modules/documentation/src/site/xdoc/jmx.xml
Modified: trunk/wsas/java/modules/documentation/src/site/xdoc/jmx.xml
==============================================================================
--- trunk/wsas/java/modules/documentation/src/site/xdoc/jmx.xml (original)
+++ trunk/wsas/java/modules/documentation/src/site/xdoc/jmx.xml Sat Jan 19
06:26:05 2008
@@ -246,5 +246,86 @@
service name. The p2 parameter is the operation name. You can
get the average
response time of this operation since deployment.</li>
</ul>
+
+ <a name="enabling"></a>
+ <h2>Enabling and Disabling JMX</h2>
+ <p>
+ In the WSO2WSAS_HOME/conf/server.xml, commenting out the JMX port
will disable JMX
+ while uncommenting or adding this entry will enable JMX. Here is
the relevant section
+ is the server.xml file:
+ </p>
+
+ <pre>
+ <!--
+ Ports used by WSAS
+ -->
+ <Ports>
+ <!--
+ Uncomment this section and provide the correct HTTP port
+ in the case of a generic server installation
+ -->
+ <!--
+ <HTTP>9762</HTTP>
+ -->
+
+ <!--
+ Uncomment this section and provide the correct HTTPS port
+ in the case of a generic server installation
+ -->
+ <!--
+ <HTTPS>9443</HTTPS>
+ -->
+
+ <!--
+ The JMX Port
+ -->
+ <strong><JMX>9999</JMX></strong>
+
+ <!--
+ Port for listening to external commands such as START, STOP,
RESTART
+ -->
+ <CommandListener>6666</CommandListener>
+ </Ports>
+ </pre>
+
+ <a name="changingPort"></a>
+ <h2>Changing the JMX Port</h2>
+ <p>
+ In the WSO2WSAS_HOME/conf/server.xml, locate the JMX port and
change it. Here is the
+ relevant section in the server.xml file:
+ </p>
+
+ <pre>
+ <!--
+ Ports used by WSAS
+ -->
+ <Ports>
+ <!--
+ Uncomment this section and provide the correct HTTP port
+ in the case of a generic server installation
+ -->
+ <!--
+ <HTTP>9762</HTTP>
+ -->
+
+ <!--
+ Uncomment this section and provide the correct HTTPS port
+ in the case of a generic server installation
+ -->
+ <!--
+ <HTTPS>9443</HTTPS>
+ -->
+
+ <!--
+ The JMX Port
+ -->
+ <strong><JMX>9999</JMX></strong>
+
+ <!--
+ Port for listening to external commands such as START, STOP,
RESTART
+ -->
+ <CommandListener>6666</CommandListener>
+ </Ports>
+ </pre>
</body>
</html>
_______________________________________________
Wsas-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev