AccessControlException: access denied (java.net.SocketPermission <db> resolve)
333528Oct 7 2002 — edited Dec 28 2005Hi, I am trying to connect to a database on a remote server using JDBC in a JavaBean that is invoked through WebForms.
When I bundle my JavaBean in a signed JAR file, and I try to load the WebForm, it hangs and wont bring up the form.
When I bundle my JavaBean in an unsigned JAR file, the form loads properly, but when I call the JavaBean to connect to the database (via DriverManager.getConnection(...)) , I get a security excpetion:
java.security.AccessControlException: access denied (java.net.SocketPermission orca9db1 resolve)
If you know what the cause and/or solution of this problem is, your suggestions are much appreciated as I have absolutely no idea how to solve this. Thanks in advance.