Permissions for Establishing Connections
To establish a connection to the database server, the drivers must be granted the permissions as shown in the following example:
grant codeBase "file:/install_dir/lib/-" {
permission java.net.SocketPermission "*", "connect";
};
where install_dir is the product installation directory.
If Microsoft SQL Server named instances are used, permission must be granted for the listen and accept actions as shown in the following example:
grant codeBase "file:/
install_dir
/lib/-" {
permission java.net.SocketPermission "*", "listen, connect, accept";
};
where install_dir is the product installation directory.