When trying to start tomcat from the Services, we see the following error:
When trying to start from a bash shell, we see the following error:
Checking the Windows Event Viewer, we see the following:
Version: Any running on Windows
Component: OneClick
Checking the $SPECROOT/tomcat/bin/OneClickService.conf file, we see both the Xms and Xmx parameters were set to 8M.
jvm_opt=-server
jvm_opt=-Xmx8M
jvm_opt=-Xms8M
jvm_opt=-XX:+UseG1GC
We compared that to the another OneClick system that did not have this error and it has them both parameters set to 4096M.
Xms and Xmx parameter values in the $SPECROOT/tomcat/bin/OneClickService.conf file were set to low.
Setting both the Xmx and Xms parameters to 4096M in this instance and then restarting tomcat resolved the issue.
NOTE: Depending on the size of your Spectrum environment, you may need increase these values as needed.