I've read the post. Probably this is the one :
https://coderanch.com/t/517692/Tomcat/understanding-connector-attributes. However it does not answer my question. My current problem is that the
connectionTimeout parameter is not taken into account. I have set it at 1 millisecond, so no request should be processed from my understanding. I have played a lot with those other parameters that I mentioned but still the behavior is strange. I had
maxThreads set to 100 and
acceptCount to 100. I tested with 250 users simultaneous, and I expected that at least 50 users get a connection refused. But they all passed.
The problems mentioned in the existing post that I read, are happening to me also. But I am trying to figure it out one at a time.
acceptCount did not work for me either., but i am expecting at least
connectionTimeout to work. The Tomcat documentation seems to be wrong. I also had a problem for creating a datasource in Tomcat. In documentation they wrote that we should add the "username" attribute, but it is actually just "user" ... (PS. I tried chaning the attribute names for connector in lowercase but did not work...)
Thanks