Return-Path: Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: (qmail 16346 invoked from network); 8 Jan 2009 19:10:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jan 2009 19:10:22 -0000 Received: (qmail 61291 invoked by uid 500); 8 Jan 2009 19:10:22 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 61261 invoked by uid 500); 8 Jan 2009 19:10:21 -0000 Mailing-List: contact httpclient-users-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-users@hc.apache.org Received: (qmail 61245 invoked by uid 99); 8 Jan 2009 19:10:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2009 11:10:21 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [217.150.250.44] (HELO ok2consulting.nine.ch) (217.150.250.44) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2009 19:10:12 +0000 Received: by ok2consulting.nine.ch (Postfix, from userid 1002) id E667419855F; Thu, 8 Jan 2009 20:09:50 +0100 (CET) Received: from [192.168.1.100] (84-75-111-165.dclient.hispeed.ch [84.75.111.165]) by ok2consulting.nine.ch (Postfix) with ESMTP id 7F561198559 for ; Thu, 8 Jan 2009 20:09:48 +0100 (CET) Message-ID: <49664F77.1020304@apache.org> Date: Thu, 08 Jan 2009 20:09:43 +0100 From: Oleg Kalnichevski User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: HttpClient User Discussion Subject: Re: Two-Way SSL Problem References: <499888440901080759w27a0421byb810ea3ee7f9ee72@mail.gmail.com> In-Reply-To: <499888440901080759w27a0421byb810ea3ee7f9ee72@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on ok2consulting.nine.ch X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.3 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