Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: loadjava and Java version

Re: loadjava and Java version

From: Rauf Sarwar <rs_arwar_at_hotmail.com>
Date: 7 Aug 2006 08:38:42 -0700
Message-ID: <1154965122.848409.258560@i42g2000cwa.googlegroups.com>

MountainOaf_at_gmail.com wrote:
> The Java now compiles with the database, but I now have a further
> problem. When I try and run my Java procedure, I get the following
> error message:
>
> ORA-29532: Java call terminated by uncaught Java exception:
> java.net.MalformedURLException: unknown protocol: https
> ORA-06512: at line 9
>
> The procedure is attempting to contact a remote server using the HTTPS
> protocol:
>
> URL url = new URL("https://<<myurl>>");
> URLConnection urlConnection = url.openConnection();
>
> I've checked the URL and can successfully get to the remote server in
> question using a normal browser.
>
> Oracle version 8.1.7.
> Java version 1.2.1.
>
> Many thanks for any assistance.

Your browser may be able to handle https calls but java 1.2.1 won't. You need to use Java Secure Socket Extension (JSSE) from http://java.sun.com/products/jsse/ to get this to work.

Regards
/Rauf Received on Mon Aug 07 2006 - 10:38:42 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US