Java.security.AccessControlException: access denied (java.net.SocketPermission localhost.localdomain:8080 connect,resolve)

Oracle Community | 807549 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Java security access control

    Oracle Community | 1 decade ago | 807549
    Java.security.AccessControlException: access denied (java.net.SocketPermission localhost.localdomain:8080 connect,resolve)

    Root Cause Analysis

    1. Java.security.AccessControlException

      access denied (java.net.SocketPermission localhost.localdomain:8080 connect,resolve)

      at java.security.AccessControlContext.checkPermission()
    2. Java RT
      SecurityManager.checkConnect
      1. java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
      2. java.security.AccessController.checkPermission(AccessController.java:401)
      3. java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
      4. java.lang.SecurityManager.checkConnect(SecurityManager.java:1044)
      4 frames
    3. sun.plugin.net
      HttpURLConnection.getInputStream
      1. sun.plugin.net.protocol.http.HttpURLConnection.checkPermission(HttpURLConnection.java:203)
      2. sun.plugin.net.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:147)
      3. sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:375)
      3 frames
    4. portfolio
      acctSetup.<init>
      1. portfolio.acctSetup.<init>(acctSetup.java:153)
      1 frame
    5. Unknown
      myApp.init
      1. myApp.jbInit(myApp.java:76)
      2. myApp.init(myApp.java:40)
      2 frames
    6. Java RT
      Thread.run
      1. sun.applet.AppletPanel.run(AppletPanel.java:347)
      2. java.lang.Thread.run(Thread.java:536)
      2 frames