hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o..@eviware.com
Subject problem with commons-ssl-0.3.0
Date Tue, 14 Nov 2006 15:10:40 GMT
Hi all,

strange problem; after switching to commons-ssl-0.3.0 from a previous snapshot release we
get the following classcastexception;

java.lang.ClassCastException: java.net.Socket 
 at org.apache.commons.ssl.SSL.createSocket(SSL.java:358) 
 at org.apache.commons.ssl.SSLClient.createSocket(SSLClient.java:206) 
 at org.apache.commons.httpclient.HttpConnection.tunnelCreated(HttpConnection.java:785) 
atorg.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.tunnelCreated(MultiThreadedHttpConnectionManager.java:1481)

 at org.apache.commons.httpclient.HttpMethodDirector.executeConnect(HttpMethodDirector.java:513)

 at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:390)

 at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)

 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) 

when executing a PostMethod for an SSL connection with a custom truststore. When reverting
back to a pre-0.3.0 version of commons-ssl it works..

any ideas? 

regards,

/Ole
eviware.com



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message