By Date: <-- -->
By Thread: <-- -->

Using a custom connector in Tomcat 5.5



HI Mladen,

good way! But sometimes the changes are inside the Adapter Class and then you must change the connector class.

+1 to have the attribute className back

Peter




Am 17.10.2006 um 09:36 schrieb Mladen Turk:

Jacob Marcus wrote:
Hi,
The examples no longer show the className attribute for the Connector
element in the server.xml. Is this not supported any more?
In the past, I have done used my own connector as shown in the example
below.
<Connector port="8080" maxHttpHeaderSize="8192" className="
com.hello.MyConnector"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" />
I could not find the relevant documentation on this possible change. I will
appreciate any pointers.

Use the protocol="com.hello.MyConnector" instead className, or you can use protocolHandlerClassName.

Regards,
Mladen.

---------------------------------------------------------------------
To start a new topic, e-mail: users (at) tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org
For additional commands, e-mail: users-help (at) tomcat.apache.org