Upgrading Apache Tomcat to the latest version available with OM Web Viewer 12.1
searchcancel
Upgrading Apache Tomcat to the latest version available with OM Web Viewer 12.1
book
Article ID: 198433
calendar_today
Updated On: 09-23-2024
Products
Output Management Web Viewer
Issue/Introduction
Apache Tomcat was installed on the server as part of the full install of the product. We are currently running Tomcat version 8.5.32. After downloading the latest version of Tomcat from the website, are there any issues when upgrading from an earlier Tomcat?
Environment
Output Management Web Viewer 12.1
Apache Tomcat®
Resolution
Check the following before updating Tomcat.
A JDK is required to install the Tomcat 9 service (not the case with Tomcat 8 or 7).
Verify that Java is set correctly in the System Environment variables and System path (Windows)
Checking the following immediately after updating your Web Viewer distributed Tomcat to version 9.0.91, will help you to avoid the handful of issues reported.
Check the server.xml file to insure that the secured connector protocol is the http11.nio2 protocol. (If running secured)
Service.bat requires classloader in JVM options. set "CLASSPATH=%CATALINA_HOME%\bin\bootstrap.jar"
This section applies only if running Web Viewer on Windows,
The service must run as a Local System Account. Because the JDK is required with Tomcat 9 Use Tomcat9w and select the browse ... to point to the jvm.dll Click on the Java tab to increase the heap size Reminder here: run startup.bat as admin.
3. Make sure the Tomcat Services Properties under the Log On tab was changed from "This account" to "Local System account" after WAR files are re-deployed.
4. Follow the instructions below to remove the Tomcat8 Service (for example) and Install the Tomcat9 Service with Web Viewer 12.1
Make sure JRE_HOME or JDK_HOME is set correctly Go to Services App Right Click on Apache Tomcat 8 and the properties box will come up
Copy the Service name for use in the command below (It may be different for you)
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.91\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