Ortwin Gluck a ecrit :

> Aurelien Pernoud wrote:
>> Wow... looks like I tried to optimize my code a little too much...
>> I'm really sorry, I've just found out that when two users logged in
>> using the same login/password, they were sharing methods.
>
> Are you using instance variables in a JSP? If yes, don't.

Well, I was making two distants servlet "interact" using httpclient, and I
found out that if the same user logged twice, it would use the same
instances of methods to get the content from other webapp. Removing the
private methods used, It works much better, but I still have those kinds of
logs when making multiple calls simultaneously :

INFO - Recoverable exception caught when writing request
And sometimes I have the header parsing error :
Error in parsing the
status  line from the response: unable to find line starting with "HTTP...

I'll try the new connectionmanager Mike wrote with a nightly build to see if
this solves my last trouble.


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

Reply via email to