After a Java upgrade, Tomcat service does not start and the System event log shows service-specific error code 1.
NOTE: Tomcat is running as a service.
1. Change catalina.bat in directory
C:\Program Files\CA\CA_OM_Web_Viewer\apache-tomcat-8.5.32\bin
from the former java version (for example- customize for your environment)
Change this line: set "JRE_HOME=C:\Program Files\Java\jre1.8.0_191"
to specify the updated java version set "JRE_HOME=C:\Program Files\Java\jre1.8.0_211"
NOTE: If you are using the JDK instead of the JRE, modify the set command to point to the new JDK.
2. From folder C:\Program Files\CA\CA_OM_Web_Viewer\apache-tomcat-8.5.32\bin
(for example)
service.bat uninstall
service.bat install
3. Start the Apache Tomcat Windows service (see Additional Information below for Details if needed)
Please see Error #2 trying to start Apache Tomcat as a service with CA Output Management Web Viewer for Windows for exact instructions on how to uninstall and reinstall Tomcat as a service.