Access Denied error while opening the deployed Application
Hi,
When I try to open my deployed application I get the following error:
weblogic.net.http.SOAPHttpsURLConnection
Im using the following code in my application:
URL wsURL = new URL(wsLocation + "?command=login");
So I went ahead and changed my code to this:
java.net.URL wsURL = new URL(null, wsLocation + "?command=login",new sun.net.www.protocol.https.Handler());
But I got the following error:
access denied (java.lang.RuntimePermission accessClassInPackage.sun.net.www.protocol.https)
Also I believe sun.* packages are not supported anymore on cloud. I think it might be because of this it failed the second time.
Is there any workaround for this?
Regards,
Abhishek