Learn how to edit the
<release-name>-webgui-startup-scripts
configmap to avoid
memory errors for the Web GUI
pod.
Procedure
-
Edit the
<release-name>-webgui-startup-scripts
configmap.
oc edit cm <release-name>-webgui-startup-scripts
- 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
- Save the
<release-name>-webgui-startup-scripts
configmap.
- Restart the Web GUI pod.
oc delete pod <release-name>-webgui-0