java.security.AccessControlException: access denied (java.net.SocketPermission 192.100.192.122:1521 connect,resolve)

Oracle Community | 807549 | 1 decade ago
  1. 0

    Cannot connect to Database using JavaWebServer

    Oracle Community | 1 decade ago | 807549
    java.security.AccessControlException: access denied (java.net.SocketPermission 192.100.192.122:1521 connect,resolve)
  2. 0

    JDBC and applet

    Google Groups | 2 decades ago | Jayasimha
    java.security.AccessControlException: access denied (java.net.SocketPermission aaa_fas_nts2 resolve)
  3. 0

    Problem accessing backend database

    Oracle Community | 2 decades ago | 843802
    java.security.AccessControlException: access denied (java.net.SocketPermission platinum resolve) at java.security.AccessControlContext.checkPermission(AccessControlContext.java, Compiled Code)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    database connectivity

    Oracle Community | 1 decade ago | 843802
    java.security.AccessControlException: access denied (java.net.SocketPermission 130.1.1.1:1521 connect,resolve)
  6. 0

    JDBC for Oracle in an Applet

    Oracle Community | 1 decade ago | 807555
    java.security.AccessControlException: access denied (java.net.SocketPermission <IP-direction>:<port number> 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 192.100.192.122:1521 connect,resolve)

      at java.security.AccessControlContext.checkPermission()
    2. Java RT
      Socket.<init>
      1. java.security.AccessControlContext.checkPermission(AccessControlContext.java:267)
      2. java.security.AccessController.checkPermission(AccessController.java:394)
      3. java.lang.SecurityManager.checkPermission(SecurityManager.java:540)
      4. java.lang.SecurityManager.checkConnect(SecurityManager.java:1039)
      5. java.net.Socket.<init>(Socket.java:257)
      6. java.net.Socket.<init>(Socket.java:95)
      6 frames
    3. Oracle jdbc
      NSProtocol.connect
      1. oracle.net.nt.TcpNTAdapter.connect(Unknown Source)
      2. oracle.net.nt.ConnOption.connect(Unknown Source)
      3. oracle.net.nt.ConnStrategy.execute(Unknown Source)
      4. oracle.net.resolver.AddrResolution.resolveAndExecute(Unknown Source)
      5. oracle.net.ns.NSProtocol.establishConnection(Unknown Source)
      6. oracle.net.ns.NSProtocol.connect(Unknown Source)
      6 frames
    4. oracle.jdbc.ttc7
      TTC7Protocol.logon
      1. oracle.jdbc.ttc7.TTC7Protocol.connect(TTC7Protocol.java:1213)
      2. oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:209)
      2 frames
    5. Oracle jdbc
      OracleDriver.connect
      1. oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:249)
      2. oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
      3. oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
      3 frames
    6. Java RT
      DriverManager.getConnection
      1. java.sql.DriverManager.getConnection(DriverManager.java:512)
      2. java.sql.DriverManager.getConnection(DriverManager.java:172)
      2 frames
    7. Unknown
      TxValidateUser.service
      1. TxValidateUser.service(TxValidateUser.java:201)
      1 frame
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
      1 frame
    9. com.sun.server
      InvokerServlet.service
      1. com.sun.server.ServletState.callService(ServletState.java:226)
      2. com.sun.server.ServletManager.callServletService(ServletManager.java:936)
      3. com.sun.server.http.servlet.InvokerServlet.service(InvokerServlet.java:137)
      3 frames
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
      1 frame
    11. com.sun.server
      HandlerThread.run
      1. com.sun.server.ServletState.callService(ServletState.java:226)
      2. com.sun.server.ServletManager.callServletService(ServletManager.java:936)
      3. com.sun.server.ProcessingState.invokeTargetServlet(ProcessingState.java:423)
      4. com.sun.server.http.HttpProcessingState.execute(HttpProcessingState.java:79)
      5. com.sun.server.http.stages.Runner.process(Runner.java:79)
      6. com.sun.server.ProcessingSupport.process(ProcessingSupport.java:294)
      7. com.sun.server.Service.process(Service.java:204)
      8. com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java:374)
      9. com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java:166)
      10. com.sun.server.HandlerThread.run(HandlerThread.java:162)
      10 frames