The Artima Developer Community
Sponsored Link

Java Answers Forum
Pl. help java.security.AccessControlException: access denied

1 reply on 1 page. Most recent reply: Jun 28, 2003 5:14 PM by zenykx

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
nitish

Posts: 1
Nickname: nithsh
Registered: Jun, 2003

Pl. help java.security.AccessControlException: access denied Posted: Jun 18, 2003 9:55 PM
Reply to this message Reply
Advertisement
I am getting the exception, Pl. help me to resolve the problem.
java.security.AccessControlException: access denied (java.net.SocketPermission resolve)

at java.security.AccessControlContext.checkPermission(AccessControlContext.java:27 0)

at java.security.AccessController.checkPermission(AccessController.java:401)

at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)

at java.lang.SecurityManager.checkConnect(SecurityManager.java:1042)

at java.net.InetAddress.getAllByName0(InetAddress.java:909)

at java.net.InetAddress.getAllByName0(InetAddress.java:890)

at java.net.InetAddress.getAllByName(InetAddress.java:884)

at java.net.InetAddress.getByName(InetAddress.java:814)

at sun.net.www.protocol.http.HttpURLConnection.getHttpProxyAuthentication(HttpURLC onnection.java:865)

at sun.net.www.protocol.http.HttpURLConnection.resetProxyAuthentication(HttpURLCon nection.java:753)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.ja va:576)

at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection .java:369)

at sun.net.www.protocol.http.HttpURLConnection.getHeaderFields(HttpURLConnection.j ava:1146)

at sun.plugin.net.protocol.http.HttpURLConnection.checkCookieHeader(HttpURLConnect ion.java:330)

at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection .java:367)

at sun.plugin.net.protocol.http.HttpUtils.followRedirects(HttpUtils.java:39)

at sun.plugin.cache.CachedFileLoader.download(CachedFileLoader.java:250)

at sun.plugin.cache.CachedFileLoader.load(CachedFileLoader.java:109)

at sun.plugin.cache.FileCache.get(FileCache.java:146)

at sun.plugin.net.protocol.http.HttpURLConnection.connectWithCache(HttpURLConnecti on.java:213)

at sun.plugin.net.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1 47)

at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection .java:361)

at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.ja va:1157)

at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:246)

at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:250)

at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:42)

at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:143)

at java.security.AccessController.doPrivileged(Native Method)

at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:140)

at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:189)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114)

at java.lang.ClassLoader.loadClass(ClassLoader.java:262)

at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:501)

at sun.applet.AppletPanel.createApplet(AppletPanel.java:548)

at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1627)

at sun.applet.AppletPanel.runLoader(AppletPanel.java:477)

at sun.applet.AppletPanel.run(AppletPanel.java:290)

at java.lang.Thread.run(Thread.java:536)

Thank U


zenykx

Posts: 69
Nickname: zenykx
Registered: May, 2003

Re: Pl. help java.security.AccessControlEx ception: access denied Posted: Jun 28, 2003 5:14 PM
Reply to this message Reply
I think is something related to java.policy and your attempt to access files from within applets.

Flat View: This topic has 1 reply on 1 page
Topic: how to learn java in 2 days Previous Topic   Next Topic Topic: How do you retrieve data from a grid (in a file) using java

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use