While using graphical modeler for segmentation, we are getting a java related error.
When the user clicks on "Settings" button, the applet that opens is not editable.
And when the user closes the applet, he is not able to use graphical modeler anymore.
He can access other things in the application like Account Management, but not graphical modeler. He has to log out from CRM and then log in again to use that.
The Java exception that occurs on opening the applet has the following line:
java.security.AccessControlException: access denied (java.net.SocketPermission xxxx.xxx.xxx.xxx:xxx connect, resolve)
Java version being used is 1.6.0_24
Can anyone please share if they have any idea about the cause for this and how this can be resolved?
Thanks in advance.
If its a case wherein issue occurs due to JRE versions difference then please make sure that the user's machine should have code in Java.policy file. You can refer to more details in Note 697572.
Java.policy file can be found in below two paths:
C:\Program Files (x86)\Java\jre6\lib\security (if Windows 7 OS then update in both paths)
Add these two lines of code before end of flower brackets (parentheses) in Java.policy file:
permission java.io.FilePermission "<<ALL FILES>>", "read, write";
permission java.awt.AWTPermission "accessClipboard", "read,write";
Hope this helps you.
Thanks for your suggestion. The SAP note was helpful.
The issue was resolved by adding the following line to the java.policy file:
permission java.net.SocketPermission "XXX.XX.XX.XX:XXXX", "connect, resolve";
The user was then able to edit the Settings.