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>
+            &lt;!--
+            Ports used by WSAS
+            --&gt;
+            &lt;Ports&gt;
+            &lt;!--
+            Uncomment this section and provide the correct HTTP port
+            in the case of a generic server installation
+            --&gt;
+            &lt;!--
+            &lt;HTTP&gt;9762&lt;/HTTP&gt;
+            --&gt;
+
+            &lt;!--
+            Uncomment this section and provide the correct HTTPS port
+            in the case of a generic server installation
+            --&gt;
+            &lt;!--
+            &lt;HTTPS&gt;9443&lt;/HTTPS&gt;
+            --&gt;
+
+            &lt;!--
+            The JMX Port
+            --&gt;
+            <strong>&lt;JMX&gt;9999&lt;/JMX&gt;</strong>
+
+            &lt;!--
+            Port for listening to external commands such as START, STOP, 
RESTART
+            --&gt;
+            &lt;CommandListener&gt;6666&lt;/CommandListener&gt;
+            &lt;/Ports&gt;
+        </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>
+            &lt;!--
+            Ports used by WSAS
+            --&gt;
+            &lt;Ports&gt;
+            &lt;!--
+            Uncomment this section and provide the correct HTTP port
+            in the case of a generic server installation
+            --&gt;
+            &lt;!--
+            &lt;HTTP&gt;9762&lt;/HTTP&gt;
+            --&gt;
+
+            &lt;!--
+            Uncomment this section and provide the correct HTTPS port
+            in the case of a generic server installation
+            --&gt;
+            &lt;!--
+            &lt;HTTPS&gt;9443&lt;/HTTPS&gt;
+            --&gt;
+
+            &lt;!--
+            The JMX Port
+            --&gt;
+            <strong>&lt;JMX&gt;9999&lt;/JMX&gt;</strong>
+
+            &lt;!--
+            Port for listening to external commands such as START, STOP, 
RESTART
+            --&gt;
+            &lt;CommandListener&gt;6666&lt;/CommandListener&gt;
+            &lt;/Ports&gt;
+        </pre>
     </body>
 </html>

_______________________________________________
Wsas-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev

Reply via email to