Skip to Main Content

java.net.MalformedURLException: unknown protocol: https

34892Nov 8 2002
Hi,

i need a sample that works on Oracle 9.2 Server:

HTTPS / Oracle 9.2 get Url.


this error occurs inside Oracle-JVM
java.net.MalformedURLException: unknown protocol: https

stand alone with Jdeveloper it works


Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
System.setProperty"java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");

System.setProperty("https.proxyHost", proxyHost);
System.setProperty("https.proxyPort", proxyPort);
System.setProperty("https.proxySet", proxySet);

URL url = new URL(UPSUrl);
HttpURLConnection urlcon=(HttpURLConnection) url.openConnection();

regards Thomas
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked due to inactivity on Dec 9 2002
Added on Nov 8 2002
3 comments
218 views