On Tue, 2008-07-01 at 09:16 -0500, Caldarale, Charles R wrote:
> > When, on the other hand, I'm running two requests to "/ls"
> > simultaneously, there is only one thread from the pool in
> > the doGet function.
>
> Any chance the client (or some overly helpful anti-DOS firewall)
> is serializing
Fredrik Tolf wrote:
When, on the other hand, I'm running two requests to "/ls"
simultaneously,
What tool do you use to perform requests? Regular web browser?
Try with something more 'generic' - wget or ab.
--
Mikolaj Rydzewski <[EMAIL PROTECTED]>
-
> From: Fredrik Tolf [mailto:[EMAIL PROTECTED]
> Subject: Re: Blocking threads in Tomcat
>
> There's no way I could be doing any such thing unknowingly,
> such as it being the default, right?
No, single-thread is not the default.
> When, on the other hand, I'm
interesting, can you provide your webapp + configs for download and test?
Leon
On Tue, Jul 1, 2008 at 3:16 PM, Fredrik Tolf <[EMAIL PROTECTED]> wrote:
> On Tue, 2008-07-01 at 08:46 +0200, Leon Rosenberg wrote:
>> Hello Frederic,
>>
>> unless you are using the SingleThreaded Model (and you shouldn
On Tue, 2008-07-01 at 08:46 +0200, Leon Rosenberg wrote:
> Hello Frederic,
>
> unless you are using the SingleThreaded Model (and you shouldn't)
> tomcat does no such thing.
There's no way I could be doing any such thing unknowingly, such as it
being the default, right?
> I assume the best way i
, July 01, 2008 6:11 AM
> To: Tomcat Users List
> Subject: Blocking threads in Tomcat
>
> Hi list!
>
> I've had some issues with requests not being carried out in
> parallel by Tomcat. My problem is that I haven't been able to
> figure out when a worker thread b
[mailto:[EMAIL PROTECTED]
> Sent: 01 July 2008 05:11
> To: Tomcat Users List
> Subject: Blocking threads in Tomcat
>
> Hi list!
>
> I've had some issues with requests not being carried out in
> parallel by
> Tomcat. My problem is that I haven't been able to figu
Hello Frederic,
unless you are using the SingleThreaded Model (and you shouldn't)
tomcat does no such thing.
I assume the best way is to show us your servlet code, or to check for
synchronized blocks in it.
regards
Leon
On Tue, Jul 1, 2008 at 6:11 AM, Fredrik Tolf <[EMAIL PROTECTED]> wrote:
> Hi
Hi list!
I've had some issues with requests not being carried out in parallel by
Tomcat. My problem is that I haven't been able to figure out when a
worker thread blocks and when it does not.
To try and pin down the behavior, I did a little experiment. I took a
servlet that I had, that handles to