How Test the experimental NIO Socket

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How Test the experimental NIO Socket

Mauricio Nuñez
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

[hidden email]




---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: How Test the experimental NIO Socket

Bill Barker-2
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" <[hidden email]>
To: "Tomcat Developers List" <[hidden email]>
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

[hidden email]




---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]





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: [hidden email]
For additional commands, e-mail: [hidden email]