The Solution: 1- Remove all duplicate Records in JAVA$POLICY table. 2- Grant the permission for the user on the default Oracle port (1521)
exec dbms_java.grant_permission('user', 'SYS:java.net.SocketPermission', 'xx.xx.xx.xx:1521', 'connect, resolve');/commit;/