ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.
OneClick tomcat error Initial heap size set to a larger value than the maximum heap size - after upgrading to NetOps 21.2
Article ID: 225544
CA SpectrumDX NetOps
After upgrading Spectrum OneClick to NetOps 21.2 tomcat fails to start.
The following errors are seen in the catalina.out log
$SPECROOT/tomcat/logs/ tail catalina.out
Error occurred during initialization of VM Initial heap size set to a larger value than the maximum heap size
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
Release : 21.2
Component : Spectrum OneClick
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