From: kkolinko (byte)Value between NoteOn some JDK versions, setting
+ Note: On some JDK versions, setting
soTrafficClass causes a problem. A work around for this
is to add the The following command line options are available for the NIO
connector:0 and 255 for the
traffic class on the socket. JVM default used if not set.-Djava.net.preferIPv4Stack=true value to your
JVM options.
-Dorg.apache.tomcat.util.net.NioSelectorShared=true|false
- - default is true. 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 true. Set this value to false if you wish to
+ use a selector for each thread. When you set it to false, you can
control the size of the pool of selectors by using the
- selectorPool.maxSelectors attribute.