java.security.AccessControlException: access denied (java.net.SocketPermission w ww.cgi-bin.spaceports.com resolve)

Oracle Community | 807595 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Posting to a URL through an applet.

    Oracle Community | 1 decade ago | 807595
    java.security.AccessControlException: access denied (java.net.SocketPermission w ww.cgi-bin.spaceports.com resolve)
  2. 0

    java.security.AccessControlException: access denied exception on tomcat

    Stack Overflow | 5 years ago | user1047873
    java.security.AccessControlException: access denied (java.net.SocketPermission www.abc.com:80 connect,resolve)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Applet sending object to Servlet problem? HELP!

    Oracle Community | 1 decade ago | 843811
    java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:8084 connect,resolve) )
  5. 0

    In applet init function, passing 'this' to JS function causes MalformedURLException

    http://bugs.webkit.org/ | 9 years ago | shadow2531
    java.security.AccessControlException: access denied (java.net.SocketPermission 192.168.0.17:80 connect,resolve)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.security.AccessControlException

      access denied (java.net.SocketPermission w ww.cgi-bin.spaceports.com resolve)

      at java.security.AccessControlContext.checkPermission()
    2. Java RT
      HttpURLConnection.getOutputStream
      1. java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
      2. java.security.AccessController.checkPermission(AccessController.java:401)
      3. java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
      4. java.lang.SecurityManager.checkConnect(SecurityManager.java:1023)
      5. java.net.InetAddress.getAllByName0(InetAddress.java:1000)
      6. java.net.InetAddress.getAllByName0(InetAddress.java:981)
      7. java.net.InetAddress.getAllByName(InetAddress.java:975)
      8. java.net.InetAddress.getByName(InetAddress.java:889)
      9. sun.net.www.http.HttpClient.<init>(HttpClient.java:296)
      10. sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
      11. sun.net.www.http.HttpClient.New(HttpClient.java:339)
      12. sun.net.www.http.HttpClient.New(HttpClient.java:320)
      13. sun.net.www.http.HttpClient.New(HttpClient.java:315)
      14. sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:510)
      15. sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:487)
      16. sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:558)
      16 frames
    3. Unknown
      PosterApplet.actionPerformed
      1. PosterApplet.doPost(PosterApplet.java:48)
      2. PosterApplet.actionPerformed(PosterApplet.java:107)
      2 frames
    4. Java RT
      EventDispatchThread.run
      1. java.awt.Button.processActionEvent(Button.java:382)
      2. java.awt.Button.processEvent(Button.java:350)
      3. java.awt.Component.dispatchEventImpl(Component.java:3615)
      4. java.awt.Component.dispatchEvent(Component.java:3477)
      5. java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
      6. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
      7. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
      8. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
      9. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
      10. java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
      10 frames