There are configuration parameter changes needed to ensure the Spectrum Tomcat process runs properly. If those configuration parameters are not present, the Tomcat process can crash.
Release: All Supported Releases
Component: SPCOCK - Spectrum OneClick
There are two main reasons that the Spectrum Tomcat process will crash and no longer run.
The first reason is due to memory allocation being set higher than 1280 MB for Tomcat on Windows (verify in the OneClickService.conf file in the <SPECROOT>/tomcat/conf directory that memory is at 1280MB or less). The entry for the memory configuration is:
The second reason is that the following configuration parameters are not in the OneClickService.conf file (on Windows) or the Catalina.sh file (on Unix). If these parameters are not there, please add them and cycle the Tomcat process:
jvm_opt=-XX:PermSize=128M jvm_opt=-XX:MaxPermSize=128M jvm_opt=-Djava.compiler=NONE
-Djava.compiler=NONE -XX:PermSize=128M -XX:MaxPermSize=128M
Note: Customers that previously configured their web server memory will have a custom file:
However, the custom file is built from this seed file:
../spectrum/WEB-INF/common/config/tomcat-server-config.xml. Customers that configured their memory prior to the settings below being released in 9.2.1 will not have these settings:
<param>-XX:PermSize=128M</param> <param>-XX:MaxPermSize=128M</param> <param>-Djava.compiler=NONE</param> NOTE: without this setting OneClickService.exe will crash with file hs_err_pid*.log
Customers should manually add these settings to their custom file, then use the web server memory configuration page to save and reconfigure . This will generated a new OneClickService.conf based on the updated custom tomcat-server-config.xml.
If you are experiencing Tomcat crashes and they are not due to the above issues, please open a ticket with Spectrum Support.