Author: kkolinko
Date: Fri Apr 1 14:30:25 2011
New Revision: 1087720
URL: http://svn.apache.org/viewvc?rev=1087720&view=rev
Log:
Correct typos in description of NIO connector in config/http.html, especially
in TC6.
An attribute is called "processorCache", not "processCache".
Modified:
tomcat/tc6.0.x/trunk/webapps/docs/config/http.xml
tomcat/trunk/webapps/docs/config/http.xml
Modified: tomcat/tc6.0.x/trunk/webapps/docs/config/http.xml
URL:
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/config/http.xml?rev=1087720&r1=1087719&r2=1087720&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/webapps/docs/config/http.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/config/http.xml Fri Apr 1 14:30:25 2011
@@ -409,7 +409,7 @@
<p>The NIO connector exposes all the low level socket properties that can
be used to tune the connector.
Most of these attributes are directly linked to the socket implementation
in the JDK so you can find out
about the actual meaning in the JDK API documentation.<br/>
- <strong>Note</strong>On some JDK versions, setTrafficClass causes a
problem, a work around for this is to add
+ <strong>Note:</strong> On some JDK versions, setTrafficClass causes a
problem, a work around for this is to add
the <code>-Djava.net.preferIPv4Stack=true</code> value to your command
line</p>
<attributes>
@@ -466,7 +466,7 @@
<attribute name="useComet" required="false">
<p>(bool)Whether to allow comet servlets or not, Default value is
<code>true</code>.</p>
</attribute>
- <attribute name="processCache" required="false">
+ <attribute name="processorCache" required="false">
<p>(int)The protocol handler caches Http11NioProcessor objects to
speed up performance.
This setting dictates how many of these objects get cached.
<code>-1</code> means unlimited, default is <code>200</code>. Set
this value somewhere close to your maxThreads value.
@@ -586,10 +586,11 @@
</attribute>
<attribute name="command-line-options" required="false">
<p>The following command line options are available for the NIO
connector:<br/>
- <code>-Dorg.apache.tomcat.util.net.NioSelectorShared=true|false</code>
- default is <code>true</code>.
- Set this value to false if you wish to use a selector for each thread.
- the property. If you do set it to false, you can control the size of
the pool of selectors by using the
- selectorPool.maxSelectors attribute</p>
+ <code>-Dorg.apache.tomcat.util.net.NioSelectorShared=true|false</code>
+ - default is <code>true</code>. Set this value to <code>false</code>
if you wish to
+ use a selector for each thread. When you set it to <code>false</code>,
you can
+ control the size of the pool of selectors by using the
+ <strong>selectorPool.maxSelectors</strong> attribute</p>
</attribute>
<attribute name="oomParachute" required="false">
<p>(int)The NIO connector implements an OutOfMemoryError strategy
called parachute.
Modified: tomcat/trunk/webapps/docs/config/http.xml
URL:
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/http.xml?rev=1087720&r1=1087719&r2=1087720&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/config/http.xml (original)
+++ tomcat/trunk/webapps/docs/config/http.xml Fri Apr 1 14:30:25 2011
@@ -519,7 +519,7 @@
<attribute name="socket.soTrafficClass" required="false">
<p>(byte)Value between <code>0</code> and <code>255</code> for the
traffic class on the socket. JVM default used if not set.</p>
- <p><strong>Note</strong>On some JDK versions, setting
+ <p><strong>Note:</strong> On some JDK versions, setting
<strong>soTrafficClass</strong> causes a problem. A work around for
this
is to add the <code>-Djava.net.preferIPv4Stack=true</code> value to
your
JVM options.</p>
@@ -687,10 +687,10 @@
<p>The following command line options are available for the NIO
connector:<br/>
<code>-Dorg.apache.tomcat.util.net.NioSelectorShared=true|false</code>
- - default is <code>true</code>. Set this value to false if you wish to
- use a selector for each thread. If you do set it to false, you can
+ - default is <code>true</code>. Set this value to <code>false</code>
if you wish to
+ use a selector for each thread. When you set it to <code>false</code>,
you can
control the size of the pool of selectors by using the
- <strong>selectorPool.maxSelectors attribute</strong>.</p>
+ <strong>selectorPool.maxSelectors</strong> attribute.</p>
</attribute>
<attribute name="oomParachute" required="false">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]