Manage unlimited strength JCE policy download issues

The client system used by a WebTrader end user is configured with JRE 8. The client machine automatically downloads unlimited strength JCE policy files from the Interchange server to which it connects (if the files do not exist already exist on the client machine).

Note   This download requires, as a prerequisite, that the appropriate Unlimited Strength policy files exist in the following folder of the WebTrader-licensed Interchange server:

.../Interchange/webapps/wtapplet/jcepolicy

The download of these policy files succeeds but, in typical WebTrader client configurations, the policy files cannot be copied to the local destination directory ...\Java\jre\lib\security and an "Access denied" error can be viewed by running a debug on the applet code.

The reason for the failure is that the JRE (by default) is located in the C:\Program Files or C:\Program Files (x86) folder which is write-protected by Windows User Account Control.

Analyze the issue

In normal use, there is no specific indication to the end user that the policy file download has failed to copy to the directory. However the standard message that the applet has not loaded yet persists with the mention to contact the administrator.

To view the progress of the policy down load you can open a Java console.

  1. From the Windows Start Menu select Programs>Java>Configure Java to open the Java Control Panel.
  2. Select the Advanced tab.
  3. Select the option Java console > Show console.
  4. Click OK.

With the console activated, you can view details of the Unlimited Strength Policy download failure.

Correct the issue

There are two options for avoiding this policy download failure:

  • A client machine user with administrator privileges can disable the UAC write protection on the jre\lib\security folder.
  • The WebTrader end user can start the web browser in administrator mode. To do this:
    1. Locate the browser command in the Windows Start menu.
    2. Right-click the command.
    3. Select Run as Administrator.
    4. Open a WebTrader session.

Confirm the resolution

With a Java console, open you should now be able to confirm the success of the policy download. The end user can proceed with trading activities.

Related Links