|
Hi all Just
wondering how to use acceptCount in the Connector class. Default example here
modified to show what I’m trying to test to understand how this works. <Connector
className="org.apache.coyote.tomcat4.CoyoteConnector" port="8443"
minProcessors="1" maxProcessors="1"
enableLookups="true"
acceptCount="2" debug="0" scheme="https"
secure="true"
useURIValidationHack="false"
disableUploadTimeout="true"> <Factory
className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
clientAuth="false" protocol="TLS" /> </Connector> I start
Tomcat with this setup and see that it has only one object in it’s connection pool
as expected. I have a
small servlet that just returns a number (incrementing) and has a forced pause
to simulate work being done. 2 seconds wait.
Q: Why did
browser 2 not get assigned the servlet that browser 1 freed up when it finished
the request Q: Does the
acceptCount does what I think it does? Thanks for
any help in understanding how this works. Donie |
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
