Release : 21.2
Component : Spectrum OneClick
In some cases the java initial heap memory -Xms and the maximum heap memory -Xmx values have been switched in
the $SPECROOT/tomcat/bin/catalina.sh script. Tomcat fails to start due to the initial memory setting now being larger
than the maximum memory
example
If the $PECROOT/custom/common/config/tomcat-server-config.xml exists, then the upgrade will pick up the maximum heap memory from that file and update in the $SPECROOT/tomcat/bin/catalina.sh script.
Whenever you change the Tomcat memory setting via the OneClick Administration page, the change will be saved on both files (tomcat-server-config.xml and catalina.sh).
Edit: catalina.sh
cd $SPECROOT/tomcat/bin/
vi catalina.sh
Correct the -Xmx and -Xms values so that the -Xmx (max heap) value is larger or equal to the -Xms (initial heap value) then restart OneClick tomcat
example
./startTomcat.sh
Also, update the $PECROOT/custom/common/config/tomcat-server-config.xml file, so this problem would not happen on future upgrades.