RE: [Bug 13463] - Request/Response race condition when doing multiple requests on the same connection.

2003-02-24 Thread Aurelien Pernoud

Hmm I have a beginning of explanation, though I don't understand why this
may cause the test to fail.

I was running Tomcat via JBuilder, and using the -classic option (for
debug mode).
Removing this option, the test goes fine, nothing is logged (no INFO, no
WARN). With -classic, it fails.
Do you know why ?

But I still don't understand why I have some exceptions running my webapps
in real separated tomcat... I've checked them, they don't have the
-classic option enabled, and I use the httpclient lib the same way I use
it in the testcase.
I'll check my code again and try to find what's happening there.

Aurelien Pernoud a écrit :

 Well yes when I tried it Friday it failed a lot, I got some responses
 exchanged (error : I asked for 458 and I got 269 for example)...

 I'll retest it today, but It sure did fail, or maybe I drank too
 much, but usually I don't at work... :))

 I too tested it in tomcat 4.1.18, weird.

 [EMAIL PROTECTED] a écrit :

 19:24 --- I have tried this new test case, but it seems to work
 fine for me.  I'm running the servet in Tomcat 4.1.18 and have tried
 it with 1000 concurrent requests. Does this test fail for you?

 Mike


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Bug 13463] - Request/Response race condition when doing multiple requests on the same connection.

2003-02-24 Thread Michael Becke
Is this classic option the JVM -classic flag?

Mike

On Monday, February 24, 2003, at 04:45 AM, Aurelien Pernoud wrote:

Hmm I have a beginning of explanation, though I don't understand why 
this
may cause the test to fail.

I was running Tomcat via JBuilder, and using the -classic option (for
debug mode).
Removing this option, the test goes fine, nothing is logged (no INFO, 
no
WARN). With -classic, it fails.
Do you know why ?

But I still don't understand why I have some exceptions running my 
webapps
in real separated tomcat... I've checked them, they don't have the
-classic option enabled, and I use the httpclient lib the same way I 
use
it in the testcase.
I'll check my code again and try to find what's happening there.

Aurelien Pernoud a écrit :

Well yes when I tried it Friday it failed a lot, I got some responses
exchanged (error : I asked for 458 and I got 269 for example)...
I'll retest it today, but It sure did fail, or maybe I drank too
much, but usually I don't at work... :))
I too tested it in tomcat 4.1.18, weird.

[EMAIL PROTECTED] a écrit :
19:24 --- I have tried this new test case, but it seems to work
fine for me.  I'm running the servet in Tomcat 4.1.18 and have tried
it with 1000 concurrent requests. Does this test fail for you?
Mike


-
To unsubscribe, e-mail: 
[EMAIL PROTECTED]
For additional commands, e-mail: 
[EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: [Bug 13463] - Request/Response race condition when doing multiple requests on the same connection.

2003-02-23 Thread Aurelien Pernoud

Well yes when I tried it Friday it failed a lot, I got some responses
exchanged
(error : I asked for 458 and I got 269 for example)...

I'll retest it today, but It sure did fail, or maybe I drank too much, but
usually I don't at work... :))

I too tested it in tomcat 4.1.18, weird.

[EMAIL PROTECTED] a écrit :

 19:24 --- I have tried this new test case, but it seems to work
 fine for me.  I'm running the servet in Tomcat 4.1.18 and have tried
 it with 1000 concurrent requests. Does this test fail for you?

 Mike


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [Bug 13463] - Request/Response race condition when doing multiple requests on the same connection.

2003-02-21 Thread Aurelien Pernoud

Well, as some changes have been made to httpmethodbase between yesterday
evening, and lines changed were about connection, I tried with current CVS,
still the same :(

I have a little time this afternoon, so I'll try to write a test case, but
this test case may need a servlet on the other part (to maintain session).

 14:26 --- I've retested my webapp using CVS from yesterday
 evening, and I still have many exceptions of this type :
 Error in parsing the
 status  line from the response: unable to find line starting with
 HTTP/

 I compared my new sources to my old ones that were using
 HttpMultiClient, they're identical in term of using httpclient lib.
 Except the new one is using HttpMultiThreadConnectionManager instead
 of HttpMultiClient

 The old one never throws HttpException, and in the new one, while
 testing a great number of users using Opensta, if I open a browser
 myself and try to see what happens, I sometimes have the exception
 aboved and sometimes streams are being exchanged one another (looks
 like the original request/race bug where a getresponsebodyasstream is
 not returning the good stream...)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [Bug 13463] - Request/Response race condition when doing multiple requests on the same connection.

2003-02-17 Thread Michael Becke
Thx to everyone for help, and sorry Mike I made you spend some time on 
it, I
hate it :

Not to worry.  You've discovered some legitimate bugs in HttpClient's 
multi-threaded support.

Mike


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [Bug 13463] - Request/Response race condition when doing multiple requests on the same connection.

2003-02-17 Thread Aurelien Pernoud

Michael Becke a ecrit :

 Thx to everyone for help, and sorry Mike I made you spend some time
 on it, I hate it :

 Not to worry.  You've discovered some legitimate bugs in HttpClient's
 multi-threaded support.

 Mike

I just downloaded and compiled httpclient from current cvs, I'll try your
new ConnectionManager to see if it solves my last troubles.

Again, thanks for such a reactivity.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]