Configure the applet client support

Perform these steps to configure the applet client runtime support:

  1. If a supported browser is not installed on your workstation, install one. The browser must be installed before you install the applet client. Applet clients are currently available on the Windows NT or Windows 2000 platforms, and are only supported for these browsers:

    • Microsoft Internet Explorer 5.0 or later
    • Netscape Navigator 4.7 or later

  2. Install the client run time on your workstation. Select the applet client option. This installs the applet client run time and the WAS plug-in for the browser.

  3. (Optional) Enable the applet client to access secured resources.

  4. Start the WAS Java plug-in control panel. On your workstation, select Start --> Control panel --> WebSphere Java Plug-in Control.

  5. Add runtime parameters in the Java Run Time Parameters field of the WebSphere Java Plug-in Control.

    Entries in the Java Run Time Parameters field are similar to command line options when you run the java command. Therefore, you can enter most options that are available from the command prompt (for example, -cp, -classpath, and others) in this field as well.

    Enter these parameters in the Java Run Time Parameters field:

    -Djava.security.policy=client_root\properties\client.policy
    -Dwas.install.root=client_root
    -Djava.ext.dirs=client_root\classes;client_root\java\jre\lib\ext;
       client_root\java\jre\lib;client_root\lib;client_root\properties
    -classpath client_root\properties

    where client_root is the root directory of the WebSphere application client runtime installation.

    Additionally, if you are not accessing secured resources from your application client (that is, you are not using the sas.client.props file), add these entries:

    -Dcom.ibm.CORBA.securityEnabled=false
    -Dcom.ibm.CORBA.ConfigURL=file:client_root\properties\sas.client.props

    If you are accessing secured resources from your application client, and you have copied the sas.client.props file for use by your application client, add these lines:

    -Dcom.ibm.CORBA.securityEnabled=true
    -Dcom.ibm.CORBA.ConfigURL=file:location_of_file\sas.client.props

    where location_of_file is the fully qualified name of directory in which you copied and edited the sas.client.props file.

  6. If necessary, edit the client.policy file to udpate permissions.

    The java.policy file is located in the client_root\properties directory on the workstation machine (where client_Root is the directory where you installed the application client runtime support).

    Verify these properties in the java.policy file. Change the properties if necessary:

    // WebSphere Applet Plugin Config
    permission java.util.PropertyPermission "server.root", "read";
    permission java.util.PropertyPermission "*", "read,write";
    permission java.io.FilePermission "traceSettingsFile", "read,write";
    permission java.util.PropertyPermission "traceSettingsFile", "read,write";
    permission java.lang.RuntimePermission "modifyThread";
    permission java.net.SocketPermission "localhost:1024-", "listen";
    permission java.net.SocketPermission "MYISERIES.MYDOMAIN.COM","connect";

    where MYISERIES.MYDOMAIN.COM is the fully qualified name of the iSeries server where WAS is running.