Hi!
Achim Demelt wrote:
> yes, the threads are spawned ASAP. I inserted a one-second sleep after
> starting each thread and --- who'd have thought that --- it works!
> BUT: since each invocation only takes a few milliseconds, the first thread
> will have sent all its 50 requests to the server and stopped again even
> before the next has had a chance to start because of the sleep.
>
> I wonder why the other app-servers can handle undelayed requests and jBoss
> cannot :-(
There are two separate issues here. First, a connection has to be
established. Second, it is used to handle requests. The delay you
introduced only helps with the connection establishing.
Try having this delay between each thread, and make 1000 requests in
each thread instead. See what happens.
regards,
Rickard
--
Rickard Öberg
Email: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]