If you use jdk 1.4 or jsse (don't know if that is part of the current tomcat distribution), I guess that java.net.URL finds sun's HttpsURLConnectionImpl before your for the iaik class/jar.
Either make shure that your lib is found before those or just use sun's implementation. (See: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html) > -----Urspr�ngliche Nachricht----- > Von: Luca Ventura [mailto:[EMAIL PROTECTED]] > Gesendet: Freitag, 28. Juni 2002 10:35 > An: tomcat-user; tomcat-dev > Betreff: HELP! iSaSiLk 3.04 and Tomcat4 > The problem is that when my servlet tries to connect to a > secure site (like "https://jcewww.iaik.at/") > I receive a strange error: > > java.lang.ClassCastException: > sun.net.www.protocol.https.HttpsURLConnectionImpl > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
