Editing the Web GUI configmap

Learn how to edit the <release-name>-webgui-startup-scripts configmap to avoid memory errors for the Web GUI pod.

Procedure

  1. Edit the <release-name>-webgui-startup-scripts configmap.
    oc edit cm <release-name>-webgui-startup-scripts
  2. Add the following lines to the pre-server-start section.
    echo "Update WAS SDK 8.0.7.0 java.security"
    sed -i 's/security.provider.2=com.ibm.crypto.plus.provider.IBMJCEPlus/security.provider.2=com.ibm.crypto.provider.IBMJCE/g' $ROOT_INSTALL_DIR/was/java/jre/lib/security/java.security
    sed -i 's/security.provider.3=com.ibm.crypto.provider.IBMJCE/security.provider.3=com.ibm.crypto.plus.provider.IBMJCEPlus/g' $ROOT_INSTALL_DIR/was/java/jre/lib/security/java.security
  3. Save the <release-name>-webgui-startup-scripts configmap.
  4. Restart the Web GUI pod.
    oc delete pod <release-name>-webgui-0