hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Two-Way SSL Problem
Date Thu, 08 Jan 2009 19:09:43 GMT
Tim Williams wrote:
> I'm using the MultiThreadedConnectionManager with HttpClient and 2-way
> ssl similar to the example[1] and having problems.  The very first
> request goes through and returns HTTP 200 Ok.  All subsequent requests
> return HTTP 401.  This happens when I run this inside a webapp
> deployed in either glassfish or tomcat.  However, if I take the same
> code and run from within a simple driver "main" program, all calls to
> that same server succeed with no problems.  Oddly enough, this only
> happens when communicating with one particular Weblogic service -
> other servers allow multiple calls with the same fetcher code just
> fine.  Anyone have an idea what would make the first request go
> through go through properly but not subsequent ones?
> 

There is no way of telling without more details. Please post a wire log 
of the HTTP session to this list

http://hc.apache.org/httpclient-3.x/logging.html

Oleg


> Thanks,
> --tim
> 
> [1] - http://svn.apache.org/viewvc/httpcomponents/oac.hc3x/trunk/src/examples/MultiThreadedExample.java?view=markup
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message