Removing the old Apache Tomcat® Service & installing the new Service Web Viewer 12.1
book
Article ID: 193761
calendar_today
Updated On:
Products
Output Management Web Viewer
Issue/Introduction
Please provide information about removing the previous Apache Tomcat® service then installing the new Apache Tomcat® service.
Environment
- Output Management Web Viewer 12.1
- Apache Tomcat®
Resolution
Note this example uses Tomcat8 and Tomcat9 - substitute your versions if needed.
- Make sure JRE_HOME or JDK_HOME is set correctly
- Go to Services App
- Right Click on the previous Apache Tomcat® and the properties box will come up (for example Tomcat 8.5)
- Copy the Service name for use in the command below (It may be different for you if so use your Apache Tomcat® name and version)
- Run the Command Prompt as administrator
- Go to the C:\Program Files\CA\CA_OM_Web_Viewer\apache-tomcat-8.5.4\bin directory
- Type
service.bat remove Tomcat8forCAOMWebViewer12
- Type Enter
- Go to the C:\Program Files\CA\CA_OM_Web_Viewer\apache-tomcat-9.0.54\bin directory
- Type
service.bat install (NOTE: you do not need the service name)
- Type Enter
- Leave the command prompt box
- Go to Control Panel->All Control Panel Items->Administrative Tools->Services
- Right Click on Apache Tomcat® and the properties box will come up
- Click on the down arrow next to Startup Type and select automatic
- Click on Start under Service Startup
- Click Apply, OK
Additional Information
Additional Troubleshooting information for newer JDK - The JAVA_HOME environment variable is not defined correctly.
service.bat file must also have the correct path for JAVA_HOME and JRE_HOME in order to find jvm.dll
Cause: JDK was installed and the service.bat was expecting JRE installation.
This was resolved by copying over the new service.bat from the recent installation.
Feedback
thumb_up
Yes
thumb_down
No