The simplest is with: <Connector protocol="AJP/1.3" port="0" channelNioSocket.port="8009" channelNioSocket.maxThreads="250" channelNioSocket.maxSpareThreads="50" channelNioSocket.minSpareThreads="25" channelNioSocket.bufferSize="16384" />
(of course, tune the values for your system). You can also configure this in jk2.properties via: <Connector protocol="AJP/1.3" propertiesFile="conf/jk2.properties" /> All of this assumes that libtcnative.so isn't on your java.library.path. Otherwise, you need to set the protocol in the examples above to protocol="org.apache.jk.server.JkCoyoteHandler". ----- Original Message ----- From: "Mauricio Nuñez" <[EMAIL PROTECTED]> To: "Tomcat Developers List" <tomcat-dev@jakarta.apache.org> Sent: Wednesday, July 27, 2005 1:51 PM Subject: How Test the experimental NIO Socket Hi developers! I want to test the NIO Socket, but i'm only getting that via jconsole (JMX), updating the property file of the JkMain MBean. Initially, that is null, then don't read the jk2.properties. There are another approach ? ( editing server.xml , for example ) Thanks Mauricio Nuñez [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message is intended only for the use of the person(s) listed above as the intended recipient(s), and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not an intended recipient, you may not read, copy, or distribute this message or any attachment. If you received this communication in error, please notify us immediately by e-mail and then delete all copies of this message and any attachments. In addition you should be aware that ordinary (unencrypted) e-mail sent through the Internet is not secure. Do not send confidential or sensitive information, such as social security numbers, account numbers, personal identification numbers and passwords, to us via ordinary (unencrypted) e-mail. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]