Enable Java 2 security prior to J2EE application client run time initialization

To enable the Java 2 security prior to the 2EE application client run time initialization, set the...

com.ibm.websphere.client.applicationclient.archivedir
... system property by performing the following steps...

  1. Set the system property to the directory where the EAR file is expanded...

    -Dcom.ibm.websphere.client.applicationclient.archivedir=/usr/mrear1 
    

  2. Set the java.security.policy system property to use the $WAS_HOME/properties/client.policy file, for example

    -Djava.security.policy=$WAS_HOME/properties/client.policy