Return-Path: Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: (qmail 46709 invoked from network); 29 Nov 2009 01:44:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Nov 2009 01:44:31 -0000 Received: (qmail 71064 invoked by uid 500); 29 Nov 2009 01:44:30 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 71022 invoked by uid 500); 29 Nov 2009 01:44:30 -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 71012 invoked by uid 99); 29 Nov 2009 01:44:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Nov 2009 01:44:30 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Nov 2009 01:44:21 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NEYpU-0003yF-GW for httpclient-users@hc.apache.org; Sat, 28 Nov 2009 17:44:00 -0800 Message-ID: <26558715.post@talk.nabble.com> Date: Sat, 28 Nov 2009 17:44:00 -0800 (PST) From: 317070 To: httpclient-users@hc.apache.org Subject: new ThreadSafeClientConnManager(...) freezes. MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4115_4516197.1259459040505" X-Nabble-From: erstaateenknolraapinmijntuin@gmail.Com X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_4115_4516197.1259459040505 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, In my code, I do this: System.out.println("yes1"); HttpParams params = new BasicHttpParams(); ConnManagerParams.setMaxTotalConnections(params, 100); HttpProtocolParams.setVersion(params, HttpVersion.HTTP_1_1); System.out.println("yes2"); SchemeRegistry schemeRegistry = new SchemeRegistry(); System.out.println("yes3"); schemeRegistry.register(new Scheme("http", PlainSocketFactory.getSocketFactory(), 80)); System.out.println("yes4"); ClientConnectionManager cm = new ThreadSafeClientConnManager(params,schemeRegistry); System.out.println("yes5"); But when my program is moved into jars, I never get to see the "yes5" message, nor is there any error or exception thrown, the thread just holds there. It is like the new ThreadSafeClientConnManager(...) command freezes. This doesn't occure in my Eclipse IDE. Does someone know what could cause this, because it is driving me insane at the moment, and I don't see a way out... Greets, Jonas -- View this message in context: http://old.nabble.com/new-ThreadSafeClientConnManager%28...%29-freezes.-tp26558715p26558715.html Sent from the HttpClient-User mailing list archive at Nabble.com. ------=_Part_4115_4516197.1259459040505--