JAVA Security Error in Online and Long-Term Storage Configuration or Clustering Set Up (UNIX)

Problem

The JAVA applet does not load, the Administration window does not open, and ”Applet Loading &ldots;notinitiated” appears.

In the JAVA console, the following error message appears: java.security.AccessControlException: access denied (java.net.SocketPermission 198.180.70.201 connect,resolve)

Cause

A JAVA security error occurred. A JAVA security error can occur when you are using Long-Term Storage Manager from a Web Server client and then attempt to access the Online Storage Manager server, for example, to do system administration tasks. This JAVA security error occurs because Online Storage Manager and Long-Term Storage Manager have different IP addresses.

The JAVA security error can also occur if clustering is used. In the JAVA .policy file, use the ORACLE IP address instead of the Online Storage Manager IP address.

Solution

1.  Go to the directory, C:\program files\java\ j2re1.x.x\lib\security.

2.  Open the Java.policy file and add this line:

permission java.net.SocketPermission ”ip-address:1521-”, ”resolve,connect”;

where ip-address is the Online Storage Management IP address. A sample modified file excerpt is shown below where 198.180.70.201 is the Online Storage Manager IP address.

grant {

. . . . .

permission java.util.PropertyPermission ”java.vm.vendor”, ”read”;

permission java.util.PropertyPermission ”java.vm.name”, ”read”;

permission java.net.SocketPermission ”198.180.70.201:1521-”, ”resolve,connect”;