java.security.AccessControlException: Access denied ("java.net.SocketPermission" "localhost:1527" "listen,resolve")

Apache's JIRA Issue Tracker | Myrna van Lunteren | 2 years 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

    Bug 239962 – Cannot connect to Derby DB after NB74 + JDK7u51 bundle

    netbeans.org | 2 years ago
    java.security.AccessControlException: access denied ("java.net.SocketPermission" "localhost:1527" "listen,resolve")
  2. 0

    [DERBY-6438] Explicitly grant SocketPermission "listen" in default server policy - ASF JIRA

    apache.org | 1 year ago
    java.security.AccessControlException: access denied ("java.net.SocketPermission" "localhost:1000" "listen,resolve")
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    JavaDB Shows Errors and doesn't start

    Stack Overflow | 3 years ago | user3152750
    java.security.AccessControlException: access denied ("java.net.SocketPermission" "localhost:1527" "listen,resolve")
  5. 0

    [DERBY-6438] Explicitly grant SocketPermission "listen" in default server policy - ASF JIRA

    apache.org | 1 year ago
    java.security.AccessControlException: access denied ("java.net.SocketPermission" "localhost:1000" "listen,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" "localhost:1527" "listen,resolve")

      at java.security.AccessController.throwACE()
    2. Java RT
      DefaultServerSocketFactory.createServerSocket
      1. java.security.AccessController.throwACE(AccessController.java:100)
      2. java.security.AccessController.checkPermission(AccessController.java:174)
      3. java.lang.SecurityManager.checkPermission(SecurityManager.java:562)
      4. java.lang.SecurityManager.checkListen(SecurityManager.java:1147)
      5. java.net.ServerSocket.bind(ServerSocket.java:442)
      6. java.net.ServerSocket.<init>(ServerSocket.java:256)
      7. javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:6)
      7 frames
    3. Apache Derby Network Server
      NetworkServerControlImpl$1.run
      1. org.apache.derby.impl.drda.NetworkServerControlImpl.createServerSocket(NetworkServerControlImpl.java:674)
      2. org.apache.derby.impl.drda.NetworkServerControlImpl.access$000(NetworkServerControlImpl.java:95)
      3. org.apache.derby.impl.drda.NetworkServerControlImpl$1.run(NetworkServerControlImpl.java:724)
      3 frames
    4. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(AccessController.java:330)
      1 frame
    5. Apache Derby Network Server
      NetworkServerControl.main
      1. org.apache.derby.impl.drda.NetworkServerControlImpl.blockingStart(NetworkServerControlImpl.java:719)
      2. org.apache.derby.impl.drda.NetworkServerControlImpl.executeWork(NetworkServerControlImpl.java:2250)
      3. org.apache.derby.drda.NetworkServerControl.main(NetworkServerControl.java:331)
      3 frames