Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
Platform as a Service (PaaS)
Oracle Java Cloud Service
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: May 28, 2013 7:09 AM by
Access Denied error while opening the deployed Application
May 28, 2013 7:09 AM
When I try to open my deployed application I get the following error:
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?
This content has been marked as final.
Show 0 replies