Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 17986 invoked from network); 30 Aug 2004 11:21:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 30 Aug 2004 11:21:24 -0000 Received: (qmail 53321 invoked by uid 500); 30 Aug 2004 11:21:18 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 53294 invoked by uid 500); 30 Aug 2004 11:21:17 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 53280 invoked by uid 99); 30 Aug 2004 11:21:17 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [195.186.4.74] (HELO mail4.bluewin.ch) (195.186.4.74) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 30 Aug 2004 04:21:16 -0700 Received: from mssbzhb-int.msg.bluewin.ch (195.186.1.230) by mail4.bluewin.ch (Bluewin AG 7.0.030.2) id 412F8F0F0003BBDA for commons-user@jakarta.apache.org; Mon, 30 Aug 2004 11:21:14 +0000 Received: from [172.21.1.217] by mssbzhb-int.msg.bluewin.ch with HTTP; Mon, 30 Aug 2004 11:21:13 +0000 Date: Mon, 30 Aug 2004 13:21:13 +0200 Message-ID: <412EB53F00016661@mssbzhb-int.msg.bluewin.ch> In-Reply-To: From: olegk@bluewin.ch Subject: RE: [httpClient] ClassLoader problem To: "Jakarta Commons Users List" MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Mailer: Bluewin WebMail / BlueMail X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Sascha, I believe you can work this problem around by providing a custom socket factory that creates secure sockets using IAIK SSL directly, rather than through the JSSE. See the HttpClient SSL guide for details http://jakarta.apache.org/commons/httpclient/sslguide.html I have been using HttpClient with IAIK SSL in production for three years. It just takes a custom socket factory to get them coexist quite well. On the classloader issue, HttpClient 2.0.x does not load classes dynamically. So there's no way to get it to use another classloader Hope this helps Oleg >-- Original Message -- >Reply-To: "Jakarta Commons Users List" >Subject: [httpClient] ClassLoader problem >Date: Mon, 30 Aug 2004 11:45:38 +0200 >From: "Benkart Sascha (QI/SES1) *" >To: > > >Hi, > >I'm using httpClient v2.0.1 with webMethods' Integration Server (IS). IS >= >uses code units called packages to add functionality at runtime. >I add httpclient to a package and everytime I execute with SSL, I get a = >javax.crypto.Cipher ClassNotFoundException. IS uses its own = >JCE-implementation from company IAIK.=20 >There's no problem to create a new Cipher object within my package, but = >within httpClient. I think there's a ClassLoader problem. > >Is there a possibility to give the httpClient another ClassLoader? I = >only found instanciation of class Cipher in class NTLM, but I don't use = >NTLM. > >Thanks, >Sascha > >--------------------------------------------------------------------- >To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: commons-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org