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: SSL code no longer working on HttpClient 3.01. worked on 2.0
Date Tue, 30 May 2006 20:29:23 GMT
On Mon, 2006-05-29 at 21:41 -0400, Li, Francis wrote:
> Hi there, 
> 
> Do you know why? Same code worked in Httpclient 2.0.  We need to use SUN
> JSSE in 2.0 on linux, see java.security. 
> 
> 
> Env.
> 
> Window XP.
> 
> WSAD 5.12 
> 
> Websphere base server 5.1 
> 
> JDK 1.4.1
> 

Francis,

This appears to be a bug in IBM JSSE (NPE is thrown in one of the
com.ibm.jsse classes). Please make sure that you have all the latest
Websphere fix packs applied and IBMJSSE is at least at version 1.0.3

Hope this helps,

Oleg


> Exception:
> 
> [5/29/06 20:36:25:729 EDT] 6b198c1b SystemErr     R
> java.lang.NullPointerException
> [5/29/06 20:36:25:729 EDT] 6b198c1b SystemErr     R 	at
> com.ibm.jsse.bg.setTcpNoDelay(Unknown Source)
> [5/29/06 20:36:25:729 EDT] 6b198c1b SystemErr     R 	at
> org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:72
> 0)
> [5/29/06 20:36:25:729 EDT] 6b198c1b SystemErr     R 	at
> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpCon
> nectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321)
> [5/29/06 20:36:25:745 EDT] 6b198c1b SystemErr     R 	at
> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMe
> thodDirector.java:386)
> [5/29/06 20:36:25:745 EDT] 6b198c1b SystemErr     R 	at
> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMetho
> dDirector.java:170)
> [5/29/06 20:36:25:745 EDT] 6b198c1b SystemErr     R 	at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:3
> 96)
> [5/29/06 20:36:25:745 EDT] 6b198c1b SystemErr     R 	at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:3
> 24) 
> 
> 
> Java.security.
> 
> security.provider.1=sun.security.provider.Sun
> security.provider.2=com.sun.net.ssl.internal.ssl.Provider
> security.provider.3=com.ibm.crypto.provider.IBMJCE
> security.provider.4=com.ibm.jsse.IBMJSSEProvider
> security.provider.5=com.ibm.security.jgss.IBMJGSSProvider
> security.provider.6=com.ibm.security.cert.IBMCertPath
> security.provider.7=com.ibm.crypto.pkcs11.provider.IBMPKCS11


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


Mime
View raw message