From: Roodzant, M. <Mar...@Ge...> - 2006-06-15 13:24:59
|
Hi, I hope someone can point me in the right direction with the following. Our application (which was built with jdk1.3 and Cryptix-3.2.0.jar) sets = up a https connection. Now we have (finally) upgraded to 1.5. I did gather that Cryptix-3.2.0 should not be used in conjuction with = any jdk from 1.4 upwards. And I did put the following jars on the classpath (probably overdoing = things a bit) cryptix-jce-api.jar cryptix-jce-compat.jar cryptix-jce-provider.jar cryptix-jce-tests.jar As the jsse.jar is included with the jdk. I removed this jar from the = application classpath. All to no avail. Before and after doing all that the result is the = following stacktrace. java.lang.NoClassDefFoundError javax.crypto.Cipher.getInstance(DashoA12275) com.sun.net.ssl.internal.ssl.JsseJce.getCipher(JsseJce.java:90) com.sun.net.ssl.internal.ssl.RSACipher.<init>(RSACipher.java:35) com.sun.net.ssl.internal.ssl.RSACipher.getInstance(RSACipher.java:69) = com.sun.net.ssl.internal.ssl.PreMasterSecret.<init>(PreMasterSecret.java:= 82) = com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHelloDone(ClientHands= haker.java:514) = com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandsh= aker.java:160) = com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495) = com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:43= 3) = com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:= 815) = com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSoc= ketImpl.java:1025) = com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.j= ava:1038) = sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:405)= = sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Abs= tractDelegateHttpsURLConnection.java:170) = sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnec= tion.java:828) = com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl.get= OutputStream(HttpsURLConnectionOldImpl.java:200) nl.ibsp.utilities.util.http.HttpQuery.doRequest(HttpQuery.java:243) nl.ibsp.utilities.util.http.HttpQuery.doRequest(HttpQuery.java:126) nl.ibsp.utilities.util.http.HttpQuery.doRequest(HttpQuery.java:111) ... Obviously I am missing some jar here containing some class, but which. thanks for looking Marjon |