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
Post Details
Added on Nov 8 2002
3 comments
213 views