To establish a connection to the database server, the driver must be granted the permissions as shown in the following example:

grant codeBase "file:/install_dir/lib/60/-" {
   permission java.net.SocketPermission "*", "connect";
};

where:

install_dir
is the product installation directory.