Skip to Main Content

Cloud Platform

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Access Denied error while opening the deployed Application

1011365May 28 2013
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

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 25 2013
Added on May 28 2013
0 comments
983 views