Author: kkolinko
Date: Tue Apr 9 15:10:09 2013
New Revision: 1466074
URL: http://svn.apache.org/r1466074
Log:
Merged r1466072 from tomcat/trunk:
Correct indents
Modified:
tomcat/tc7.0.x/trunk/ (props changed)
tomcat/tc7.0.x/trunk/webapps/docs/monitoring.xml
Propchange: tomcat/tc7.0.x/trunk/
------------------------------------------------------------------------------
Merged /tomcat/trunk:r1466072
Modified: tomcat/tc7.0.x/trunk/webapps/docs/monitoring.xml
URL:
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/monitoring.xml?rev=1466074&r1=1466073&r2=1466074&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/webapps/docs/monitoring.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/monitoring.xml Tue Apr 9 15:10:09 2013
@@ -106,7 +106,7 @@ controlRole tomcat
<em>Note:</em> The <code>name</code> attribute value was wrapped here to be
more readable. It has to be all on the same line, without spaces.</p>
<table border="1">
- <tr><td><p><pre>
+ <tr><td><pre>
<project name="Catalina Ant JMX"
xmlns:jmx="antlib:org.apache.catalina.ant.jmx"
default="state"
@@ -130,7 +130,7 @@ senderAddress=${cluster.server.address},
resultproperty="IDataSender.backup.connected"
echo="false"
/>
- <jmx:get
+ <jmx:get
name="Catalina:type=ClusterSender,host=localhost"
attribute="senderObjectNames"
resultproperty="senderObjectNames"
@@ -140,7 +140,7 @@ senderAddress=${cluster.server.address},
echo it to Ant output and store at
property <em>clustertest.maxActiveSessions.orginal</em>
-->
- <jmx:get
+ <jmx:get
name="Catalina:type=Manager,context=/ClusterTest,host=localhost"
attribute="maxActiveSessions"
resultproperty="clustertest.maxActiveSessions.orginal"
@@ -204,7 +204,7 @@ manager.ClusterTest.0.counterSend_EVT_GE
</target>
</project>
- </pre></p>
+</pre>
</td></tr>
</table>
<p><b>import:</b> Import the JMX Accessor Project with
@@ -715,8 +715,8 @@ List of Attributes<br/>
Get all Manager ObjectNames from all services and Hosts <br/>
<source>
<jmx:query
- name="Catalina:type=Manager,*
- resultproperty="manager" />
+ name="Catalina:type=Manager,*
+ resultproperty="manager" />
</source>
Now you can find the Session Manager at <em>${manager.[0..N].name}</em>
properties and access the result object counter with ${manager.length}
property.
@@ -725,9 +725,9 @@ properties and access the result object
Example to get the Manager from <em>servlet-examples</em> application an bind
all MBean properties<br/>
<source>
<jmx:query
-
name="Catalina:type=Manager,context=/servlet-examples,host=localhost*"
- attributebinding="true"
- resultproperty="manager.servletExamples" />
+ name="Catalina:type=Manager,context=/servlet-examples,host=localhost*"
+ attributebinding="true"
+ resultproperty="manager.servletExamples" />
</source>
Now you can find the manager at <em>${manager.servletExamples.0.name}</em>
property
and can access all properties from this manager with
<em>${manager.servletExamples.0.[manager attribute names]</em>}.
@@ -766,8 +766,8 @@ Example to get all MBeans from a server
format="xml"/>
<!-- Print results -->
- <echo
- message="Number of MBeans in server ${jmx.host}:${jmx.port} is
${mbeans.length}"/>
+ <echo message=
+ "Number of MBeans in server ${jmx.host}:${jmx.port} is
${mbeans.length}"/>
</target>
</project>
</source>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]