Problems with moving from 1.3 to 1.4

I am running java procedures which are stored on an oracle database. Originally, we had Oracle 9i, which comes with a 1.3 JVM. We tried to implement JSSE by loading in the 3 jar files that are required, and following all of the instructions.

This led to a dead end, so we persuaded our superiors to upgrade to 10g. This comes with a 1.4 JVM. Now I get an exception: NoClassDefFoundError when I try to cast a URLConnection to a HttpsUrlConnection like so:httpsUrlConn = (HttpsURLConnection)Fimars.openConnection();

where Fimars is a URL object.

I removed the 3 old jsse.zip jar files and tried again, but this time it doesn't recognize SSLSession, and I can't find it anywhere in the java files.

If anyone has any suggestions, please let me know.

Thanks,

Wes

[804 byte] By [wesley.holevinskia] at [2007-10-3 9:22:37]
# 1
To migrate from 1.3 with JSSE to 1.4, remove from your code:- any import from com.sun.*- anything to do with setting the JSSE providerHttpsURLConnection is now in javax.net.ssl.
ejpa at 2007-7-15 4:36:18 > top of Java-index,Security,Java Secure Socket Extension (JSSE)...
# 2

I removed the JSSE files that were formerly loaded in when 1.3 was being implemented (These include jsse.jar,jnet.jar, and jcert.jar). Previously, I had to load these three files into the database using the Java Manager that came with the TOAD, the database software I'm using. I removed any imports of com.sun.anything. I also removed any system.setProperty that were formerly used. Now it says it can't find SSLSession. If anyone knows how to fix this please help...if not, does anyone know how to reset the JVM on an Oracle database back to its defaults?

Thanks

wesley.holevinskia at 2007-7-15 4:36:18 > top of Java-index,Security,Java Secure Socket Extension (JSSE)...
# 3
import javax.net.ssl.*
ejpa at 2007-7-15 4:36:18 > top of Java-index,Security,Java Secure Socket Extension (JSSE)...