Hi all,
I was running some volume tests with Tomcat 3.2.3 using the 'ab' application that
comes with apache. I simulated diffent loads of concurrent users. If set the
concurrency to 5 it runs fine my Servlets, but if I set to more than 8, I got an
exception in the ThreadPool. Here is the message:
2001-07-26 19:00:14 - ThreadPool: Caught exception executing org.apache.tomcat.s
ervice.TcpWorkerThread@799ff5, terminating thread - java.util.NoSuchElementExcep
tion
at java.util.Vector.lastElement(Vector.java:454)
at org.apache.tomcat.util.ThreadPool.runIt(ThreadPool.java:234)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:
405)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java
:501)
at java.lang.Thread.run(Thread.java:484)
The error is reproducable. If anybody send a patch I can test it.
Thanks
Renato.
---------------------------------
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/