Author: remy.maucherat(a)jboss.com
Date: 2008-03-18 14:28:49 -0400 (Tue, 18 Mar 2008)
New Revision: 530
Modified:
trunk/webapps/docs/aio.xml
trunk/webapps/docs/building.xml
trunk/webapps/docs/default-servlet.xml
trunk/webapps/docs/monitoring.xml
Log:
- More updating of ugly tables and source blocks (I think I checked all pages now).
Modified: trunk/webapps/docs/aio.xml
===================================================================
--- trunk/webapps/docs/aio.xml 2008-03-18 16:30:31 UTC (rev 529)
+++ trunk/webapps/docs/aio.xml 2008-03-18 18:28:49 UTC (rev 530)
@@ -87,7 +87,7 @@
been initialized in the begin method should be reset. After this event has
been processed, the request and response objects, as well as all their dependent
objects will be recycled and used to process other requests.</li>
- <li>TIMEOUT - the connection timed out, but the connection will not be closed
unless
+ <li>EventType.TIMEOUT - the connection timed out, but the connection will not be
closed unless
the servlet uses the close method of the event</li>
<li>EventType.EVENT - Event will be called by the container after the resume()
method is called,
during which any operations can be performed, including closing the Comet
connection
Modified: trunk/webapps/docs/building.xml
===================================================================
--- trunk/webapps/docs/building.xml 2008-03-18 16:30:31 UTC (rev 529)
+++ trunk/webapps/docs/building.xml 2008-03-18 18:28:49 UTC (rev 530)
@@ -109,18 +109,18 @@
<p>
The build can be controlled by creating a ${jbossweb.source}/build.properties
file, and adding the following content to it:
-<code><br/>
- # ----- Proxy setup -----<br/>
- # Uncomment if using a proxy server.<br/>
- #proxy.host=proxy.domain<br/>
- #proxy.port=8080<br/>
- #proxy.use=on<br/>
-<br/>
- # ----- Default Base Path for Dependent Packages -----<br/>
- # Replace this path with the directory path where<br/>
- # dependencies binaries should be downloaded.<br/>
- base.path=/usr/share/java<br/>
-</code>
+<source>
+# ----- Proxy setup -----
+# Uncomment if using a proxy server.
+#proxy.host=proxy.domain
+#proxy.port=8080
+#proxy.use=on
+
+# ----- Default Base Path for Dependent Packages -----
+# Replace this path with the directory path where
+# dependencies binaries should be downloaded.
+base.path=/usr/share/java
+</source>
</p>
</section>
@@ -155,13 +155,18 @@
Variables to add two new Classpath variables:
</p>
-<p>
-<table border="1">
- <tr><td>TOMCAT_LIBS_BASE</td><td>the base path where the binary
dependencies have been downloaded</td></tr>
- <tr><td>ANT_HOME</td><td>the base path of Ant 1.6.2 or
later</td></tr>
-</table>
-</p>
+ <properties>
+ <property name="TOMCAT_LIBS_BASE" required="false">
+ <p>The base path where the binary dependencies have been
downloaded.</p>
+ </property>
+
+ <property name="ANT_HOME" required="false">
+ <p>The base path of Ant 1.6.5 or later.</p>
+ </property>
+
+ </properties>
+
<p>
Use File->New Project to create a new Java project
for each of the binaries repository (e.g., /usr/share/java),
Modified: trunk/webapps/docs/default-servlet.xml
===================================================================
--- trunk/webapps/docs/default-servlet.xml 2008-03-18 16:30:31 UTC (rev 529)
+++ trunk/webapps/docs/default-servlet.xml 2008-03-18 18:28:49 UTC (rev 530)
@@ -70,21 +70,18 @@
<section name="What can I change?">
<a name="change"></a>
-The DefaultServlet allows the following initParamters:
-<table border="1">
- <tr>
- <th valign='top'>debug</th>
- <td valign='top'>
- Debugging level. It is not very useful unless you are a JBoss Web
- developer. As
- of this writing, useful values are 0, 1, 11, 1000.
- </td>
- </tr>
- <tr>
- <th valign='top'>listings</th>
- <td valign='top'>
- If no welcome file is present, can a directory listing be
+ <p>The DefaultServlet allows the following initParamters:</p>
+
+ <attributes>
+
+ <attribute name="debug" required="false">
+ <p>Debugging level. It is not very useful unless you are a JBoss Web
+ developer. As of this writing, useful values are 0, 1, 11, 1000.</p>
+ </attribute>
+
+ <attribute name="listings" required="false">
+ <p>If no welcome file is present, can a directory listing be
shown?
value may be <b>true</b> or <b>false</b>
<br />
@@ -92,79 +89,63 @@
<br />
<b>WARNING:</b> Listings of directories containing many entries are
expensive. Multiple requests for large directory listings can consume
- significant proportions of server resources.
- </td>
- </tr>
- <tr>
- <th valign='top'>readmeFile</th>
- <td valign='top'>
- If a directory listing is presented, a readme file may also
+ significant proportions of server resources.</p>
+ </attribute>
+
+ <attribute name="readmeFile" required="false">
+ <p>If a directory listing is presented, a readme file may also
be presented with the listing. This file is inserted as is
- so it may contain HTML. default value is null
- </td>
- </tr>
- <tr>
- <th valign='top'>globalXsltFile</th>
- <td valign='top'>
- If you wish to customize your directory listing, you
+ so it may contain HTML. The default value is null.</p>
+ </attribute>
+
+ <attribute name="globalXsltFile" required="false">
+ <p>If you wish to customize your directory listing, you
can use an XSL transformation. This value is an absolute
file name which be used for all direcotory listings.
This can be disabled by per webapp by also declaring the
default servlet in your local webapp's web.xml. The format
of the xml is shown below.
- </td>
- </tr>
- <tr>
- <th valign='top'>localXsltFile</th>
- <td valign='top'>
- You may also customize your directory listing by directory by
+ </p>
+ </attribute>
+
+ <attribute name="localXsltFile" required="false">
+ <p>You may also customize your directory listing by directory by
configuring <code>localXsltFile</code>. This should be a relative
file name in the directory where the listing will take place.
This overrides <code>globalXsltFile</code>. If this value
is present but a file does not exist, then
<code>globalXsltFile</code> will be used. If
<code>globalXsltFile</code> does not exist, then the default
- directory listing will be shown.
- </td>
- </tr>
- <tr>
- <th valign='top'>input</th>
- <td valign='top'>
- Input buffer size (in bytes) when reading
- resources to be served. [2048]
- </td>
- </tr>
- <tr>
- <th valign='top'>output</th>
- <td valign='top'>
- Output buffer size (in bytes) when writing
- resources to be served. [2048]
- </td>
- </tr>
- <tr>
- <th valign='top'>readonly</th>
- <td valign='top'>
- Is this context "read only", so HTTP commands like PUT and
- DELETE are rejected? [true]
- </td>
- </tr>
- <tr>
- <th valign='top'>fileEncoding</th>
- <td valign='top'>
- File encoding to be used when reading static resources.
- [platform default]
- </td>
- </tr>
- <tr>
- <th valign='top'>sendfileSize</th>
- <td valign='top'>
- If the connector used supports sendfile, this represents the minimal
+ directory listing will be shown.</p>
+ </attribute>
+
+ <attribute name="input" required="false">
+ <p>Input buffer size (in bytes) when reading resources to be served.
[2048]</p>
+ </attribute>
+
+ <attribute name="output" required="false">
+ <p>Output buffer size (in bytes) when writing
+ resources to be served. [2048]</p>
+ </attribute>
+
+ <attribute name="readonly" required="false">
+ <p>Is this context "read only", so HTTP commands like PUT and
+ DELETE are rejected? [true]</p>
+ </attribute>
+
+ <attribute name="fileEncoding" required="false">
+ <p>File encoding to be used when reading static resources.
+ [platform default]</p>
+ </attribute>
+
+ <attribute name="sendfileSize" required="false">
+ <p>If the connector used supports sendfile, this represents the minimal
file size in KB for which sendfile will be used. Use a negative value
- to always disable sendfile. [48]
- </td>
- </tr>
+ to always disable sendfile. [48]</p>
+ </attribute>
-</table>
+ </attributes>
+
</section>
<section name="How do I customize directory listings?">
Modified: trunk/webapps/docs/monitoring.xml
===================================================================
--- trunk/webapps/docs/monitoring.xml 2008-03-18 16:30:31 UTC (rev 529)
+++ trunk/webapps/docs/monitoring.xml 2008-03-18 18:28:49 UTC (rev 530)
@@ -68,11 +68,10 @@
</section>
<section name="Manage JBoss Web with JMX remote Ant Tasks">
- <p>For simple JBoss Web ant task usage with ant 1.6.x we have integrate import
and antlib support.</p>
- <p><b>antlib</b>Copy your catalina-ant.jar from
$CATALINA_HOME/server/lib to $ANT_HOME/lib.</p>
- <p>Following example show the JMX Accessor usage:</p>
- <table border="1">
- <tr><td><p><pre>
+ <p>For simple JBoss Web ant task usage with ant 1.6.x we have integrate import
and antlib support.
+ Copy your catalina-ant.jar from $CATALINA_HOME/server/lib to $ANT_HOME/lib. The
following example
+ show the JMX Accessor usage:</p>
+ <source>
<project name="Catalina Ant JMX"
xmlns:jmx="antlib:org.apache.catalina.ant.jmx"
default="state"
@@ -166,9 +165,7 @@
</target>
</project>
- </pre></p>
- </td></tr>
-</table>
+ </source>
<p><b>import:</b> Import the Catalina Ant tasks with
<em><import file="${CATALINA.HOME}/bin/catalina-tasks.xml"
/></em> and
reference the tasks with <em>jmxOpen</em>, <em>jmxSet</em>,
<em>jmxGet</em>,
@@ -180,82 +177,49 @@
-->
<section name="JMXAccessorOpenTask - jmx open connection task">
-<p>
-List of Attributes<br/>
-<table border="1" cellpadding="5">
+<p>List of Attributes</p>
- <tr>
- <th align="center" bgcolor="aqua">Attribute</th>
- <th align="center" bgcolor="aqua">Description</th>
- <th align="center" bgcolor="aqua">Default value</th>
- </tr>
+ <attributes>
- <tr>
- <td>url</td>
- <td>Set jmx connection url -
<em>service:jmx:rmi:///jndi/rmi://localhost:8050/jmxrmi</em>
- </td>
- <td></td>
- </tr>
+ <attribute name="url" required="false">
+ <p>Set jmx connection url -
service:jmx:rmi:///jndi/rmi://localhost:8050/jmxrmi</p>
+ </attribute>
- <tr>
- <td>host</td>
- <td>Set the host, shortcut the very long url syntax.
- </td>
- <td><code>localhost</code></td>
- </tr>
+ <attribute name="host" required="false">
+ <p>Set the host, shortcut the very long url syntax. [localhost]</p>
+ </attribute>
- <tr>
- <td>port</td>
- <td>Set the remote connection port
- </td>
- <td><code>8050</code></td>
- </tr>
+ <attribute name="port" required="false">
+ <p>Set the remote connection port. [8050]</p>
+ </attribute>
- <tr>
- <td>username</td>
- <td>remote jmx connection user name.
- </td>
- <td></td>
- </tr>
+ <attribute name="username" required="false">
+ <p>Remote jmx connection user name.</p>
+ </attribute>
- <tr>
- <td>password</td>
- <td>remote jmx connection password.
- </td>
- <td></td>
- </tr>
+ <attribute name="password" required="false">
+ <p>Remote jmx connection password.</p>
+ </attribute>
- <tr>
- <td>ref</td>
- <td>Name of the internal connection referenz. With this attribute you can
- configure more the one connection inside the same ant projekt.
- </td>
- <td><code>jmx.server</code></td>
- </tr>
+ <attribute name="ref" required="false">
+ <p>Name of the internal connection reference. With this attribute you can
configure
+ more the one connection inside the same ant project. [jmx.server]</p>
+ </attribute>
- <tr>
- <td>echo</td>
- <td>Echo the command usage (for analyse access or debugging)
- </td>
- <td><code>false</code></td>
- </tr>
-
- <tr>
- <td>if</td>
- <td>Only execute if a property of the given name <b>exists</b> in
the current project.
- </td>
- <td></td>
- </tr>
+ <attribute name="echo" required="false">
+ <p>Echo the command usage (to analyze access or debugging).
[false]</p>
+ </attribute>
- <tr>
- <td>unless</td>
- <td>Only execute if a property of the given name <b>not exists</b>
in the current project.
- </td>
- <td></td>
- </tr>
+ <attribute name="if" required="false">
+ <p>Only execute if a property of the given name exists in the current
project.</p>
+ </attribute>
-</table>
-</p>
+ <attribute name="unless" required="false">
+ <p>Only execute if a property of the given name not exists in the current
project.</p>
+ </attribute>
+
+ </attributes>
+
<p>
Example to open a new jmx connection<br/>
<source>
@@ -303,69 +267,41 @@
-->
<section name="JMXAccessorGetTask: get attribute value ant task">
-<p>
-List of Attributes<br/>
-<table border="1" cellpadding="5">
- <tr>
- <th align="center" bgcolor="aqua">Attribute</th>
- <th align="center" bgcolor="aqua">Description</th>
- <th align="center" bgcolor="aqua">Default value</th>
- </tr>
+ <attributes>
- <tr>
- <td>name</td>
- <td>Full qualified JMX ObjectName -- <em>Catalina:type=Server</em>
- </td>
- <td></td>
- </tr>
+ <attribute name="name" required="false">
+ <p>Full qualified JMX ObjectName -- Catalina:type=Server</p>
+ </attribute>
- <tr>
- <td>attribute</td>
- <td>Existing Mbean attribute (see JBoss Web mbean description above)
- </td>
- <td></td>
- </tr>
+ <attribute name="attribute" required="false">
+ <p>Existing Mbean attribute (see JBoss Web mbean description
above).</p>
+ </attribute>
- <tr>
- <td>ref</td>
- <td>JMX Connection reference
- </td>
- <td><code>jmx.server</code></td>
- </tr>
+ <attribute name="ref" required="false">
+ <p>JMX Connection reference. [jmx.server]</p>
+ </attribute>
- <tr>
- <td>echo</td>
- <td>Echo command usage (access and result)
- </td>
- <td><code>false</code></td>
- </tr>
+ <attribute name="echo" required="false">
+ <p>Echo the command usage (to analyze access or debugging).
[false]</p>
+ </attribute>
- <tr>
- <td>resultproperty</td>
- <td>Save result at this project property
- </td>
- <td></td>
- </tr>
+ <attribute name="resultproperty" required="false">
+ <p>Save result at this project property.</p>
+ </attribute>
- <tr>
- <td>delimiter</td>
- <td>Split result with delimiter (java.util.StringTokenizier)
- and use resultproperty as prefix to store tokens.
- </td>
- <td></td>
- </tr>
+ <attribute name="delimiter" required="false">
+ <p>Split result with delimiter (java.util.StringTokenizier) and use
+ resultproperty as prefix to store tokens.</p>
+ </attribute>
- <tr>
- <td>separatearrayresults</td>
- <td>When return value is an array, save result as property list
- (<em>$resultproperty.[0..N]</em> and
<em>$resultproperty.lenght</em>)
- </td>
- <td><code>true</code></td>
- </tr>
+ <attribute name="separatearrayresults" required="false">
+ <p>When return value is an array, save result as property list
+ ($resultproperty.[0..N] and $resultproperty.lenght). [true]</p>
+ </attribute>
-</table>
-</p>
+ </attributes>
+
<p>
Example to get remote mbean attribute from default jmx connection <br/>
<source>
@@ -414,60 +350,34 @@
-->
<section name="JMXAccessorSetTask: set attribute value ant task">
-<p>
-List of Attributes<br/>
-<table border="1" cellpadding="5">
+ <attributes>
- <tr>
- <th align="center" bgcolor="aqua">Attribute</th>
- <th align="center" bgcolor="aqua">Description</th>
- <th align="center" bgcolor="aqua">Default value</th>
- </tr>
+ <attribute name="name" required="false">
+ <p>Full qualified JMX ObjectName -- Catalina:type=Server</p>
+ </attribute>
- <tr>
- <td>name</td>
- <td>Full qualified JMX ObjectName -- <em>Catalina:type=Server</em>
- </td>
- <td></td>
- </tr>
+ <attribute name="attribute" required="false">
+ <p>Existing Mbean attribute (see JBoss Web mbean description
above).</p>
+ </attribute>
- <tr>
- <td>attribute</td>
- <td>Existing Mbean attribute (see JBoss Web mbean description above)
- </td>
- <td></td>
- </tr>
+ <attribute name="value" required="false">
+ <p>Value to set to attribute.</p>
+ </attribute>
- <tr>
- <td>value</td>
- <td>value that set to attribute
- </td>
- <td></td>
- </tr>
+ <attribute name="type" required="false">
+ <p>Type of the attribute. [java.lang.String]</p>
+ </attribute>
- <tr>
- <td>type</td>
- <td>type of the attribute.
- </td>
- <td>java.lang.String</td>
- </tr>
+ <attribute name="ref" required="false">
+ <p>JMX Connection reference. [jmx.server]</p>
+ </attribute>
- <tr>
- <td>ref</td>
- <td>JMX Connection reference
- </td>
- <td><code>jmx.server</code></td>
- </tr>
+ <attribute name="echo" required="false">
+ <p>Echo the command usage (to analyze access or debugging).
[false]</p>
+ </attribute>
- <tr>
- <td>echo</td>
- <td>Echo command usage (access and result)
- </td>
- <td><code>false</code></td>
- </tr>
+ </attributes>
-</table>
-</p>
<p>
Example to set remote mbean attribute value<br/>
<source>
@@ -486,70 +396,40 @@
-->
<section name="JMXAccessorInvokeTask: invoke Mbean operation ant task">
-<p>
-List of Attributes<br/>
-<table border="1" cellpadding="5">
+ <attributes>
- <tr>
- <th align="center" bgcolor="aqua">Attribute</th>
- <th align="center" bgcolor="aqua">Description</th>
- <th align="center" bgcolor="aqua">Default value</th>
- </tr>
+ <attribute name="name" required="false">
+ <p>Full qualified JMX ObjectName -- Catalina:type=Server</p>
+ </attribute>
- <tr>
- <td>name</td>
- <td>Full qualified JMX ObjectName -- <em>Catalina:type=Server</em>
- </td>
- <td></td>
- </tr>
+ <attribute name="operation" required="false">
+ <p>Existing Mbean operation.</p>
+ </attribute>
- <tr>
- <td>operation</td>
- <td>Existing Mbean operation (see JBoss Web
- <a
href="funcspecs/fs-admin-opers.html">funcspecs/fs-admin-opers.html</a>.
- </td>
- <td></td>
- </tr>
+ <attribute name="ref" required="false">
+ <p>JMX Connection reference. [jmx.server]</p>
+ </attribute>
- <tr>
- <td>ref</td>
- <td>JMX Connection reference
- </td>
- <td><code>jmx.server</code></td>
- </tr>
+ <attribute name="echo" required="false">
+ <p>Echo the command usage (to analyze access or debugging).
[false]</p>
+ </attribute>
- <tr>
- <td>echo</td>
- <td>Echo command usage (access and result)
- </td>
- <td><code>false</code></td>
- </tr>
+ <attribute name="resultproperty" required="false">
+ <p>Save result at this project property.</p>
+ </attribute>
- <tr>
- <td>resultproperty</td>
- <td>Save result at this project property
- </td>
- <td></td>
- </tr>
+ <attribute name="delimiter" required="false">
+ <p>Split result with delimiter (java.util.StringTokenizier) and use
+ resultproperty as prefix to store tokens.</p>
+ </attribute>
- <tr>
- <td>delimiter</td>
- <td>Split result with delimiter (java.util.StringTokenizier)
- and use resultproperty as prefix to store tokens.
- </td>
- <td></td>
- </tr>
+ <attribute name="separatearrayresults" required="false">
+ <p>When return value is an array, save result as property list
+ ($resultproperty.[0..N] and $resultproperty.lenght). [true]</p>
+ </attribute>
- <tr>
- <td>separatearrayresults</td>
- <td>When return value is an array, save result as property list
- (<em>$resultproperty.[0..N]</em> and
<em>$resultproperty.lenght</em>)
- </td>
- <td><code>true</code></td>
- </tr>
+ </attributes>
-</table>
-</p>
<p>
stop an application <br/>
<source>
@@ -606,69 +486,40 @@
-->
<section name="JMXAccessorQueryTask: query Mbean ant task">
-<p>
-List of Attributes<br/>
-<table border="1" cellpadding="5">
+ <attributes>
- <tr>
- <th align="center" bgcolor="aqua">Attribute</th>
- <th align="center" bgcolor="aqua">Description</th>
- <th align="center" bgcolor="aqua">Default value</th>
- </tr>
+ <attribute name="name" required="false">
+ <p>Full qualified JMX ObjectName -- Catalina:type=Server</p>
+ </attribute>
- <tr>
- <td>name</td>
- <td>JMX ObjectName query string --
<em>Catalina:type=Manager,*</em>
- </td>
- <td></td>
- </tr>
+ <attribute name="ref" required="false">
+ <p>JMX Connection reference. [jmx.server]</p>
+ </attribute>
- <tr>
- <td>ref</td>
- <td>JMX Connection reference
- </td>
- <td><code>jmx.server</code></td>
- </tr>
+ <attribute name="echo" required="false">
+ <p>Echo the command usage (to analyze access or debugging).
[false]</p>
+ </attribute>
- <tr>
- <td>echo</td>
- <td>Echo command usage (access and result)
- </td>
- <td><code>false</code></td>
- </tr>
+ <attribute name="resultproperty" required="false">
+ <p>Save result at this project property.</p>
+ </attribute>
- <tr>
- <td>resultproperty</td>
- <td>Prefix project property name to all founded Mbeans
(<em>mbeans.[0..N].objectname</em>)
- </td>
- <td></td>
- </tr>
+ <attribute name="attributebinding" required="false">
+ <p>Bind ALL MBean attributes in addition to name. [false]</p>
+ </attribute>
- <tr>
- <td>attributebinduing</td>
- <td>bind ALL MBean attributes in addition to <em>name</em>
- </td>
- <td><code>false</code></td>
- </tr>
+ <attribute name="delimiter" required="false">
+ <p>Split result with delimiter (java.util.StringTokenizier) and use
+ resultproperty as prefix to store tokens.</p>
+ </attribute>
- <tr>
- <td>delimiter</td>
- <td>Split result with delimiter (java.util.StringTokenizier)
- and use resultproperty as prefix to store tokens.
- </td>
- <td></td>
- </tr>
+ <attribute name="separatearrayresults" required="false">
+ <p>When return value is an array, save result as property list
+ ($resultproperty.[0..N] and $resultproperty.lenght). [true]</p>
+ </attribute>
- <tr>
- <td>separatearrayresults</td>
- <td>When return value is an array, save result as property list
- (<em>$resultproperty.[0..N]</em> and
<em>$resultproperty.lenght</em>)
- </td>
- <td><code>true</code></td>
- </tr>
+ </attributes>
-</table>
-</p>
<p>
Get all Manager ObjectNames from all services and Hosts <br/>
<source>
@@ -737,55 +588,32 @@
-->
<section name="JMXAccessorCreateTask: remote create mbean ant task">
-<p>
-List of Attributes<br/>
-<table border="1" cellpadding="5">
+ <attributes>
- <tr>
- <th align="center" bgcolor="aqua">Attribute</th>
- <th align="center" bgcolor="aqua">Description</th>
- <th align="center" bgcolor="aqua">Default value</th>
- </tr>
+ <attribute name="name" required="false">
+ <p>Full qualified JMX ObjectName -- Catalina:type=Server</p>
+ </attribute>
- <tr>
- <td>name</td>
- <td>Full qualified JMX ObjectName --
<em>Catalina:type=MBeanFactory</em>
- </td>
- <td></td>
- </tr>
+ <attribute name="className" required="false">
+ <p>Existing MBean full qualified classname (see JBoss Web mbean description
above).</p>
+ </attribute>
- <tr>
- <td>className</td>
- <td>Existing MBean full qualified classname (see JBoss Web mbean description
above)
- </td>
- <td></td>
- </tr>
+ <attribute name="classLoader" required="false">
+ <p>ObjectName of server or web application classloader
+( Catalina:type=ServerClassLoader,name=[server,common,shared] or
+Catalina:type=WebappClassLoader,path=/myapps,host=localhost).</p>
+ </attribute>
- <tr>
- <td>classLoader</td>
- <td>ObjectName of server or web application classloader <br/>
- ( <em>Catalina:type=ServerClassLoader,name=[server,common,shared]</em>
or<br/>
- <em>Catalina:type=WebappClassLoader,path=/myapps,host=localhost</em>)
- </td>
- <td></td>
- </tr>
+ <attribute name="ref" required="false">
+ <p>JMX Connection reference. [jmx.server]</p>
+ </attribute>
- <tr>
- <td>ref</td>
- <td>JMX Connection reference
- </td>
- <td><code>jmx.server</code></td>
- </tr>
+ <attribute name="echo" required="false">
+ <p>Echo the command usage (to analyze access or debugging).
[false]</p>
+ </attribute>
- <tr>
- <td>echo</td>
- <td>Echo command usage (access and result)
- </td>
- <td><code>false</code></td>
- </tr>
+ </attributes>
-</table>
-</p>
<p>
Example to create remote mbean<br/>
<source>
@@ -810,39 +638,22 @@
-->
<section name="JMXAccessorUnregisterTask: remote unregister mbean ant
task">
-<p>
-List of Attributes<br/>
-<table border="1" cellpadding="5">
+ <attributes>
- <tr>
- <th align="center" bgcolor="aqua">Attribute</th>
- <th align="center" bgcolor="aqua">Description</th>
- <th align="center" bgcolor="aqua">Default value</th>
- </tr>
+ <attribute name="name" required="false">
+ <p>Full qualified JMX ObjectName -- Catalina:type=Server</p>
+ </attribute>
- <tr>
- <td>name</td>
- <td>Full qualified JMX ObjectName --
<em>Catalina:type=MBeanFactory</em>
- </td>
- <td></td>
- </tr>
+ <attribute name="ref" required="false">
+ <p>JMX Connection reference. [jmx.server]</p>
+ </attribute>
- <tr>
- <td>ref</td>
- <td>JMX Connection reference
- </td>
- <td><code>jmx.server</code></td>
- </tr>
+ <attribute name="echo" required="false">
+ <p>Echo the command usage (to analyze access or debugging).
[false]</p>
+ </attribute>
- <tr>
- <td>echo</td>
- <td>Echo command usage (access and result)
- </td>
- <td><code>false</code></td>
- </tr>
+ </attributes>
-</table>
-</p>
<p>
Example to unregister remote mbean<br/>
<source>
@@ -863,104 +674,59 @@
-->
<section name="JMXAccessorCondition: express condition">
-<p>
-List of Attributes<br/>
-<table border="1" cellpadding="5">
+ <attributes>
- <tr>
- <th align="center" bgcolor="aqua">Attribute</th>
- <th align="center" bgcolor="aqua">Description</th>
- <th align="center" bgcolor="aqua">Default value</th>
- </tr>
+ <attribute name="url" required="false">
+ <p>Set jmx connection url -
service:jmx:rmi:///jndi/rmi://localhost:8050/jmxrmi</p>
+ </attribute>
- <tr>
- <td>url</td>
- <td>Set jmx connection url -
<em>service:jmx:rmi:///jndi/rmi://localhost:8050/jmxrmi</em>
- </td>
- <td></td>
- </tr>
+ <attribute name="host" required="false">
+ <p>Set the host, shortcut the very long url syntax. [localhost]</p>
+ </attribute>
- <tr>
- <td>host</td>
- <td>Set the host, shortcut the very long url syntax.
- </td>
- <td><code>localhost</code></td>
- </tr>
+ <attribute name="port" required="false">
+ <p>Set the remote connection port. [8050]</p>
+ </attribute>
- <tr>
- <td>port</td>
- <td>Set the remote connection port
- </td>
- <td><code>8050</code></td>
- </tr>
+ <attribute name="username" required="false">
+ <p>Remote jmx connection user name.</p>
+ </attribute>
- <tr>
- <td>username</td>
- <td>remote jmx connection user name.
- </td>
- <td></td>
- </tr>
+ <attribute name="password" required="false">
+ <p>Remote jmx connection password.</p>
+ </attribute>
- <tr>
- <td>password</td>
- <td>remote jmx connection password.
- </td>
- <td></td>
- </tr>
+ <attribute name="ref" required="false">
+ <p>Name of the internal connection reference. With this attribute you can
configure
+ more the one connection inside the same ant project. [jmx.server]</p>
+ </attribute>
- <tr>
- <td>ref</td>
- <td>Name of the internal connection reference. With this attribute you can
- configure more the one connection inside the same ant projekt.
- </td>
- <td><code>jmx.server</code></td>
- </tr>
+ <attribute name="name" required="false">
+ <p>Full qualified JMX ObjectName -- Catalina:type=Server.</p>
+ </attribute>
- <tr>
- <td>name</td>
- <td>Full qualified JMX ObjectName -- <em>Catalina:type=Server</em>
- </td>
- <td></td>
- </tr>
+ <attribute name="echo" required="false">
+ <p>Echo the command usage (to analyze access or debugging).
[false]</p>
+ </attribute>
- <tr>
- <td>echo</td>
- <td>Echo condition usage (access and result)
- </td>
- <td><code>false</code></td>
- </tr>
+ <attribute name="if" required="false">
+ <p>Only execute if a property of the given name exists in the current
project.</p>
+ </attribute>
- <tr>
- <td>if</td>
- <td>Only execute if a property of the given name <b>exists</b> in
the current project.
- </td>
- <td></td>
- </tr>
+ <attribute name="unless" required="false">
+ <p>Only execute if a property of the given name not exists in the current
project.</p>
+ </attribute>
- <tr>
- <td>unless</td>
- <td>Only execute if a property of the given name <b>not exists</b>
in the current project.
- </td>
- <td></td>
- </tr>
+ <attribute name="value" required="true">
+ <p>Second arg for operation.</p>
+ </attribute>
- <tr>
- <td>value (requiered)</td>
- <td>Second arg for operation
- </td>
- <td></td>
- </tr>
+ <attribute name="type" required="false">
+ <p>Value type to express operation (supports long and double).
[long]</p>
+ </attribute>
- <tr>
- <td>type</td>
- <td>Value type to express operation (support <em>long</em> and
<em>double</em>)
- </td>
- <td><code>long</code></td>
- </tr>
-
- <tr>
- <td>operation</td>
- <td> express one
+ <attribute name="operation" required="false">
+ <p>Express one
<ul>
<li>== equals</li>
<li>!= not equals</li>
@@ -969,12 +735,11 @@
<li>< lesser than (&lt;)</li>
<li><= lesser than or equals (&lt;=)</li>
</ul>
- </td>
- <td><code>==</code></td>
- </tr>
+ [<code>==</code>]</p>
+ </attribute>
-</table>
-</p>
+ </attributes>
+
<p>
Wait for server connection and that cluster backup node is accessable<br/>
<source>
@@ -1007,76 +772,43 @@
-->
<section name="JMXAccessorEqualsCondition: equals Mbean ant condition">
-<p>
-List of Attributes<br/>
-<table border="1" cellpadding="5">
+ <attributes>
- <tr>
- <th align="center" bgcolor="aqua">Attribute</th>
- <th align="center" bgcolor="aqua">Description</th>
- <th align="center" bgcolor="aqua">Default value</th>
- </tr>
+ <attribute name="url" required="false">
+ <p>Set jmx connection url -
service:jmx:rmi:///jndi/rmi://localhost:8050/jmxrmi</p>
+ </attribute>
- <tr>
- <td>url</td>
- <td>Set jmx connection url -
<em>service:jmx:rmi:///jndi/rmi://localhost:8050/jmxrmi</em>
- </td>
- <td></td>
- </tr>
+ <attribute name="host" required="false">
+ <p>Set the host, shortcut the very long url syntax. [localhost]</p>
+ </attribute>
- <tr>
- <td>host</td>
- <td>Set the host, shortcut the very long url syntax.
- </td>
- <td><code>localhost</code></td>
- </tr>
+ <attribute name="port" required="false">
+ <p>Set the remote connection port. [8050]</p>
+ </attribute>
- <tr>
- <td>port</td>
- <td>Set the remote connection port
- </td>
- <td><code>8050</code></td>
- </tr>
+ <attribute name="username" required="false">
+ <p>Remote jmx connection user name.</p>
+ </attribute>
- <tr>
- <td>username</td>
- <td>remote jmx connection user name.
- </td>
- <td></td>
- </tr>
+ <attribute name="password" required="false">
+ <p>Remote jmx connection password.</p>
+ </attribute>
- <tr>
- <td>password</td>
- <td>remote jmx connection password.
- </td>
- <td></td>
- </tr>
+ <attribute name="ref" required="false">
+ <p>Name of the internal connection reference. With this attribute you can
configure
+ more the one connection inside the same ant project. [jmx.server]</p>
+ </attribute>
- <tr>
- <td>ref</td>
- <td>Name of the internal connection referenz. With this attribute you can
- configure more the one connection inside the same ant projekt.
- </td>
- <td><code>jmx.server</code></td>
- </tr>
+ <attribute name="name" required="false">
+ <p>Full qualified JMX ObjectName -- Catalina:type=Server.</p>
+ </attribute>
- <tr>
- <td>name</td>
- <td>Full qualified JMX ObjectName -- <em>Catalina:type=Server</em>
- </td>
- <td></td>
- </tr>
+ <attribute name="echo" required="false">
+ <p>Echo the command usage (to analyze access or debugging).
[false]</p>
+ </attribute>
+ </attributes>
- <tr>
- <td>echo</td>
- <td>Echo condition usage (access and result)
- </td>
- <td><code>false</code></td>
- </tr>
-
-</table>
-</p>
<p>
Wait for server connection and that cluster backup node is accessable<br/>
<source>