Hi there,

I try to use httpclient-2 to access an SSL page using httpclient and
this works very well on all sun-jvms I've tested (1.4.2 and latest
mustang snapshot) but on IBM it complains that it can't find the
following class: "com/sun/net/ssl/SSLContext" which is sun-internal
and therefor ok.
Any idea how I could get the program multi-jvm-vendor compatible?

Thank you in advance, lg Clemens


This is the full stack-trace of the execption which is thrown on IBM-1.4.2:
java.lang.NoClassDefFoundError: com/sun/net/ssl/SSLContext
        at 
org.apache.commons.httpclient.contrib.ssl.EasySSLProtocolSocketFactory.getEasySSLSocketFactory(EasySSLProtocolSocketFactory.java:119)
        at 
org.apache.commons.httpclient.contrib.ssl.EasySSLProtocolSocketFactory.createSocket(EasySSLProtocolSocketFactory.java:156)
        at 
org.apache.commons.httpclient.HttpConnection$1.doit(HttpConnection.java:659)
        at 
org.apache.commons.httpclient.HttpConnection$SocketTask.run(HttpConnection.java:1267)
        at java.lang.Thread.run(Thread.java:568)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to